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!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...