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!

Detecting Remote Code Executions With the Splunk Threat Research Team

WATCH NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If exploited, ...

Enter the Splunk Community Dashboard Challenge for Your Chance to Win!

The Splunk Community Dashboard Challenge is underway! This is your chance to showcase your skills in creating ...

.conf24 | Session Scheduler is Live!!

.conf24 is happening June 11 - 14 in Las Vegas, and we are thrilled to announce that the conference catalog ...