An administrator needs to manually move a bucket to frozen state immediately for compliance reasons. What is the best method?
Trap 1: Delete the bucket folder from the OS.
This corrupts the index and causes errors.
Trap 2: Rename the bucket folder to start with 'frozen'.
Splunk ignores buckets that do not follow the naming convention.
Trap 3: Use the 'splunk edit index' command.
There is no native 'freeze' command.
- A
Delete the bucket folder from the OS.
Why it fails: This corrupts the index and causes errors.
- B
Update the retention policy to 0 seconds and restart.
Setting the retention to 0 forces the indexer to roll buckets to frozen on the next maintenance cycle.
- C
Rename the bucket folder to start with 'frozen'.
Why it fails: Splunk ignores buckets that do not follow the naming convention.
- D
Use the 'splunk edit index' command.
Why it fails: There is no native 'freeze' command.