Getting Data In

How to remove sources from disk via CLI?

Benlavender
Explorer

Hello,

We’re looking to remove data from one of our indexes, preferably using the clean operator from the CLI.

We have the some sources like “Perfmon:CPU Load” and “WinEventLog:System” – What would the correct clean syntax be to remove these sources from disk in the CLI be please?

Thanks

Tags (3)
0 Karma

yannK
Splunk Employee
Splunk Employee

There is no way to remove selectively data from a bucket/index.
you can only hide it using the "|delete" command
or delete all data with the "clean" command

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