<?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: multiline log: break on return char, not timestamp in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/multiline-log-break-on-return-char-not-timestamp/m-p/372738#M40423</link>
    <description>&lt;P&gt;Thanks niketnilay&lt;/P&gt;

&lt;P&gt;I had to add a new sourcetype with&lt;BR /&gt;
    1. SHOULD_LINEMERGE = false&lt;BR /&gt;
    2 removed BREAK_ONLY_BEFORE attribute&lt;/P&gt;

&lt;P&gt;...then  pointed our data to this new sourcetype. Worked a treat.&lt;/P&gt;

&lt;P&gt;Alex&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 16:49:54 GMT</pubDate>
    <dc:creator>alexmartinez</dc:creator>
    <dc:date>2020-09-29T16:49:54Z</dc:date>
    <item>
      <title>multiline log: break on return char, not timestamp</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/multiline-log-break-on-return-char-not-timestamp/m-p/372735#M40420</link>
      <description>&lt;P&gt;Sorry new to Splunk...I've  a single logfile with entries that look like this:&lt;/P&gt;

&lt;P&gt;"15/11/2017 20:20:59","0","1803.xml","Copied to Amazon S3",5,"O"&lt;BR /&gt;
"15/11/2017 20:21:00","0","1260.xml","Copied to Amazon S3",5,"O"&lt;BR /&gt;
"15/11/2017 20:21:00","0","2415.xml","Copied to Amazon S3",5,"O"&lt;BR /&gt;
"15/11/2017 20:21:01","0","134.xml","Copied to Amazon S3",5,"O"&lt;BR /&gt;
"15/11/2017 20:21:01","0","808.xml","Copied to Amazon S3",5,"O"&lt;BR /&gt;
"15/11/2017 20:21:02","0","261.xml","Copied to Amazon S3",5,"O"&lt;BR /&gt;
"15/11/2017 20:21:02","0","646.xml","Copied to Amazon S3",5,"O"&lt;BR /&gt;
"15/11/2017 20:21:03","0","1157.xml","Copied to Amazon S3",5,"O"&lt;/P&gt;

&lt;P&gt;Splunk is breaking this  into events by timestamp (field 1) but because the above entries have repeating  timestamps I only get the first event for each date. &lt;/P&gt;

&lt;P&gt;How can I insure that EACH line gets its own event?  &lt;/P&gt;</description>
      <pubDate>Thu, 16 Nov 2017 14:02:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/multiline-log-break-on-return-char-not-timestamp/m-p/372735#M40420</guid>
      <dc:creator>alexmartinez</dc:creator>
      <dc:date>2017-11-16T14:02:16Z</dc:date>
    </item>
    <item>
      <title>Re: multiline log: break on return char, not timestamp</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/multiline-log-break-on-return-char-not-timestamp/m-p/372736#M40421</link>
      <description>&lt;P&gt;@alexmartinez, what is your current props.conf file settings for this sourcetype?&lt;/P&gt;

&lt;P&gt;If you want to break events on every line you should turn off line merge setting:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;SHOULD_LINEMERGE=false
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Refer to Splunk Documentation: &lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Data/Configureeventlinebreaking"&gt;https://docs.splunk.com/Documentation/Splunk/latest/Data/Configureeventlinebreaking&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Nov 2017 18:44:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/multiline-log-break-on-return-char-not-timestamp/m-p/372736#M40421</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2017-11-16T18:44:10Z</dc:date>
    </item>
    <item>
      <title>Re: multiline log: break on return char, not timestamp</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/multiline-log-break-on-return-char-not-timestamp/m-p/372737#M40422</link>
      <description>&lt;P&gt;In my edit Source TYpe/advanced settings on the console for Splunk Enterprrse: &lt;/P&gt;

&lt;P&gt;BREAK_ONLY_BEFORE ([\n]+)&lt;BR /&gt;
FIELD_NAMES logtimestamp,is_control_message,filename_message,status,file_status,error_type&lt;BR /&gt;
INDEXED_EXTRACTIONS csv&lt;BR /&gt;
NO_BINARY_CHECK true&lt;BR /&gt;
SHOULD_LINEMERGE true &lt;BR /&gt;
TIMESTAMP_FIELDS logtimestamp&lt;BR /&gt;
TIME_FORMAT  %d/%m/%Y %H:%M:%S&lt;BR /&gt;
category Structured&lt;BR /&gt;
disabled false&lt;BR /&gt;
pulldown_type true&lt;/P&gt;

&lt;P&gt;I tried:&lt;BR /&gt;
SHOULD_LINEMERGE = false as an admin user in the console but it reverts back to true! I also tried removing the attribute BREAK_ONLY_BEFORE but it won't let me. Can't I edit Advanced settings? &lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 16:53:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/multiline-log-break-on-return-char-not-timestamp/m-p/372737#M40422</guid>
      <dc:creator>alexmartinez</dc:creator>
      <dc:date>2020-09-29T16:53:41Z</dc:date>
    </item>
    <item>
      <title>Re: multiline log: break on return char, not timestamp</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/multiline-log-break-on-return-char-not-timestamp/m-p/372738#M40423</link>
      <description>&lt;P&gt;Thanks niketnilay&lt;/P&gt;

&lt;P&gt;I had to add a new sourcetype with&lt;BR /&gt;
    1. SHOULD_LINEMERGE = false&lt;BR /&gt;
    2 removed BREAK_ONLY_BEFORE attribute&lt;/P&gt;

&lt;P&gt;...then  pointed our data to this new sourcetype. Worked a treat.&lt;/P&gt;

&lt;P&gt;Alex&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 16:49:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/multiline-log-break-on-return-char-not-timestamp/m-p/372738#M40423</guid>
      <dc:creator>alexmartinez</dc:creator>
      <dc:date>2020-09-29T16:49:54Z</dc:date>
    </item>
    <item>
      <title>Re: multiline log: break on return char, not timestamp</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/multiline-log-break-on-return-char-not-timestamp/m-p/372739#M40424</link>
      <description>&lt;P&gt;Thanks &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/201110"&gt;@niketn&lt;/a&gt; that worked when i configured a new sourcetype  with that attribute and also  removed the BREAK_ONLY_BEFORE attribute . Then I pointed the datasource to this new sourcetype. Its all working now as expected.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 16:53:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/multiline-log-break-on-return-char-not-timestamp/m-p/372739#M40424</guid>
      <dc:creator>alexmartinez</dc:creator>
      <dc:date>2020-09-29T16:53:52Z</dc:date>
    </item>
    <item>
      <title>Re: multiline log: break on return char, not timestamp</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/multiline-log-break-on-return-char-not-timestamp/m-p/372740#M40425</link>
      <description>&lt;P&gt;@alexmartinez, I have converted to answer, please accept.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Nov 2017 14:43:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/multiline-log-break-on-return-char-not-timestamp/m-p/372740#M40425</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2017-11-17T14:43:43Z</dc:date>
    </item>
    <item>
      <title>Re: multiline log: break on return char, not timestamp</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/multiline-log-break-on-return-char-not-timestamp/m-p/372741#M40426</link>
      <description>&lt;P&gt;@alexmartinez, please accept the answer if your issue is resolved.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Nov 2017 04:34:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/multiline-log-break-on-return-char-not-timestamp/m-p/372741#M40426</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2017-11-24T04:34:41Z</dc:date>
    </item>
  </channel>
</rss>

