Getting Data In

Permanently delete events from an index

marziaolla
Path Finder

hi,
i want to delete from an index only the events i dont need.

i know that the delete command only hide events from the search but it doesnt delete them permanently, i want to save index space to not exceed my license.

how can i do this? can i do this from CLI?

marziaolla
Path Finder

[edit] i want to reduce the volume of indexed data.

0 Karma

harsmarvania57
Ultra Champion

Hi,

Index space does not have any relation with Splunk license. Splunk license calculates based on daily data ingestion. So if you do not want to free up space on disk then you can use delete command otherwise there will be option to clean whole index which will remove all data from your index.

ChrisG
Splunk Employee
Splunk Employee

harsmarvania57 has a very good point, which is that data stored in the index does not affect your license capacity. Quoting from the Admin Manual: "Splunk Enterprise licenses specify how much data you can index per calendar day (from midnight to midnight by the clock on the license master)."

Here are two documentation topics that might help you:

Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...