<?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: Some Single Line Messages Are Merged into a Single Event in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Some-Single-Line-Messages-Are-Merged-into-a-Single-Event/m-p/52358#M10065</link>
    <description>&lt;P&gt;We only have a single indexer, and these logs are only present on one server.&lt;/P&gt;

&lt;P&gt;I worked some with engineers in efnet and this updated props does not work either. (I modified the log format to have the epoch timestamp first.)&lt;/P&gt;

&lt;P&gt;etc/users/admin/search/local/props.conf&lt;/P&gt;

&lt;P&gt;[applogic-dashboard-msg]&lt;BR /&gt;
SHOULD_LINEMERGE=false&lt;BR /&gt;
TIME_FORMAT=%s&lt;BR /&gt;
EXTRACT-timestamp-grid-id-name-severity-text = ^[0-9]+ :: (?P&lt;GRID&gt;[^ ]+) :: (?P&lt;ID&gt;[^ ]+) :: (?P&lt;NAME&gt;[^ ]+) :: (?P&lt;SEVERITY&gt;[^ ]+) :: (?P&lt;TEXT&gt;[^\n]+)&lt;/TEXT&gt;&lt;/SEVERITY&gt;&lt;/NAME&gt;&lt;/ID&gt;&lt;/GRID&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 12:54:21 GMT</pubDate>
    <dc:creator>fandingo</dc:creator>
    <dc:date>2020-09-28T12:54:21Z</dc:date>
    <item>
      <title>Some Single Line Messages Are Merged into a Single Event</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Some-Single-Line-Messages-Are-Merged-into-a-Single-Event/m-p/52354#M10061</link>
      <description>&lt;P&gt;I'm working with data that looks like this:&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;QA4 :: 1354371771 :: 020_grid_progress :: M020_grid_progress :: alert :: Grid recovery completed on Sat Dec  1 09:22:49 2012: There were 17 active application(s) when the grid controller went down. 3 application(s) have been recovered. The state of 11 applications has been reacquired.3 application(s) failed to be recovered. See the controller system log for details. QA4 :: 350399612 :: 050_filer_status :: M050_filer_status :: info :: Internal condition 'filer status' occurred. This condition should not affect the operation of your grid. Please notify support that this error has occurred and reference SCR2301.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;Each event ends with a UNIX newline (\n), and I've verified that the newline is always properly set.&lt;/P&gt;

&lt;P&gt;The weird part is that Splunk sometimes merges events. Here is how Splunk has interpreted the data. I used the JSON export from Splunk because it shows the newline character.&lt;/P&gt;

&lt;P&gt;{"preview":false,"result":{"&lt;EM&gt;raw":"QA4 :: 1354382431 :: 070_vol_maint :: M070_vol_maint :: info :: Volume check completed on Sat Dec  1 12:20:30 2012.  Volume maintenance is required.  Found 8 unused volumes.\nQA4 :: 1354370459 :: 500_3tctlmon_report :: M500_3tctlmon_report :: alert :: Controller restarted on Sat Dec  1 09:00:10 2012 because of an unexpected shutdown.  Please note that this failure has no effect on the applications that may be running on the grid. Please contact technical support. ","_time":"2012-12-01T12:20:30.000-0600","date_hour":"12","date_mday":"1","date_minute":"20","date_month":"december","date_second":"30","date_wday":"saturday","date_year":"2012","date_zone":"local","host":"dc2opsdashqa01","index":"main","linecount":"2","punct":"&lt;/EM&gt;::&lt;STRONG&gt;::&lt;/STRONG&gt;::&lt;STRONG&gt;::&lt;/STRONG&gt;::______&lt;STRONG&gt;&lt;EM&gt;::&lt;/EM&gt;.&lt;/STRONG&gt;&lt;STRONG&gt;&lt;EM&gt;.&lt;/EM&gt;&lt;/STRONG&gt;&lt;STRONG&gt;._::&lt;/STRONG&gt;:","source":"/var/log/applogic-dashboard-messages.log","sourcetype":"applogic-dashboard-msg","splunk_server":"dc2mgmtsplqa01","timeendpos":"114","timestartpos":"94"}}&lt;/P&gt;

