Splunk Search

SQL Help - pull URL with specific querystrings

alagiriv
New Member

Consider we have the following URLs

http://abc.com/?a=1&b=2&c=3
http://abc.com/?d=1&e=2&a=3
http://abc.com/?f=1&g=2&h=3
http://abc.com/?C=1&b=2&a=3

I need to pull all URLs with the querystring that have a= OR b=

output should be like this:

http://abc.com/?a=1&b=2&c=3
http://abc.com/?d=1&e=2&a=3
http://abc.com/?C=1&b=2&a=3

I'm new to Splunk, your input would be of great help.

Thanks,

Tags (1)
0 Karma
Get Updates on the Splunk Community!

Everything Community at .conf24!

You may have seen mention of the .conf Community Zone 'round these parts and found yourself wondering what ...

Index This | I’m short for "configuration file.” What am I?

May 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with a Special ...

New Articles from Academic Learning Partners, Help Expand Lantern’s Use Case Library, ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...