Splunk Search

Incorrect events total count

andrejus7
New Member

Hello,

Sorry, I am new to Splunk and having problems.

I have loaded IIS logs (total 21 files) to splunk and wanted to calculate how mane HTTP requests are in those logs. In summary page I can see that 82,000 "events" were found in all logs, and the same number is displayed on the search page. But I have checked all the logs files and counted my self that all files sum up 147,000 lines, one line represents 1 http request. How do I calculate it correctly in splunk?

Would be grateful for your help.

Tags (3)
0 Karma

Simeon
Splunk Employee
Splunk Employee

It sounds like Splunk did not separate each line into a single event, or we did not index everything. To see if Splunk created multi-line events, run the following search:

* | where linecount > 1

To find the number of HTTP requests, it would be better to create a field for the type of http request and count the number of "GET" requests.

0 Karma
Get Updates on the Splunk Community!

Observability Unlocked: Kubernetes Monitoring with Splunk Observability Cloud

  Ready to master Kubernetes and cloud monitoring like the pros?Join Splunk’s Growth Engineering team for an ...

Wrapping Up Cybersecurity Awareness Month

October might be wrapping up, but for Splunk Education, cybersecurity awareness never goes out of season. ...

🌟 From Audit Chaos to Clarity: Welcoming Audit Trail v2

🗣 You Spoke, We Listened  Audit Trail v2 wasn’t written in isolation—it was shaped by your voices.  In ...