<?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: why splunk extracts the second timestamp instead of first in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/why-splunk-extracts-the-second-timestamp-instead-of-first/m-p/422302#M191049</link>
    <description>&lt;P&gt;The body of your question appears unrelated to the topic.&lt;BR /&gt;
Where are the timestamps in your sample event?  What are the props.conf settings for the event's sourcetype?&lt;/P&gt;</description>
    <pubDate>Fri, 02 Aug 2019 12:51:06 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2019-08-02T12:51:06Z</dc:date>
    <item>
      <title>why splunk extracts the second timestamp instead of first</title>
      <link>https://community.splunk.com/t5/Splunk-Search/why-splunk-extracts-the-second-timestamp-instead-of-first/m-p/422300#M191047</link>
      <description>&lt;P&gt;I investigate issue of creating too many new warm buckets and while I do that, one of the events which according to log splunkd has issues has strange problem which I am curious to find out why this happens.&lt;/P&gt;

&lt;P&gt;The event:&lt;BR /&gt;
fdsfds fsdf as dsfsd fdsfds fdsfds fdsfd dsfds dsf.dd&lt;/P&gt;</description>
      <pubDate>Fri, 02 Aug 2019 09:10:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/why-splunk-extracts-the-second-timestamp-instead-of-first/m-p/422300#M191047</guid>
      <dc:creator>net1993</dc:creator>
      <dc:date>2019-08-02T09:10:38Z</dc:date>
    </item>
    <item>
      <title>Re: why splunk extracts the second timestamp instead of first</title>
      <link>https://community.splunk.com/t5/Splunk-Search/why-splunk-extracts-the-second-timestamp-instead-of-first/m-p/422301#M191048</link>
      <description>&lt;P&gt;For some reason I cannot post the whole event so I place it as comment:&lt;BR /&gt;
fdsfds fsdf as dsfsd fdsfds fdsfds fdsfd dsfds dsf.dd&lt;/P&gt;</description>
      <pubDate>Fri, 02 Aug 2019 09:22:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/why-splunk-extracts-the-second-timestamp-instead-of-first/m-p/422301#M191048</guid>
      <dc:creator>net1993</dc:creator>
      <dc:date>2019-08-02T09:22:56Z</dc:date>
    </item>
    <item>
      <title>Re: why splunk extracts the second timestamp instead of first</title>
      <link>https://community.splunk.com/t5/Splunk-Search/why-splunk-extracts-the-second-timestamp-instead-of-first/m-p/422302#M191049</link>
      <description>&lt;P&gt;The body of your question appears unrelated to the topic.&lt;BR /&gt;
Where are the timestamps in your sample event?  What are the props.conf settings for the event's sourcetype?&lt;/P&gt;</description>
      <pubDate>Fri, 02 Aug 2019 12:51:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/why-splunk-extracts-the-second-timestamp-instead-of-first/m-p/422302#M191049</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2019-08-02T12:51:06Z</dc:date>
    </item>
    <item>
      <title>Re: why splunk extracts the second timestamp instead of first</title>
      <link>https://community.splunk.com/t5/Splunk-Search/why-splunk-extracts-the-second-timestamp-instead-of-first/m-p/422303#M191050</link>
      <description>&lt;P&gt;Sorry, splunks website filters timestamps for some reason. I tried to paste it many times but its same.&lt;BR /&gt;
Basicaly: I have 1 event with first 1 unix timestamp and then there is another timestamps with format: Y-m-d h:i:s... and splunk for some reason takes the second timestamp even thought its after the epoch timestamp which is my question why it does that. The sourcetype is default and nothing custom in it.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Aug 2019 12:56:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/why-splunk-extracts-the-second-timestamp-instead-of-first/m-p/422303#M191050</guid>
      <dc:creator>net1993</dc:creator>
      <dc:date>2019-08-02T12:56:15Z</dc:date>
    </item>
    <item>
      <title>Re: why splunk extracts the second timestamp instead of first</title>
      <link>https://community.splunk.com/t5/Splunk-Search/why-splunk-extracts-the-second-timestamp-instead-of-first/m-p/422304#M191051</link>
      <description>&lt;P&gt;Enclose your sample event in either backticks (&lt;CODE&gt;):&lt;BR /&gt;
&lt;/CODE&gt;2019-08-02T00:00:00.000 timestamp1 Jan 1, 1970 00:01:02.003 timestamp2`&lt;BR /&gt;
or code tags:&lt;BR /&gt;
    &amp;lt; pre&amp;gt; ... &amp;lt; /pre&amp;gt;&lt;BR /&gt;
(remove the space after the opening less than sign)&lt;BR /&gt;
&lt;PRE&gt;&lt;BR /&gt;
2019-08-02T00:00:00.000 timestamp1 Jan 1, 1970 00:01:02.003 timestamp2&lt;BR /&gt;
&lt;/PRE&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Aug 2019 13:04:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/why-splunk-extracts-the-second-timestamp-instead-of-first/m-p/422304#M191051</guid>
      <dc:creator>jnudell_2</dc:creator>
      <dc:date>2019-08-02T13:04:09Z</dc:date>
    </item>
    <item>
      <title>Re: why splunk extracts the second timestamp instead of first</title>
      <link>https://community.splunk.com/t5/Splunk-Search/why-splunk-extracts-the-second-timestamp-instead-of-first/m-p/422305#M191052</link>
      <description>&lt;P&gt;It sounds like the two timestamps have different formats and Splunk is finding the one that matches what is in datetime.xml.  You need to override that using the props.conf settings &lt;CODE&gt;TIME_PREFIX&lt;/CODE&gt;, &lt;CODE&gt;TIME_FORMAT&lt;/CODE&gt;, and &lt;CODE&gt;MAX_TIMESTAMP_LOOKAHEAD&lt;/CODE&gt;.  As soon as you post examples of the timestamps we can tell you what the settings should be.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Aug 2019 13:24:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/why-splunk-extracts-the-second-timestamp-instead-of-first/m-p/422305#M191052</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2019-08-02T13:24:10Z</dc:date>
    </item>
  </channel>
</rss>

