Getting Data In

Can you help me understand why I'm receiving these values for _time and _indextime?

dloszewski
New Member

Hello,

I'm having a hard time understanding why I'm receiving the values that I am for _time and _indextime.

All events that I'm currently getting show a _time value that is behind that of my _indextime. From what I understand, if there was a slowdown in the indexing, these values would be the other way around. I'm also noticing that the timestamps of my events (raw data) matches that of the _timeindex which further confuses me.

Any help you could provide would be appreciated. Example below:

_time = 2018-11-15T21:06:23.000-05:00
_indextime = 11/16/2018 16:42:27
event timestamp = 2018-11-16T02:06:23.000-00:00
Tags (2)
0 Karma

adonio
Ultra Champion

look at your props.conf
this _time = 2018-11-15T21:06:23.000-05:00 seems to me to be exactly 5 hours before: 2018-11-16T02:06:23.000-00:00
which is in your timestamp: -05:00 probably timezone fix i needed here.
_indextime will always be after or at the (later) _time time because it physically takes time to write the data to disk (index) that when the _indextime is assigned. the only time _indextime will be before _time is if you have events in the future.
please read this doc in detail to take care of your time stamping:
http://docs.splunk.com/Documentation/Splunk/7.2.1/Data/Configuretimestamprecognition

hope it helps

0 Karma
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 ...