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!

Prove Your Splunk Prowess at .conf25—No Prereqs Required!

Your Next Big Security Credential: No Prerequisites Needed We know you’ve got the skills, and now, earning the ...

Splunk Observability Cloud's AI Assistant in Action Series: Observability as Code

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

Splunk Answers Content Calendar, July Edition I

Hello Community! Welcome to another month of Community Content Calendar series! For the month of July, we will ...