<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Difference in _time and _indextime for logs in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Difference-in-time-and-indextime-for-logs/m-p/442065#M125544</link>
    <description>&lt;P&gt;So you have a 36 second delay in this case? I've seen worse, but depending on how you're ingesting the data it is probably an indicator of some kind of issue that these two are not closer together.&lt;/P&gt;

&lt;P&gt;Couple of questions:&lt;BR /&gt;
- are both the source device and the splunk server(s) properly synced to an NTP server (ie. are their clocks in sync)?&lt;BR /&gt;
- how exactly are you ingesting this data?&lt;BR /&gt;
- do you see any queuing issues on any of the splunk components (forwarders, indexers) involved?&lt;/P&gt;</description>
    <pubDate>Thu, 20 Dec 2018 12:24:53 GMT</pubDate>
    <dc:creator>FrankVl</dc:creator>
    <dc:date>2018-12-20T12:24:53Z</dc:date>
    <item>
      <title>Difference in _time and _indextime for logs</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Difference-in-time-and-indextime-for-logs/m-p/442064#M125543</link>
      <description>&lt;P&gt;Hi, &lt;BR /&gt;
We are getting indexing lag in one of our splunk index. There is variation in _index-time and _time hence producing lag. On further observation we found that the _time is being picked from the log events and the data looks like below:-&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;_time, _indextime, LogEvent&lt;/STRONG&gt;&lt;BR /&gt;
2018-12-20 &lt;STRONG&gt;03:25:12&lt;/STRONG&gt;,    Thu Dec 20 03:25:48 PST 2018,   Monitor Counter Information At Thu Dec 20 &lt;STRONG&gt;03:25:12&lt;/STRONG&gt; 2018 Transformation Name &lt;/P&gt;</description>
      <pubDate>Thu, 20 Dec 2018 12:08:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Difference-in-time-and-indextime-for-logs/m-p/442064#M125543</guid>
      <dc:creator>JuhiSaxena</dc:creator>
      <dc:date>2018-12-20T12:08:35Z</dc:date>
    </item>
    <item>
      <title>Re: Difference in _time and _indextime for logs</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Difference-in-time-and-indextime-for-logs/m-p/442065#M125544</link>
      <description>&lt;P&gt;So you have a 36 second delay in this case? I've seen worse, but depending on how you're ingesting the data it is probably an indicator of some kind of issue that these two are not closer together.&lt;/P&gt;

&lt;P&gt;Couple of questions:&lt;BR /&gt;
- are both the source device and the splunk server(s) properly synced to an NTP server (ie. are their clocks in sync)?&lt;BR /&gt;
- how exactly are you ingesting this data?&lt;BR /&gt;
- do you see any queuing issues on any of the splunk components (forwarders, indexers) involved?&lt;/P&gt;</description>
      <pubDate>Thu, 20 Dec 2018 12:24:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Difference-in-time-and-indextime-for-logs/m-p/442065#M125544</guid>
      <dc:creator>FrankVl</dc:creator>
      <dc:date>2018-12-20T12:24:53Z</dc:date>
    </item>
    <item>
      <title>Re: Difference in _time and _indextime for logs</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Difference-in-time-and-indextime-for-logs/m-p/442066#M125545</link>
      <description>&lt;P&gt;How is the data sent to Splunk?  Is this via HEC, file monitor, script, an add-on, etc.?&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;_time&lt;/CODE&gt; is the timestamp of the actual event; whereas, &lt;CODE&gt;_indextime&lt;/CODE&gt; is the timestamp when Splunk actually indexed the event.  Depending on the input, these two timestamps may be very far apart.  For example, if you use a file monitor input that has data from a year ago, &lt;CODE&gt;_time&lt;/CODE&gt; will be a year ago, but &lt;CODE&gt;_indextime&lt;/CODE&gt; will be "now".  Similarly, scripts and several add-ons use an interval for data collection.  A delay could be seen from when the event was generated from when the input script ran.&lt;/P&gt;

&lt;P&gt;Here is how Splunk determines the &lt;CODE&gt;_time&lt;/CODE&gt; timestamp -&amp;gt; &lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Data/HowSplunkextractstimestamps#How_Splunk_software_assigns_timestamps"&gt;https://docs.splunk.com/Documentation/Splunk/latest/Data/HowSplunkextractstimestamps#How_Splunk_software_assigns_timestamps&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Dec 2018 20:32:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Difference-in-time-and-indextime-for-logs/m-p/442066#M125545</guid>
      <dc:creator>jconger</dc:creator>
      <dc:date>2018-12-21T20:32:25Z</dc:date>
    </item>
  </channel>
</rss>

