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!

Detecting Remote Code Executions With the Splunk Threat Research Team

WATCH NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If exploited, ...

Enter the Splunk Community Dashboard Challenge for Your Chance to Win!

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

.conf24 | Session Scheduler is Live!!

.conf24 is happening June 11 - 14 in Las Vegas, and we are thrilled to announce that the conference catalog ...