Dashboards & Visualizations

how to find if indexer replication error occurs more than "n" times in "x" mins interval?

apurva1707
New Member

I need a search query to find out if the replication error occurs for more than 3 times in an interval of 5 mins? I have to create a dashboard for it.

0 Karma

esix_splunk
Splunk Employee
Splunk Employee

You need to define what replication error specifically means in your use case. One you do that, its quite simple, set your span for 5minutes..

yoursearch | bucket span=1m _time | stats count by host | where count > 3

This groups the events into 1 minute slices, and looks for more then 3 errors within that 5 minute window.

You can look here for specifics about different replication errors : http://docs.splunk.com/Documentation/Splunk/6.2.3/Indexer/Bucketreplicationissues

0 Karma

apurva1707
New Member

Thanks for the reply. I intend to make a dashboard on indexer replication error. Can you please refine yoursearch for this?

0 Karma
Register for .conf21 Now! Go Vegas or Go Virtual!

How will you .conf21? You decide! Go in-person in Las Vegas, 10/18-10/21, or go online with .conf21 Virtual, 10/19-10/20.