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!

Developer Spotlight with Paul Stout

Welcome to our very first developer spotlight release series where we'll feature some awesome Splunk ...

State of Splunk Careers 2024: Maximizing Career Outcomes and the Continued Value of ...

For the past four years, Splunk has partnered with Enterprise Strategy Group to conduct a survey that gauges ...

Data-Driven Success: Splunk & Financial Services

Splunk streamlines the process of extracting insights from large volumes of data. In this fast-paced world, ...