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!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...