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!

.conf24 | Day 0

Hello Splunk Community! My name is Chris, and I'm based in Canberra, Australia's capital, and I travelled for ...

Enhance Security Visibility with Splunk Enterprise Security 7.1 through Threat ...

(view in My Videos)Struggling with alert fatigue, lack of context, and prioritization around security ...

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...