&lt;P&gt;{"preview":false,"result":{"&lt;EM&gt;raw":"QA2 :: 1354382375 :: 070_vol_maint :: M070_vol_maint :: info :: Volume check completed on Sat Dec  1 12:19:34 2012.  Volume maintenance is required.  Found 74 unused volumes.","_time":"2012-12-01T12:19:34.000-0600","date_hour":"12","date_mday":"1","date_minute":"19","date_month":"december","date_second":"34","date_wday":"saturday","date_year":"2012","date_zone":"local","host":"dc2opsdashqa01","index":"main","linecount":"1","punct":"&lt;/EM&gt;::&lt;STRONG&gt;::&lt;/STRONG&gt;::&lt;STRONG&gt;::&lt;/STRONG&gt;::______&lt;STRONG&gt;&lt;EM&gt;::&lt;/EM&gt;.&lt;/STRONG&gt;&lt;STRONG&gt;&lt;EM&gt;.&lt;/EM&gt;&lt;/STRONG&gt;__.","source":"/var/log/applogic-dashboard-messages.log","sourcetype":"applogic-dashboard-msg","splunk_server":"dc2mgmtsplqa01","timeendpos":"114","timestartpos":"94"}}&lt;/P&gt;

&lt;P&gt;Notice how the first event actually includes two. (Look for "\nQA4" in it.)&lt;/P&gt;

&lt;P&gt;Why has Splunk combined the first two messages, but properly splits the third one into a separate event? Is there anything I can do to force a split on "\n"?&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 12:54:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Some-Single-Line-Messages-Are-Merged-into-a-Single-Event/m-p/52354#M10061</guid>
      <dc:creator>fandingo</dc:creator>
      <dc:date>2020-09-28T12:54:15Z</dc:date>
    </item>
    <item>
      <title>Re: Some Single Line Messages Are Merged into a Single Event</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Some-Single-Line-Messages-Are-Merged-into-a-Single-Event/m-p/52355#M10062</link>
      <description>&lt;P&gt;setup a sourcetype for your events, that disable the multiline detection.&lt;BR /&gt;
in prop.conf&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;[mysourcetype]&lt;BR /&gt;
SHOULD_LINEMERGE=false&lt;BR /&gt;
&lt;/CODE&gt;&lt;BR /&gt;
see &lt;A href="http://docs.splunk.com/Documentation/Splunk/5.0.1/Data/IndexMulti-lineEvents"&gt;http://docs.splunk.com/Documentation/Splunk/5.0.1/Data/IndexMulti-lineEvents&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Dec 2012 18:50:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Some-Single-Line-Messages-Are-Merged-into-a-Single-Event/m-p/52355#M10062</guid>
      <dc:creator>yannK</dc:creator>
      <dc:date>2012-12-03T18:50:12Z</dc:date>
    </item>
    <item>
      <title>Re: Some Single Line Messages Are Merged into a Single Event</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Some-Single-Line-Messages-Are-Merged-into-a-Single-Event/m-p/52356#M10063</link>
      <description>&lt;P&gt;Thanks for the reply, but that did not fix the problem. My props.conf is now:&lt;/P&gt;

&lt;P&gt;[applogic-msg]&lt;BR /&gt;
SHOULD_LINEMERGE=false&lt;BR /&gt;
EXTRACT-grid-timestamp-id-name-severity = ^(?P&lt;GRID&gt;[^ ]+) :: (?P&lt;TIMESTAMP&gt;[0-9]+) :: (?P&lt;ID&gt;[^ ]+) :: (?P&lt;NAME&gt;[^ ]+) :: (?P&lt;SEVERITY&gt;[^ ]+) :: (?P&lt;TEXT&gt;[^\n]+)&lt;/TEXT&gt;&lt;/SEVERITY&gt;&lt;/NAME&gt;&lt;/ID&gt;&lt;/TIMESTAMP&gt;&lt;/GRID&gt;&lt;/P&gt;

