<?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: Json parsing - Failed to parse timestamp in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Json-parsing-Failed-to-parse-timestamp/m-p/237370#M46097</link>
    <description>&lt;P&gt;Yes this is on the heavy forwarder. I have also tried manually loading the json content and applying the sourcetype configuration.&lt;/P&gt;</description>
    <pubDate>Tue, 08 Mar 2016 02:48:53 GMT</pubDate>
    <dc:creator>gobinspam</dc:creator>
    <dc:date>2016-03-08T02:48:53Z</dc:date>
    <item>
      <title>Json parsing - Failed to parse timestamp</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Json-parsing-Failed-to-parse-timestamp/m-p/237366#M46093</link>
      <description>&lt;P&gt;I'm trying to parse the following json input. I'm getting the data correctly indexed but I am also getting a warning.&lt;/P&gt;

&lt;P&gt;WARN  DateParserVerbose - Failed to parse timestamp. Defaulting to timestamp of previous event&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;{
  "events":[
    {
      "a":"057.00E09037A",
      "b":"cdw",
       "c":"1.2.7.7",
       "d":"192.168.1.0",
       "date":"2015-12-14T23:25:24.539Z"
    },
    {
      "a":"057.00E09037A",
      "b":"cdw",
       "c":"1.2.7.7",
       "d":"192.168.1.0",
       "date":"2015-12-14T23:25:24.542Z"
    }
  ]
}
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Here is the configuration in my props.conf file:&lt;BR /&gt;
[sample:events]&lt;BR /&gt;
BREAK_ONLY_BEFORE = ({|[\s+{)&lt;BR /&gt;
BREAK_ONLY_BEFORE_DATE = false&lt;BR /&gt;
MUST_BREAK_AFTER = (}|}\s+])&lt;BR /&gt;
NO_BINARY_CHECK = true&lt;BR /&gt;
SEDCMD-remove_footer = s/]\s+}//g&lt;BR /&gt;
SEDCMD-remove_header = s/({\s+.+?[)//g&lt;BR /&gt;
SEDCMD-remove_trailing_commas = s/},/}/g&lt;BR /&gt;
category = Custom&lt;BR /&gt;
disabled = false&lt;BR /&gt;
pulldown_type = true&lt;/P&gt;

&lt;P&gt;Is there something in the props.conf file that I can do to avoid this warning.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 09:00:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Json-parsing-Failed-to-parse-timestamp/m-p/237366#M46093</guid>
      <dc:creator>gobinspam</dc:creator>
      <dc:date>2020-09-29T09:00:51Z</dc:date>
    </item>
    <item>
      <title>Re: Json parsing - Failed to parse timestamp</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Json-parsing-Failed-to-parse-timestamp/m-p/237367#M46094</link>
      <description>&lt;P&gt;There are no timestamp recognition related configurations in your sourcetype. For better indexing performance, you should configure both event breaking and timestamp recognition configs in your sourcetype. Add following to your current props.conf under your sourcetype&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;TIME_PREFIX = date\":\"
TIME_FORMAT = %Y-%m-%dT%H:%M:%S.%N
MAX_TIMESTAMP_LOOKAHEAD = 23
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 07 Mar 2016 22:55:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Json-parsing-Failed-to-parse-timestamp/m-p/237367#M46094</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-03-07T22:55:02Z</dc:date>
    </item>
    <item>
      <title>Re: Json parsing - Failed to parse timestamp</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Json-parsing-Failed-to-parse-timestamp/m-p/237368#M46095</link>
      <description>&lt;P&gt;Thanks @somesoni2&lt;/P&gt;

&lt;P&gt;I have tried adding these fields. It still gives me the same warning.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Mar 2016 01:40:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Json-parsing-Failed-to-parse-timestamp/m-p/237368#M46095</guid>
      <dc:creator>gobinspam</dc:creator>
      <dc:date>2016-03-08T01:40:19Z</dc:date>
    </item>
    <item>
      <title>Re: Json parsing - Failed to parse timestamp</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Json-parsing-Failed-to-parse-timestamp/m-p/237369#M46096</link>
      <description>&lt;P&gt;Just to be sure, this props.conf is on Indexer/Heavy forwarders.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Mar 2016 02:25:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Json-parsing-Failed-to-parse-timestamp/m-p/237369#M46096</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-03-08T02:25:47Z</dc:date>
    </item>
    <item>
      <title>Re: Json parsing - Failed to parse timestamp</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Json-parsing-Failed-to-parse-timestamp/m-p/237370#M46097</link>
      <description>&lt;P&gt;Yes this is on the heavy forwarder. I have also tried manually loading the json content and applying the sourcetype configuration.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Mar 2016 02:48:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Json-parsing-Failed-to-parse-timestamp/m-p/237370#M46097</guid>
      <dc:creator>gobinspam</dc:creator>
      <dc:date>2016-03-08T02:48:53Z</dc:date>
    </item>
  </channel>
</rss>

