Getting Data In
Highlighted

Is there a way to prevent deletion of indexes?

Champion

Hi,

We had a "mishap", and a number of indexes ended up getting deleted, due to a bad indexes.conf configuration. I'm wondering is there a way to tell splunk not to delete indexes?

0 Karma
Highlighted

Re: Is there a way to prevent deletion of indexes?

Ultra Champion

IIRC, indexes aren't deleted by means of the indexes.conf changing. Instead, the indexes only stop being known by the indexer but the data itself is still on the filesystem. Have you verified that the folder structure is in fact deleted from the filesystem as well?

Deleting typically requires some account and capabilities that you can restrict. If someone goes on the filesystem directly and deletes the index's db folders then there's nothing you can do...just like anything else on the filesystem.

Hopefully that helps?

Highlighted

Re: Is there a way to prevent deletion of indexes?

Champion

OK. That's certainly a help. Let me look further into this...

0 Karma
Highlighted

Re: Is there a way to prevent deletion of indexes?

Ultra Champion

Any update? Did this help?

0 Karma