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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

Splunk is officially part of Cisco

Revolutionizing how our customers build resilience across their entire digital footprint.   Splunk ...

Splunk APM & RUM | Planned Maintenance March 26 - March 28, 2024

There will be planned maintenance for Splunk APM and RUM between March 26, 2024 and March 28, 2024 as ...