<?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 Why Splunk interpret  a false timestamp? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Why-Splunk-interpret-a-false-timestamp/m-p/160228#M32479</link>
    <description>&lt;P&gt;I configured my data import with a timeformat of %6N and all works fine. Sometimes the event comes with a %3N timestamp and I expect Splunk ignore it, because interpreted as a %6N Timestamp it is to far in the past to be conform with the MAXDAYSAGO configuration. &lt;BR /&gt;
Why Splunk accept it contrary to the configuration? &lt;/P&gt;

&lt;P&gt;best regards Marco &lt;/P&gt;</description>
    <pubDate>Fri, 29 Nov 2013 07:18:31 GMT</pubDate>
    <dc:creator>marcokrueger</dc:creator>
    <dc:date>2013-11-29T07:18:31Z</dc:date>
    <item>
      <title>Why Splunk interpret  a false timestamp?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-Splunk-interpret-a-false-timestamp/m-p/160228#M32479</link>
      <description>&lt;P&gt;I configured my data import with a timeformat of %6N and all works fine. Sometimes the event comes with a %3N timestamp and I expect Splunk ignore it, because interpreted as a %6N Timestamp it is to far in the past to be conform with the MAXDAYSAGO configuration. &lt;BR /&gt;
Why Splunk accept it contrary to the configuration? &lt;/P&gt;

&lt;P&gt;best regards Marco &lt;/P&gt;</description>
      <pubDate>Fri, 29 Nov 2013 07:18:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-Splunk-interpret-a-false-timestamp/m-p/160228#M32479</guid>
      <dc:creator>marcokrueger</dc:creator>
      <dc:date>2013-11-29T07:18:31Z</dc:date>
    </item>
    <item>
      <title>Re: Why Splunk interpret  a false timestamp?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-Splunk-interpret-a-false-timestamp/m-p/160229#M32480</link>
      <description>&lt;P&gt;I think, perhaps it is a fallback behaviour, but I cant find it in the docs. In this case splunk does exact whjat I want, but I want to be sure, that it is correct and demerministic.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Nov 2013 07:34:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-Splunk-interpret-a-false-timestamp/m-p/160229#M32480</guid>
      <dc:creator>marcokrueger</dc:creator>
      <dc:date>2013-11-29T07:34:31Z</dc:date>
    </item>
    <item>
      <title>Re: Why Splunk interpret  a false timestamp?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-Splunk-interpret-a-false-timestamp/m-p/160230#M32481</link>
      <description>&lt;P&gt;If you specify a TIMEFORMAT for the timestamp, and one event does not match exactly the format, then splunk will default to the automatic detection of the timestamp for this particular event.&lt;/P&gt;

&lt;P&gt;For the MAX_DAYS_AGO, please provide a sample of your events and the props.conf to see what may be happening ?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 15:23:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-Splunk-interpret-a-false-timestamp/m-p/160230#M32481</guid>
      <dc:creator>yannK</dc:creator>
      <dc:date>2020-09-28T15:23:20Z</dc:date>
    </item>
    <item>
      <title>Re: Why Splunk interpret  a false timestamp?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-Splunk-interpret-a-false-timestamp/m-p/160231#M32482</link>
      <description>&lt;P&gt;Now I have configured MAX_DAYS_AGO to test the behaviour:&lt;BR /&gt;
here my examples:&lt;BR /&gt;
{"requestTime":1382140800002914,... # correct interpreted as %6N&lt;BR /&gt;
{"requestTime":1382140800,... # correct interpreted as default, because date is before TODAY-MAX_DAYS_AGO&lt;BR /&gt;
{"requestTime":1382140800019, # not correct interpreted, interpreted as %3N (10/19/13 2:00:00.019 AM), but in %6N I expect the 01/17/1970 00:55:40.800 AM (this is ~16022 days ago)&lt;/P&gt;

&lt;P&gt;BREAK_ONLY_BEFORE=^    {&lt;BR /&gt;
MAX_TIMESTAMP_LOOKAHEAD=16&lt;BR /&gt;
SHOULD_LINEMERGE=false&lt;BR /&gt;
TIME_FORMAT=%6N&lt;BR /&gt;
TIME_PREFIX={"requestTime":&lt;BR /&gt;
TRUNCATE=0&lt;BR /&gt;
MAX_DAYS_AGO=170000&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 15:23:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-Splunk-interpret-a-false-timestamp/m-p/160231#M32482</guid>
      <dc:creator>marcokrueger</dc:creator>
      <dc:date>2020-09-28T15:23:22Z</dc:date>
    </item>
    <item>
      <title>Re: Why Splunk interpret  a false timestamp?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-Splunk-interpret-a-false-timestamp/m-p/160232#M32483</link>
      <description>&lt;P&gt;I do not know it this is related, but :&lt;BR /&gt;
The &lt;CODE&gt;TIME_FORMAT=%6N&lt;/CODE&gt; does not match timestamp 1382140800002914&lt;BR /&gt;&lt;BR /&gt;
The format you have is the concatenation from the epoch time in seconds, followed by  milliseconds on 6 digits without a separator.&lt;/P&gt;

&lt;P&gt;try with &lt;CODE&gt;TIME_FORMAT=%s%6N&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 30 Nov 2013 15:47:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-Splunk-interpret-a-false-timestamp/m-p/160232#M32483</guid>
      <dc:creator>yannK</dc:creator>
      <dc:date>2013-11-30T15:47:59Z</dc:date>
    </item>
  </channel>
</rss>

