Getting Data In

How to perform a database cleanup on Windows?

julianosantos
New Member

Hello!
Looking in the community, unfortunately I was confused and found only for Linux versions. And I installed it in the Windows version.

Can you tell me how to perform the database cleaning process?
I would like to clear all the device collection logs.

I'm running tests with the tool between my devices so I can deploy it in the organization. For this, I would like to collect on other devices.

0 Karma

ddrillic
Ultra Champion

If you need to clean an index you can use the splunk clean eventdata -index <index_name> command.

0 Karma

somesoni2
Revered Legend

Basically, run command prompt as administrator, and run "C:\Program Files\Splunk\bin\splunk.exe clean eventdata clean eventdata -index <index_name>. THis will ask for admin credentials.

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