Getting Data In

monitoring directories - once indexed, do I need to keep original source data?

rgonzale6
Path Finder

If I'm simply monitoring a directory and I'm not tailing it, do I need to keep the contents of the directory after it's been indexed? I have no forensic need for the source data.

I've done some small scale testing with this by creating a test file in a monitoring directory, getting it indexed, and then deleting it, and it still shows up in splunk in the relevant index which would seem to me to indicate you do not need to keep the source data.

Tags (1)
1 Solution

hulahoop
Splunk Employee
Splunk Employee

You are correct--the original data source can be removed after indexing. Splunk no longer requires it as a separate copy is now stored in the Splunk datastore. Having said that, you should ensure the appropriate protections are taken to protect and preserve the data in Spllunk should there be any software/hardware failures.

View solution in original post

hulahoop
Splunk Employee
Splunk Employee

You are correct--the original data source can be removed after indexing. Splunk no longer requires it as a separate copy is now stored in the Splunk datastore. Having said that, you should ensure the appropriate protections are taken to protect and preserve the data in Spllunk should there be any software/hardware failures.

rgonzale6
Path Finder

Thanks! Much appreciated.

0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...