&lt;P&gt;I appended the messages from earlier to this file, but some of them (including the example in my question) are still merged.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Dec 2012 20:47:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Some-Single-Line-Messages-Are-Merged-into-a-Single-Event/m-p/52356#M10063</guid>
      <dc:creator>fandingo</dc:creator>
      <dc:date>2012-12-03T20:47:44Z</dc:date>
    </item>
    <item>
      <title>Re: Some Single Line Messages Are Merged into a Single Event</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Some-Single-Line-Messages-Are-Merged-into-a-Single-Event/m-p/52357#M10064</link>
      <description>&lt;P&gt;Do you have multiple forwarders and indexers ? &lt;BR /&gt;
The props.conf has to be on the indexer (for index time parameters)&lt;/P&gt;</description>
      <pubDate>Mon, 03 Dec 2012 21:00:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Some-Single-Line-Messages-Are-Merged-into-a-Single-Event/m-p/52357#M10064</guid>
      <dc:creator>yannK</dc:creator>
      <dc:date>2012-12-03T21:00:09Z</dc:date>
    </item>
    <item>
      <title>Re: Some Single Line Messages Are Merged into a Single Event</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Some-Single-Line-Messages-Are-Merged-into-a-Single-Event/m-p/52358#M10065</link>
      <description>&lt;P&gt;We only have a single indexer, and these logs are only present on one server.&lt;/P&gt;

&lt;P&gt;I worked some with engineers in efnet and this updated props does not work either. (I modified the log format to have the epoch timestamp first.)&lt;/P&gt;

&lt;P&gt;etc/users/admin/search/local/props.conf&lt;/P&gt;

&lt;P&gt;[applogic-dashboard-msg]&lt;BR /&gt;
SHOULD_LINEMERGE=false&lt;BR /&gt;
TIME_FORMAT=%s&lt;BR /&gt;
EXTRACT-timestamp-grid-id-name-severity-text = ^[0-9]+ :: (?P&lt;GRID&gt;[^ ]+) :: (?P&lt;ID&gt;[^ ]+) :: (?P&lt;NAME&gt;[^ ]+) :: (?P&lt;SEVERITY&gt;[^ ]+) :: (?P&lt;TEXT&gt;[^\n]+)&lt;/TEXT&gt;&lt;/SEVERITY&gt;&lt;/NAME&gt;&lt;/ID&gt;&lt;/GRID&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 12:54:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Some-Single-Line-Messages-Are-Merged-into-a-Single-Event/m-p/52358#M10065</guid>
      <dc:creator>fandingo</dc:creator>
      <dc:date>2020-09-28T12:54:21Z</dc:date>
    </item>
    <item>
      <title>Re: Some Single Line Messages Are Merged into a Single Event</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Some-Single-Line-Messages-Are-Merged-into-a-Single-Event/m-p/52359#M10066</link>
      <description>&lt;P&gt;Once Splunk has indexed data, it will not change it. So you will need to clean the events from the index and re-index the source data in order to make the changes.&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;./splunk clean eventdata -index yourindex&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;will do the trick - although Splunk will re-index &lt;EM&gt;everything&lt;/EM&gt; in that index and this might be an issue for your license.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Dec 2012 23:22:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Some-Single-Line-Messages-Are-Merged-into-a-Single-Event/m-p/52359#M10066</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2012-12-03T23:22:26Z</dc:date>
    </item>
    <item>
      <title>Re: Some Single Line Messages Are Merged into a Single Event</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Some-Single-Line-Messages-Are-Merged-into-a-Single-Event/m-p/52360#M10067</link>
      <description>&lt;P&gt;I have been clearing the data every time, and the re-indexed messages aren't affected. I've also run the data through "| sort -R" on the shell before Splunk picks it up. Each time, it's completely different messages that are merged, so there's nothing weird happening with the line endings.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Dec 2012 04:10:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Some-Single-Line-Messages-Are-Merged-into-a-Single-Event/m-p/52360#M10067</guid>
      <dc:creator>fandingo</dc:creator>
      <dc:date>2012-12-04T04:10:37Z</dc:date>
    </item>
  </channel>
</rss>

