Splunk Search

How can I update the metadata ?

cogrunc
New Member

Hello,
I deleted the redundant logs from an index with "delete" command. Now, I would like to update the metadata info. Is it possible?

Tags (1)
0 Karma
1 Solution

somesoni2
Revered Legend

From the link , the delete command doesn't update the metadata. There is no direct method to update the metadata. The workaround will be do a re-indexing of the data which in most cases is not feasible.

http://answers.splunk.com/answers/2031/remove-hostname-from-the-metadata.html

View solution in original post

somesoni2
Revered Legend

From the link , the delete command doesn't update the metadata. There is no direct method to update the metadata. The workaround will be do a re-indexing of the data which in most cases is not feasible.

http://answers.splunk.com/answers/2031/remove-hostname-from-the-metadata.html

martin_mueller
SplunkTrust
SplunkTrust

Just let the "wrong" buckets age out, it'll fix itself over the retention period for that index.

Get Updates on the Splunk Community!

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Shape the Future of Splunk: Join the Product Research Lab!

Join the Splunk Product Research Lab and connect with us in the Slack channel #product-research-lab to get ...