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

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!

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...