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

Happy Splunking!

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

Happy Splunking!
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!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...