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

Get Updates on the Splunk Community!

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

Splunk Decoded: Business Transactions vs Business IQ

It’s the morning of Black Friday, and your e-commerce site is handling 10x normal traffic. Orders are flowing, ...

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...