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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...