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!

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 ...

Your Guide to SPL2 at .conf24!

So, you’re headed to .conf24? You’re in for a good time. Las Vegas weather is just *chef’s kiss* beautiful in ...