Splunk Search

Overwriting existing timestamp in summary index?

yuwtennis
Communicator

Hi!

Is it possible to overwrite the summary index with same timestamp?

Lets say you already have a summary index as following.

_time fieldA fieldB
2014/1/1 00:00 a b
2014/1/2 00:00 a b
2014/1/3 00:00 a b

I want to rewrite the first record to recalculate the value as c
_time fieldA fieldB
2014/1/1 00:00 a c
2014/1/2 00:00 a b
2014/1/3 00:00 a b

Do you have to use the delete and then repopulate it?

Thanks,
Yu

Tags (2)
0 Karma

Ayn
Legend

Yes, you will have to repopulate it - you cannot change any data in an index once it's been written.

yuwtennis
Communicator

Hello ayn.

Thank you for the comment.
Is there be a way to detect the duplicates and delete the old ones?

Thanks,
Yu

0 Karma
Get Updates on the Splunk Community!

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...