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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...