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!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...