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!

Fueling your curiosity with new Splunk ILT and eLearning courses

At Splunk Education, we’re driven by curiosity—both ours and yours! That’s why we’re committed to delivering ...

Splunk AI Assistant for SPL 1.1.0 | Now Personalized to Your Environment for Greater ...

Splunk AI Assistant for SPL has transformed how users interact with Splunk, making it easier than ever to ...

Unleash Unified Security and Observability with Splunk Cloud Platform

     Now Available on Microsoft AzureOn Demand Now Step boldly into the AI revolution with enhanced security ...