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 | Forward, I’m heavy; backward, I’m not. What am I?

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

A Guide To Cloud Migration Success

As enterprises’ rapid expansion to the cloud continues, IT leaders are continuously looking for ways to focus ...

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...