Getting Data In

what do the indexed fields `timeendpos` and `timestartpos` represent?

boris
Path Finder

I am new to Splunk.

What do the indexed fields timeendpos and timestartpos represent?

Since one report the company asks for from our archived Apache log files is the duration of the longest queries, I am curious about these fields and how to translate the corresponding integer values, if they have meaning.

Tags (2)
0 Karma
1 Solution

kristian_kolb
Ultra Champion

They mean just how far into the event that Splunk thinks (usually correct) that your timestamp goes.

timestartpos (at which byte the timestamp starts)
timeendpos (at which bye into the event the timestamp ends)

If you are experiencing timestamping issues, you should look into how you can alter this behaviour through props.conf settings for your sourcetype;

TIMESTAMP_LOOKAHEAD = number
TIME_FORMAT = strftime format
TIME_PREFIX = regex

Hope this helps,

Kristian

View solution in original post

kristian_kolb
Ultra Champion

They mean just how far into the event that Splunk thinks (usually correct) that your timestamp goes.

timestartpos (at which byte the timestamp starts)
timeendpos (at which bye into the event the timestamp ends)

If you are experiencing timestamping issues, you should look into how you can alter this behaviour through props.conf settings for your sourcetype;

TIMESTAMP_LOOKAHEAD = number
TIME_FORMAT = strftime format
TIME_PREFIX = regex

Hope this helps,

Kristian

Get Updates on the Splunk Community!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...