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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...