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!

Fall Into Learning with New Splunk Education Courses

Every month, Splunk Education releases new courses to help you branch out, strengthen your data science roots, ...

Super Optimize your Splunk Stats Searches: Unlocking the Power of tstats, TERM, and ...

By Martin Hettervik, Senior Consultant and Team Leader at Accelerate at Iver, Splunk MVPThe stats command is ...

How Splunk Observability Cloud Prevented a Major Payment Crisis in Minutes

Your bank's payment processing system is humming along during a busy afternoon, handling millions in hourly ...