Splunk Search

Index time

beepbop
Explorer

hi, how can I change the scheduled index time of a data source?

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @beepbop,

what do you mean with "scheduled index time", are you speaking of the timestamp (that's recorded in the _time field)?

If this is your requirement, you can use the timestamp recorded in the event or the timestamp of when the event is indexed.

If you want the event timestamp, Splunk tries to recognize the timestamp, otherwise (e.g. when there are more timestamps in the event) you have to teach Splunk to identify the timestamp using two parameters in props.conf (TIME_PREFIX and TIME_FORMAT).

If there isn't any timestamp in the event you can use the timestamp of when the event is indexed or the timestamp of the previous indexed timestamp (default).

Ciao.

Giuseppe

0 Karma
Get Updates on the Splunk Community!

OpenTelemetry for Legacy Apps? Yes, You Can!

This article is a follow-up to my previous article posted on the OpenTelemetry Blog, "Your Critical Legacy App ...

UCC Framework: Discover Developer Toolkit for Building Technology Add-ons

The Next-Gen Toolkit for Splunk Technology Add-on Development The Universal Configuration Console (UCC) ...

.conf25 Community Recap

Hello Splunkers, And just like that, .conf25 is in the books! What an incredible few days — full of learning, ...