Deployment Architecture

How do I empty an index in an indexer cluster

nls7010
Path Finder

Clients wanted a change in how there data was displayed using the sourcetype they first used. How do I remove all of what they have currently indexed so we don't get duplicate entries?

0 Karma

gcusello
SplunkTrust
SplunkTrust

HI @nls7010,
in an Indexer Cluster, you could:

  • set to 1 the Retention Period (frozenTimePeriodInSecs = 1) for your index on Master Node,
  • push configurations to Peers,
  • wait 5 minutes,
  • set the Retention Periodto the value you like (frozenTimePeriodInSecs = your_value) for your index on Master Node,
  • push configurations to Peers.

Ciao.
Giuseppe

0 Karma

Anantha123
Communicator
0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...