Getting Data In

How can I remove input files if "splunk clean eventdata" didn't remove them?

jenniferleenyc
Engager

I completely cleaned my index with "splunk clean eventdata" but my input files are still listed under Files and Directories in Splunk. Is there a way to completely remove the files? Or is it safe to assume the files are empty?

Tags (2)
0 Karma
1 Solution

jplumsdaine22
Influencer

The Files & Directories section is the data inputs - these paths listed will be continuously monitored by splunk and indexed . The clean command removes the data from the Splunk indexes.

So yes after running the clean command your data has been removed from splunk, but as the file monitors are still active your data may be indexed again. Remove the inputs if you don't want the data to go into Splunk again.

View solution in original post

0 Karma

jplumsdaine22
Influencer

The Files & Directories section is the data inputs - these paths listed will be continuously monitored by splunk and indexed . The clean command removes the data from the Splunk indexes.

So yes after running the clean command your data has been removed from splunk, but as the file monitors are still active your data may be indexed again. Remove the inputs if you don't want the data to go into Splunk again.

0 Karma

jenniferleenyc
Engager

thank you!

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 ...