Splunk Search

How to create a dashboard which shows Error messages in X axis with the time span & Error Count in Y axis ?

Dinesh_Raja
Path Finder

Hello All,

I have to create a real time dashboard which give insight on the different type of errors and how many such errors happen and during which part of the day. My sample log is like below (and there are lot of duplicate logs) :

"[syncservice] [ERROR] [20 Mar 2018 04:09:56,654] : [7dfhsdgw-4dgsj-ashgah-svahs5226] : [com.xxx.xxxx.xxxx.xxxx]: Failed to invoke service xxx.xxxxxx.xxxx.ConnectorException: IOException occurred for ServiceLogMessage while obtaining response: Connection to http://localhost:8080 refused"

Looking forward for your support.

0 Karma
1 Solution

renjith_nair
Legend

@Dinesh_Raja,

If you have a field for the error string (type of error) or any other field to distinguish the errors, then

index=your_index "other search strings"|timechart count by type_of_error

Reference : http://docs.splunk.com/Documentation/Splunk/7.0.2/SearchReference/Timechart

---
What goes around comes around. If it helps, hit it with Karma 🙂

View solution in original post

0 Karma

renjith_nair
Legend

@Dinesh_Raja,

If you have a field for the error string (type of error) or any other field to distinguish the errors, then

index=your_index "other search strings"|timechart count by type_of_error

Reference : http://docs.splunk.com/Documentation/Splunk/7.0.2/SearchReference/Timechart

---
What goes around comes around. If it helps, hit it with Karma 🙂
0 Karma

Dinesh_Raja
Path Finder

Hello @renjith.nair,
Thanks for the update.
I would request you to let me know the process to extract the field for error if it was not extracted by Splunk (I tried with field extractor but unable to extract complete sentence).

Thanks in advance.

0 Karma
Get Updates on the Splunk Community!

What You Read The Most: Splunk Lantern’s Most Popular Articles!

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Announcing the General Availability of Splunk Enterprise Security 8.1!

We are pleased to announce the general availability of Splunk Enterprise Security 8.1. Splunk becomes the only ...

Developer Spotlight with William Searle

The Splunk Guy: A Developer’s Path from Web to Cloud William is a Splunk Professional Services Consultant with ...