<?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: How to determine what Props.conf settings affect line merging in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-determine-what-Props-conf-settings-affect-line-merging/m-p/32592#M5811</link>
    <description>&lt;P&gt;I don't know exactly what is going wrong here, here are some ideas to fix it&lt;BR /&gt;&lt;BR /&gt;
 1. Explicitly tell Splunk to use epoch time&lt;BR /&gt;&lt;BR /&gt;
 2. Add MAX_TIMESTAMP_LOOKAHEAD to your settings&lt;BR /&gt;&lt;BR /&gt;
 3. Tell Splunk that this log contains only single line events&lt;/P&gt;

&lt;P&gt;This will keep Splunk clear about where the timestamp appears in the data, and it will make it process the data more efficiently, too.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[yoursourcetypehere]
SHOULD_LINEMERGE = false
TIME_FORMAT=%s
MAX_TIMESTAMP_LOOKAHEAD = 15
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;would probably do it. All of these settings go in the props.conf file on your indexer. You can put this in your usual local directory - if you are not sure, I suggest &lt;CODE&gt;$SPLUNK_HOME/etc/apps/search/local&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;You could probably just get by with &lt;CODE&gt;SHOULD_LINEMERGE = false&lt;/CODE&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 20 Apr 2012 22:44:36 GMT</pubDate>
    <dc:creator>lguinn2</dc:creator>
    <dc:date>2012-04-20T22:44:36Z</dc:date>
    <item>
      <title>How to determine what Props.conf settings affect line merging</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-determine-what-Props-conf-settings-affect-line-merging/m-p/32591#M5810</link>
      <description>&lt;P&gt;I have two versions of Splunk, v4.3.1 &amp;amp; v4.1.4 Indexing the same data, but only v4.3.1 indexes as a single line event, which is correct.&lt;BR /&gt;
What is the best method to determine what Props.conf file settings are causing the data to stay in multiline events, and not single as needed.&lt;/P&gt;

&lt;P&gt;I have used "&lt;STRONG&gt;splunk cmd btool props list --debug&lt;/STRONG&gt;"&lt;/P&gt;

&lt;P&gt;I have used "&lt;STRONG&gt;splunk test sourcetype /tmp/testfile.txt&lt;/STRONG&gt;"   to understand more of what is being used for sourcetype.&lt;/P&gt;

&lt;P&gt;The data is being pushed from a client installation on a LWF, so I am depending on the Indexer to correctly recognize the timestamp.&lt;/P&gt;

&lt;P&gt;I have the following setup in default Props already: "&lt;STRONG&gt;BREAK_ONLY_BEFORE_DATE = True&lt;/STRONG&gt;"  and with this very straight forward data having the timestamp as the first characters it seems like it shouldn't be confused on how to break lines....but it does. My default installations are pretty generic and don't usually have to do weird stuff to make Splunk work. This is the exception.&lt;/P&gt;

&lt;P&gt;V4.1.4 - exhibits merged events&lt;/P&gt;

&lt;P&gt;[1334880312] PASSIVE HOST CHECK: blah.com;0;Host state confirmed by hostchecker - TCP OK - 0.115 second response time on port 22&lt;/P&gt;

&lt;P&gt;&amp;lt;--- no break in events here --- it just formats weird online.&lt;/P&gt;

&lt;P&gt;[1334880312] HOST ALERT: blah.com;UP;HARD;1;Host state confirmed by hostchecker - TCP OK - 0.115 second response time on port 22&lt;/P&gt;

&lt;P&gt;v4.3.1 - exhibits single line events (correct way to be indexed)&lt;BR /&gt;
[1334954305] SERVICE NOTIFICATION: theparser;blahblah.com;sinfo;CRITICAL;notify-by-parser;Disk_Space_[D:92.0%&amp;gt;=90%] Disk_Space_[E:97.0%&amp;gt;=90%]&lt;/P&gt;

