<?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: If the divider of logs is set at DateTime value, how do you get Splunk to return one log instead of two? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/If-the-divider-of-logs-is-set-at-DateTime-value-how-do-you-get/m-p/417721#M73724</link>
    <description>&lt;P&gt;connverted to comment as @harsmarvania57 answer is more correct&lt;/P&gt;</description>
    <pubDate>Fri, 05 Oct 2018 09:42:01 GMT</pubDate>
    <dc:creator>493669</dc:creator>
    <dc:date>2018-10-05T09:42:01Z</dc:date>
    <item>
      <title>If the divider of logs is set at DateTime value, how do you get Splunk to return one log instead of two?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/If-the-divider-of-logs-is-set-at-DateTime-value-how-do-you-get/m-p/417718#M73721</link>
      <description>&lt;P&gt;We have divider of logs as DateTime value. If Splunk forwarder sees DateTime value in the string, it forms other log-records in the server. Look at the screenshot: we can see 2 parts of one log, but we need whole 1 log&lt;/P&gt;

&lt;P&gt;Thanx &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/5901i7936A069E14918F2/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Oct 2018 08:40:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/If-the-divider-of-logs-is-set-at-DateTime-value-how-do-you-get/m-p/417718#M73721</guid>
      <dc:creator>sfilipov</dc:creator>
      <dc:date>2018-10-05T08:40:48Z</dc:date>
    </item>
    <item>
      <title>Re: If the divider of logs is set at DateTime value, how do you get Splunk to return one log instead of two?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/If-the-divider-of-logs-is-set-at-DateTime-value-how-do-you-get/m-p/417719#M73722</link>
      <description>&lt;P&gt;Hi @sfilipov,&lt;/P&gt;

&lt;P&gt;You can set below configuration on Indexer or Heavy Forwarder which ever comes first from Universal Forwarder to parse timestamp correctly and break line properly and then restart splunk on Indexer or Heavy Forwarder.&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,%3N%:z
TIME_PREFIX=^
MAX_TIMESTAMP_LOOKAHEAD=29
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 05 Oct 2018 09:34:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/If-the-divider-of-logs-is-set-at-DateTime-value-how-do-you-get/m-p/417719#M73722</guid>
      <dc:creator>harsmarvania57</dc:creator>
      <dc:date>2018-10-05T09:34:57Z</dc:date>
    </item>
    <item>
      <title>Re: If the divider of logs is set at DateTime value, how do you get Splunk to return one log instead of two?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/If-the-divider-of-logs-is-set-at-DateTime-value-how-do-you-get/m-p/417720#M73723</link>
      <description>&lt;P&gt;Add below stanza in props.conf &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[&amp;lt;yoursourcetypeName&amp;gt;]
MAX_TIMESTAMP_LOOKAHEAD = 20
NO_BINARY_CHECK = true
SHOULD_LINEMERGE = true
TIME_FORMAT = %Y-%m-%d %H:%M:%S
TIME_PREFIX = ^
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 05 Oct 2018 09:36:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/If-the-divider-of-logs-is-set-at-DateTime-value-how-do-you-get/m-p/417720#M73723</guid>
      <dc:creator>493669</dc:creator>
      <dc:date>2018-10-05T09:36:41Z</dc:date>
    </item>
    <item>
      <title>Re: If the divider of logs is set at DateTime value, how do you get Splunk to return one log instead of two?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/If-the-divider-of-logs-is-set-at-DateTime-value-how-do-you-get/m-p/417721#M73724</link>
      <description>&lt;P&gt;connverted to comment as @harsmarvania57 answer is more correct&lt;/P&gt;</description>
      <pubDate>Fri, 05 Oct 2018 09:42:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/If-the-divider-of-logs-is-set-at-DateTime-value-how-do-you-get/m-p/417721#M73724</guid>
      <dc:creator>493669</dc:creator>
      <dc:date>2018-10-05T09:42:01Z</dc:date>
    </item>
    <item>
      <title>Re: If the divider of logs is set at DateTime value, how do you get Splunk to return one log instead of two?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/If-the-divider-of-logs-is-set-at-DateTime-value-how-do-you-get/m-p/417722#M73725</link>
      <description>&lt;P&gt;not working for me &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; maybe because sourcetype contains '-' symb?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;    [evenue-raw]
    TIME_FORMAT=%Y-%m-%d %H:%M:%S,%3N%:z
    TIME_PREFIX=^
    MAX_TIMESTAMP_LOOKAHEAD=29
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 09 Oct 2018 13:21:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/If-the-divider-of-logs-is-set-at-DateTime-value-how-do-you-get/m-p/417722#M73725</guid>
      <dc:creator>sfilipov</dc:creator>
      <dc:date>2018-10-09T13:21:41Z</dc:date>
    </item>
    <item>
      <title>Re: If the divider of logs is set at DateTime value, how do you get Splunk to return one log instead of two?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/If-the-divider-of-logs-is-set-at-DateTime-value-how-do-you-get/m-p/417723#M73726</link>
      <description>&lt;P&gt;No, I don't think so &lt;CODE&gt;-&lt;/CODE&gt; in sourcetype will create problem. How Universal Forwarder is sending data to Indexers (Directly to Indexer OR via Heavy Forwarder)? On which server you implemented above config and have you restarted splunk after changes (Data which is already indexed in splunk will not change, only new data will parse and index properly)?&lt;/P&gt;</description>
      <pubDate>Tue, 09 Oct 2018 15:33:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/If-the-divider-of-logs-is-set-at-DateTime-value-how-do-you-get/m-p/417723#M73726</guid>
      <dc:creator>harsmarvania57</dc:creator>
      <dc:date>2018-10-09T15:33:22Z</dc:date>
    </item>
  </channel>
</rss>

