Alerting

How to find out if splunk is indexing data?

irakeshraut
New Member

Hey guys,

I am new to splunk, started using it since yesterday. How can i find out if splunkd is indexing or not? Is it possible to find this information on terminal / web ?

I checked that my splunk is running by typing sudo service splunk status. But now I need to find out if its indexing or not.

Final Target: I want to send alert to scoutapp if splunkd is not indexing.

Thanks in advance.

0 Karma

kserra_splunk
Splunk Employee
Splunk Employee

To quickly check if splunk is indexing you can run the following search command from the search app in splunk web

index=*

This will show all data recently indexed by splunk. This includes internal splunk data as well so make sure that the data you want to monitor is present.

To setup alerts you will need to determine what data you want to alert on, then you can create a custom search/alert to alert if data stops coming in, below are a few previous splunk answers post which detail how to do this

http://answers.splunk.com/answers/9860/email-alert-when-a-data-source-dont-sends-events-to-splunk.ht...

http://answers.splunk.com/answers/3181/how-do-i-alert-when-a-host-stops-sending-data.html

https://answers.splunk.com/answers/37439/license-usage-monitoring-issue.html

irakeshraut
New Member

Can I search index=* using api ? I need to search for indexes tat happened in last 5 minutes only. How to do this using API?

0 Karma
Get Updates on the Splunk Community!

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...

Splunk APM: New Product Features + Community Office Hours Recap!

Howdy Splunk Community! Over the past few months, we’ve had a lot going on in the world of Splunk Application ...

Index This | Forward, I’m heavy; backward, I’m not. What am I?

April 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...