&lt;P&gt;[1334954305] SERVICE NOTIFICATION: theparser;blahblah.com;sinfo;CRITICAL;notify-by-parser;Disk_Space_[E:82.0%&amp;gt;=80%]&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 11:42:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-determine-what-Props-conf-settings-affect-line-merging/m-p/32591#M5810</guid>
      <dc:creator>MasterOogway</dc:creator>
      <dc:date>2020-09-28T11:42:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to determine what Props.conf settings affect line merging</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-determine-what-Props-conf-settings-affect-line-merging/m-p/32592#M5811</link>
      <description>&lt;P&gt;I don't know exactly what is going wrong here, here are some ideas to fix it&lt;BR /&gt;&lt;BR /&gt;
 1. Explicitly tell Splunk to use epoch time&lt;BR /&gt;&lt;BR /&gt;
 2. Add MAX_TIMESTAMP_LOOKAHEAD to your settings&lt;BR /&gt;&lt;BR /&gt;
 3. Tell Splunk that this log contains only single line events&lt;/P&gt;

&lt;P&gt;This will keep Splunk clear about where the timestamp appears in the data, and it will make it process the data more efficiently, too.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[yoursourcetypehere]
SHOULD_LINEMERGE = false
TIME_FORMAT=%s
MAX_TIMESTAMP_LOOKAHEAD = 15
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;would probably do it. All of these settings go in the props.conf file on your indexer. You can put this in your usual local directory - if you are not sure, I suggest &lt;CODE&gt;$SPLUNK_HOME/etc/apps/search/local&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;You could probably just get by with &lt;CODE&gt;SHOULD_LINEMERGE = false&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Apr 2012 22:44:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-determine-what-Props-conf-settings-affect-line-merging/m-p/32592#M5811</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2012-04-20T22:44:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to determine what Props.conf settings affect line merging</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-determine-what-Props-conf-settings-affect-line-merging/m-p/32593#M5812</link>
      <description>&lt;P&gt;I looked back at my btool output and added a statement for [source:///var/log/nagios/nagios.log]&lt;BR /&gt;
SHOULD_LINEMERGE = false &lt;BR /&gt;
explicitly for the nagios logs. Funny thing is I am getting (1) of my (4) serves to index correctly but the other (3) are not. I compared the btool output for each nagios stanza to the server working and they are each identical. Humphhh!&lt;/P&gt;

&lt;P&gt;Thoughts? &lt;/P&gt;

&lt;P&gt;I will keep digging to see if I can see any precedence set from another stanza.&lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Sat, 21 Apr 2012 02:34:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-determine-what-Props-conf-settings-affect-line-merging/m-p/32593#M5812</guid>
      <dc:creator>MasterOogway</dc:creator>
      <dc:date>2012-04-21T02:34:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to determine what Props.conf settings affect line merging</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-determine-what-Props-conf-settings-affect-line-merging/m-p/504689#M86000</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/365"&gt;@MasterOogway&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You were able to solve this problem, I currently have this detail with version 7.2.4.2.&lt;/P&gt;&lt;P&gt;I work in a development environment but when I migrate production environment the sourcetype doesn't recognize me. I already copied and pasted the props but it doesn't work&lt;/P&gt;&lt;P&gt;Your solution would help me a lot.&lt;/P&gt;&lt;P&gt;&lt;A title="My Case" href="https://community.splunk.com/t5/Splunk-Cloud/MultiLine-Event-Line-Breaker/m-p/504155#M28" target="_blank" rel="noopener"&gt;https://community.splunk.com/t5/Splunk-Cloud/MultiLine-Event-Line-Breaker/m-p/504155#M28&lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jun 2020 20:11:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-determine-what-Props-conf-settings-affect-line-merging/m-p/504689#M86000</guid>
      <dc:creator>CarolinaHB</dc:creator>
      <dc:date>2020-06-16T20:11:58Z</dc:date>
    </item>
  </channel>
</rss>

