Getting Data In

Find Counts for Multiple pages in IIS Logs

noriel_cunanan
New Member

I need to find how many times several pages have been hit in a given period. I am checking about 6 months worth of IIS logs.

I am talking about >100 different pages. What is the easier way to do this?

Tags (1)
0 Karma

kristian_kolb
Ultra Champion

Well, there's no way around that you're going to have to search through all those logs.
Given the sourcetype is called iis and the 'pages' you wish to count are called uri;

sourcetype=iis  | stats count by uri

Set your timerange appropriately and fire away. Just ensure that you get the right field to do the count by, i.e. whether you want the

/blah/blah.asp

or the

/blah/blah.asp?meh=doh&apples=oranges

/K

0 Karma
Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Dynamic formatting from XML events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

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