Splunk Search

Splunk clean eventdata using duration

dhana02v
New Member

Hi Splunk Team,

There is an option to clear entire indexed data using the command "./splunk clean eventdata", it will delete entire data which has been indexed if it has for 3 months.

But my requirements to delete the indexed data for 10 or 30 minutes, is there any option to delete the indexed data using duration.

Thanks in advance.

Warm Regards,
Dhanasekaran.M

Tags (1)
0 Karma

gkanapathy
Splunk Employee
Splunk Employee

Here is what you can do:

http://docs.splunk.com/Documentation/Splunk/5.0.2/Indexer/RemovedatafromSplunk

It is possible to delete entire "buckets" of data if you know what you are doing. Using the dbinspect command, you can find the buckets that contain data from the time range of interest, then stop and remove the directories. However, this will almost certainly also remove information that is outside of the data you're looking for, unless you're quite lucky.

martin_mueller
SplunkTrust
SplunkTrust

No. You can hide data selectively using the delete command, but this will not clear up disk space.

0 Karma
Get Updates on the Splunk Community!

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

Splunk Decoded: Business Transactions vs Business IQ

It’s the morning of Black Friday, and your e-commerce site is handling 10x normal traffic. Orders are flowing, ...

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...