<?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: timeparsing issue for sourcetype in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/timeparsing-issue-for-sourcetype/m-p/392228#M70054</link>
    <description>&lt;P&gt;In this case you can add below settings in above props.conf or you can adjust below settings based your actual event size and length.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;MAX_EVENTS = 1000
TRUNCATE = 50000
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Sun, 07 Apr 2019 13:17:19 GMT</pubDate>
    <dc:creator>harsmarvania57</dc:creator>
    <dc:date>2019-04-07T13:17:19Z</dc:date>
    <item>
      <title>timeparsing issue for sourcetype</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/timeparsing-issue-for-sourcetype/m-p/392224#M70050</link>
      <description>&lt;P&gt;I have data like below:-&lt;/P&gt;

&lt;P&gt;Log file created at: &lt;STRONG&gt;2019/03/24 17:56:14&lt;/STRONG&gt;&lt;BR /&gt;
Running on machine: F8976GMac&lt;BR /&gt;
Log line format: [IWEF]mmdd hh:mm:ss.uuuuuu threadid file:line] msg&lt;BR /&gt;
&lt;STRONG&gt;I0324 17:56:14.700251&lt;/STRONG&gt; 16884 server.cpp:116]  - 144.77.88.67&lt;BR /&gt;
&lt;STRONG&gt;I0324 17:56:14.747052&lt;/STRONG&gt; 16884 server.cpp:118]  - Listening at : 28888, 28889, 28890&lt;/P&gt;

&lt;P&gt;and i am getting following Warnings in _internal logs:-&lt;/P&gt;

&lt;P&gt;WARN  DateParserVerbose - Accepted time (Wed Jul  6 07:27:19 2016) is suspiciously far away from the previous event's time (Fri Apr  5 07:27:19 2019), but still accepted because it was extracted by the same pattern. &lt;/P&gt;

&lt;P&gt;Please let know what timeparsing config fix can be made here since i see the same log file prints the complete timestamp at the start only and then only time is getting printed.&lt;/P&gt;</description>
      <pubDate>Sat, 06 Apr 2019 08:04:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/timeparsing-issue-for-sourcetype/m-p/392224#M70050</guid>
      <dc:creator>juhisaxena28</dc:creator>
      <dc:date>2019-04-06T08:04:53Z</dc:date>
    </item>
    <item>
      <title>Re: timeparsing issue for sourcetype</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/timeparsing-issue-for-sourcetype/m-p/392225#M70051</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Please try below config on Indexer/Heavy Forwarder(whichever comes first from UF).&lt;/P&gt;

&lt;P&gt;props.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[yoursourcetype]
TIME_FORMAT=%Y/%m/%d %H:%M:%S
TIME_PREFIX=created\sat\:\s
MAX_TIMESTAMP_LOOKAHEAD=19
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 06 Apr 2019 17:14:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/timeparsing-issue-for-sourcetype/m-p/392225#M70051</guid>
      <dc:creator>harsmarvania57</dc:creator>
      <dc:date>2019-04-06T17:14:38Z</dc:date>
    </item>
    <item>
      <title>Re: timeparsing issue for sourcetype</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/timeparsing-issue-for-sourcetype/m-p/392226#M70052</link>
      <description>&lt;P&gt;Applying these settings is breaking the events because limit of 256 characters has breached. Thus the other events produced are also giving the warning of failure in parsing timestamp in MAX_TIMESTAMP_LOOKAHEAD. The two sample events created are following:-&lt;/P&gt;

&lt;P&gt;Event1-&lt;BR /&gt;
"Log file created at: 2019/03/24 17:56:14&lt;BR /&gt;
Running on machine: F8976GMac&lt;BR /&gt;
Log line format: [IWEF]mmdd hh:mm:ss.uuuuuu threadid file:line] msg&lt;BR /&gt;
I0324 17:56:14.700251 16884 server.cpp:116]  - 144.77.88.67&lt;BR /&gt;
I0324 17:56:14.747052 16884 server.cpp:118]  - Listening at : 28888, 28889, 28890"&lt;/P&gt;

&lt;P&gt;Event2-&lt;BR /&gt;
"I0324 18:01:01.517282 18392 client_networker.cpp:55] -&amp;gt; Heartbeat_Indication(419), 42 bytes.&lt;BR /&gt;
I0324 18:01:01.517282 18392 message_sender.cpp:733] &amp;lt;-- Heartbeat_Indication(419), 42 bytes.&lt;BR /&gt;
I0324 18:01:04.606200 18412 networker.cpp:504] -&amp;gt; User_Kernel_Status_Request(1105)&lt;BR /&gt;
I0324 18:01:04.606200 18412 networker.cpp:523] &amp;lt;- (1205), 116 bytes.&lt;BR /&gt;
I0324 18:01:06.384670 18392 client_networker.cpp:55] -&amp;gt; Heartbeat_Indication(419), 42 bytes."&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 00:02:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/timeparsing-issue-for-sourcetype/m-p/392226#M70052</guid>
      <dc:creator>juhisaxena28</dc:creator>
      <dc:date>2020-09-30T00:02:41Z</dc:date>
    </item>
    <item>
      <title>Re: timeparsing issue for sourcetype</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/timeparsing-issue-for-sourcetype/m-p/392227#M70053</link>
      <description>&lt;P&gt;This is further breaking events since 256 char limits have exceeded.&lt;/P&gt;

&lt;P&gt;The other events are giving warnings as they failed to parse timestamp.&lt;/P&gt;</description>
      <pubDate>Sun, 07 Apr 2019 11:06:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/timeparsing-issue-for-sourcetype/m-p/392227#M70053</guid>
      <dc:creator>juhisaxena28</dc:creator>
      <dc:date>2019-04-07T11:06:07Z</dc:date>
    </item>
    <item>
      <title>Re: timeparsing issue for sourcetype</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/timeparsing-issue-for-sourcetype/m-p/392228#M70054</link>
      <description>&lt;P&gt;In this case you can add below settings in above props.conf or you can adjust below settings based your actual event size and length.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;MAX_EVENTS = 1000
TRUNCATE = 50000
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 07 Apr 2019 13:17:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/timeparsing-issue-for-sourcetype/m-p/392228#M70054</guid>
      <dc:creator>harsmarvania57</dc:creator>
      <dc:date>2019-04-07T13:17:19Z</dc:date>
    </item>
    <item>
      <title>Re: timeparsing issue for sourcetype</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/timeparsing-issue-for-sourcetype/m-p/392229#M70055</link>
      <description>&lt;P&gt;Try this in props.conf on the first full instance of Splunk that handles the events (usually Heavy Forwarder or Indexer tier):&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[YourSourcetypeHere]
TIME_PREFIX = "Log file created at:\s*"
TIME_FORMAT = %Y%m/%d %H:%M:%S
MAX_TIMESTAMP_LOOKAHEAD = 19
LINE_BREAKER = (?!)
SHOULD_LINEMERGE = false
TRUNCATE = 99999
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This makes every line in the file a single event.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2019 22:36:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/timeparsing-issue-for-sourcetype/m-p/392229#M70055</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-04-15T22:36:03Z</dc:date>
    </item>
  </channel>
</rss>

