Alerting

Index creation and deletion alerting in Splunk Search head

anandhalagaras1
Contributor

Hi Team,

Our Splunk is hosted in Cloud. And my requirement is that if an index is getting created then i need to get an alert and similarly if an index is getting deleted from the Search head i need to get an alert. So kindly help with the query.

 

Labels (2)
0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @anandhalagaras1,

this is the condition to identify index creation events:

index=_internal  NOT StreamedSearch IndexWriter Initializing

For index deletion, you could use:

index=_internal  NOT StreamedSearch event=removeIndex action=deleteIndexRequest

then in both cases, you can define the fields that you want to display.

Ciao.

Giuseppe

Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...

Design, Compete, Win: Submit Your Best Splunk Dashboards for a .conf26 Pass

Hello Splunkers,  We’re excited to kick off a Splunk Dashboard contest! We know that dashboards are a primary ...

May 2026 Splunk Expert Sessions: Security & Observability

Level Up Your Operations: May 2026 Splunk Expert Sessions Whether you are refining your security posture or ...