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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...