Splunk Search

How do I remove indexed data? Such as specific data source?

clyde772
Communicator

How I can I remove specfic indexed data from an exsiting data index?

Tags (1)

Simeon
Splunk Employee
Splunk Employee

You can delete specific indexed data using the delete command. So in your case, you might do:

sourcetype=my_sourcetype | delete

Note that you will need to have the can_delete role and that this process is irreversible. This will NOT create disk space.

rroberts
Splunk Employee
Splunk Employee
Get Updates on the Splunk Community!

Developer Spotlight with Brett Adams

In our third Spotlight feature, we're excited to shine a light on Brett—a Splunk consultant, innovative ...

Index This | What can you do to make 55,555 equal 500?

April 2025 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with this ...

Say goodbye to manually analyzing phishing and malware threats with Splunk Attack ...

In today’s evolving threat landscape, we understand you’re constantly bombarded with phishing and malware ...