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!

Dashboards: Hiding charts while search is being executed and other uses for tokens

There are a couple of features of SimpleXML / Classic dashboards that can be used to enhance the user ...

Splunk Observability Cloud's AI Assistant in Action Series: Explaining Metrics and ...

This is the fourth post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how ...

Brains, Bytes, and Boston: Learn from the Best at .conf25

When you think of Boston, you might picture colonial charm, world-class universities, or even the crack of a ...