<?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: Events recevie date &amp; time in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Events-recevie-date-time/m-p/62220#M15376</link>
    <description>&lt;P&gt;Are you asking how Splunk assigns a timestamp to events coming into Splunk?&lt;/P&gt;

&lt;P&gt;See the documentation at &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Data/HowSplunkextractstimestamps" target="_blank"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Data/HowSplunkextractstimestamps&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Splunk uses the following precedence rules to assign timestamps to events:&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;&lt;P&gt;Splunk looks for a time or date in the event itself using an explicit TIME_FORMAT, if provided. You configure TIME_FORMAT in props.conf.&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;If no TIME_FORMAT was configured for the data, Splunk attempts to automatically identify a time or date in the event itself. It uses the event's source type (which includes TIME_FORMAT information) to try to find the timestamp.&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;If an event doesn't have a time or date, Splunk uses the timestamp from the most recent previous event of the same source.&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;If no events in a source have a date, Splunk tries to find one in the source name or file name. (This requires that the events have a time, even though they don't have a date.)&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;For file sources, if no time or date can be identified in the file name, Splunk uses the file's modification time.&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;As a last resort, Splunk sets the timestamp to the current system time when indexing each event.&lt;/P&gt;&lt;/LI&gt;
&lt;/OL&gt;</description>
    <pubDate>Mon, 28 Sep 2020 13:31:19 GMT</pubDate>
    <dc:creator>datasearchninja</dc:creator>
    <dc:date>2020-09-28T13:31:19Z</dc:date>
    <item>
      <title>Events recevie date &amp; time</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Events-recevie-date-time/m-p/62218#M15374</link>
      <description>&lt;P&gt;After the events received, how to identify the events receiving date &amp;amp; time?&lt;/P&gt;</description>
      <pubDate>Fri, 15 Mar 2013 01:34:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Events-recevie-date-time/m-p/62218#M15374</guid>
      <dc:creator>rossikwan</dc:creator>
      <dc:date>2013-03-15T01:34:05Z</dc:date>
    </item>
    <item>
      <title>Re: Events recevie date &amp; time</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Events-recevie-date-time/m-p/62219#M15375</link>
      <description>&lt;P&gt;Hey rossikwan...can we get a little more information here. What is the data you are trying to put into splunk and let us know what it is displaying as date and time?&lt;BR /&gt;
Regards Vince&lt;/P&gt;</description>
      <pubDate>Fri, 15 Mar 2013 03:02:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Events-recevie-date-time/m-p/62219#M15375</guid>
      <dc:creator>vincesesto</dc:creator>
      <dc:date>2013-03-15T03:02:55Z</dc:date>
    </item>
    <item>
      <title>Re: Events recevie date &amp; time</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Events-recevie-date-time/m-p/62220#M15376</link>
      <description>&lt;P&gt;Are you asking how Splunk assigns a timestamp to events coming into Splunk?&lt;/P&gt;

&lt;P&gt;See the documentation at &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Data/HowSplunkextractstimestamps" target="_blank"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Data/HowSplunkextractstimestamps&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Splunk uses the following precedence rules to assign timestamps to events:&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;&lt;P&gt;Splunk looks for a time or date in the event itself using an explicit TIME_FORMAT, if provided. You configure TIME_FORMAT in props.conf.&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;If no TIME_FORMAT was configured for the data, Splunk attempts to automatically identify a time or date in the event itself. It uses the event's source type (which includes TIME_FORMAT information) to try to find the timestamp.&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;If an event doesn't have a time or date, Splunk uses the timestamp from the most recent previous event of the same source.&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;If no events in a source have a date, Splunk tries to find one in the source name or file name. (This requires that the events have a time, even though they don't have a date.)&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;For file sources, if no time or date can be identified in the file name, Splunk uses the file's modification time.&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;As a last resort, Splunk sets the timestamp to the current system time when indexing each event.&lt;/P&gt;&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Mon, 28 Sep 2020 13:31:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Events-recevie-date-time/m-p/62220#M15376</guid>
      <dc:creator>datasearchninja</dc:creator>
      <dc:date>2020-09-28T13:31:19Z</dc:date>
    </item>
    <item>
      <title>Re: Events recevie date &amp; time</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Events-recevie-date-time/m-p/62221#M15377</link>
      <description>&lt;P&gt;Thanks and could there a method to show when did that event indexed in Splunk?&lt;/P&gt;</description>
      <pubDate>Fri, 15 Mar 2013 10:16:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Events-recevie-date-time/m-p/62221#M15377</guid>
      <dc:creator>rossikwan</dc:creator>
      <dc:date>2013-03-15T10:16:52Z</dc:date>
    </item>
    <item>
      <title>Re: Events recevie date &amp; time</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Events-recevie-date-time/m-p/62222#M15378</link>
      <description>&lt;P&gt;This information is available in the field &lt;CODE&gt;_indextime&lt;/CODE&gt;. To make it "visible" for whatever purpose you're using it for you might want to use &lt;CODE&gt;eval&lt;/CODE&gt;. For instance&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | eval indextime=_indextime | convert ctime(indextime) | table indextime
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 15 Mar 2013 10:18:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Events-recevie-date-time/m-p/62222#M15378</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2013-03-15T10:18:46Z</dc:date>
    </item>
  </channel>
</rss>

