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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...