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!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...