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!

Announcing Scheduled Export GA for Dashboard Studio

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

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...