Splunk Search

How to create a report of distinct Error Descriptions and count of each for each hour of a day?

runiyal
Path Finder

We are getting a number of different errors in the log file.

Requirement is to get a report of distinct Error Description and count of it for each hour of a day...so something like this

Error Desc 1 2
NO Policies for 100 50
Folder not found 50 25
File not found 150 30
Details can be found in the server logs 200 50
Duplicate child name not allowed 180 40

Tags (3)
0 Karma

somesoni2
Revered Legend

With little information provided, try something like this (runs for today time range)

your base search earliest=@d | eval Hour=strftime(_time,"%H:00") | chart count over Error_Description by Hour
0 Karma
Get Updates on the Splunk Community!

Enterprise Security Content Update (ESCU) | New Releases

In December, the Splunk Threat Research Team had 1 release of new security content via the Enterprise Security ...

Why am I not seeing the finding in Splunk Enterprise Security Analyst Queue?

(This is the first of a series of 2 blogs). Splunk Enterprise Security is a fantastic tool that offers robust ...

Index This | What are the 12 Days of Splunk-mas?

December 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...