Splunk Search

Organizing-Filtering URL results

wrays
New Member

host=server sourcetype=iis #Software NOT #Fields NOT /favicon.ico
(method=GET OR method=POST) NOT eventtype="web-imagefile"
| fillnull
| stats count first(_time) last(_time) by user,src_ip,uri_stem

I am trying to approach organizing/filtering the uri_stem results to return just the information that seems useful. I see functions for eval and command but am not sure of the best way to approach.

Thanks!

Tags (1)
0 Karma

yannK
Splunk Employee
Splunk Employee

Hint : You may need to use rex field extractions functions or eval functions (like case) to filter your uri_stem and normalize them.
see http://docs.splunk.com/Documentation/Splunk/6.0/SearchReference/Rex

If you want help, please provide a sample and a clear idea of the expected result.

0 Karma

yannK
Splunk Employee
Splunk Employee

to see them
uri_stem=*/fraud*"

to exclude them
NOT uri_stem=*/fraud*"

0 Karma

wrays
New Member

/fraudintro.html
/fraudmenu.htm
/fraudpost.asp
/fraudview.asp

Out of the results I am getting in the uri_stem column, I would like to learn the ability to either see just these result or completely exclude them.

0 Karma
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...