<?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 Can you help me configure props.conf to linebreak the following SQL statement? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Can-you-help-me-configure-props-conf-to-linebreak-the-following/m-p/459610#M79370</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I have the following log lines (SQL statements) coming from one of the source files into my index:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;#TRUNCATE TABLE "/BI0/0600000300"
208028;797;0;893476090372217;8fd4bddbec78f21b5e80a22756f1f082;SAPBWP;7:(D/C/I)######;1541415299457229;11306;;0;;B9D44D5CE0E411E8864E00000D7B145E;25b492e2e0e911e8afd900000d7b145e;5BDFCC8F6D947536E10000000A433AF3;1;37:CL_SQL_STATEMENT==============CP:1163;8:ABAP:BWP;0;6:SAPBWP;
#TRUNCATE TABLE "/BI0/0600000134"
204559;228;0;878577980540115;18718668973202396e3f9760d92a6ad0;SAPBWP;7:(D/C/I)######;1541415299540417;6549;;0;;F00A371EE0E811E88B1200000D7B14C2;2bd1a5abe0e911e8cf6700000d7b14c2;23EEBB50E0E911E8C538F8790A433AF7;72;37:CL_SQL_STATEMENT==============CP:1163;8:ABAP:BWP;0;6:SAPBWP;
#TRUNCATE TABLE "/BI0/0600000368"
239305;1813;0;1027807627168023;2169a1f7b0a4a7a41201ce02a8128bc6;SAPBWP;7:(D/C/I)######;1541415299665464;10308;;0;;B9D44D5CE0E411E8864E00000D7B145E;25b492e2e0e911e8afd900000d7b145e;5BDFAF6F6C63701BE10000000A433AF3;1;37:CL_SQL_STATEMENT==============CP:1163;8:ABAP:BWP;0;6:SAPBWP;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Splunk puts it all into one event.&lt;BR /&gt;
How would I configure the props.conf to tell Splunk to create separate events for each statement, which would be here a line beginning with # sign?&lt;/P&gt;

&lt;P&gt;It's important that this is only for one file (source). The rest of the files should get recognized properly. Is there a way to set the event boundaries per file type ingested?&lt;/P&gt;

&lt;P&gt;Kind Regards,&lt;BR /&gt;
Kamil&lt;/P&gt;</description>
    <pubDate>Mon, 05 Nov 2018 23:15:42 GMT</pubDate>
    <dc:creator>damucka</dc:creator>
    <dc:date>2018-11-05T23:15:42Z</dc:date>
    <item>
      <title>Can you help me configure props.conf to linebreak the following SQL statement?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-you-help-me-configure-props-conf-to-linebreak-the-following/m-p/459610#M79370</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I have the following log lines (SQL statements) coming from one of the source files into my index:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;#TRUNCATE TABLE "/BI0/0600000300"
208028;797;0;893476090372217;8fd4bddbec78f21b5e80a22756f1f082;SAPBWP;7:(D/C/I)######;1541415299457229;11306;;0;;B9D44D5CE0E411E8864E00000D7B145E;25b492e2e0e911e8afd900000d7b145e;5BDFCC8F6D947536E10000000A433AF3;1;37:CL_SQL_STATEMENT==============CP:1163;8:ABAP:BWP;0;6:SAPBWP;
#TRUNCATE TABLE "/BI0/0600000134"
204559;228;0;878577980540115;18718668973202396e3f9760d92a6ad0;SAPBWP;7:(D/C/I)######;1541415299540417;6549;;0;;F00A371EE0E811E88B1200000D7B14C2;2bd1a5abe0e911e8cf6700000d7b14c2;23EEBB50E0E911E8C538F8790A433AF7;72;37:CL_SQL_STATEMENT==============CP:1163;8:ABAP:BWP;0;6:SAPBWP;
#TRUNCATE TABLE "/BI0/0600000368"
239305;1813;0;1027807627168023;2169a1f7b0a4a7a41201ce02a8128bc6;SAPBWP;7:(D/C/I)######;1541415299665464;10308;;0;;B9D44D5CE0E411E8864E00000D7B145E;25b492e2e0e911e8afd900000d7b145e;5BDFAF6F6C63701BE10000000A433AF3;1;37:CL_SQL_STATEMENT==============CP:1163;8:ABAP:BWP;0;6:SAPBWP;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Splunk puts it all into one event.&lt;BR /&gt;
How would I configure the props.conf to tell Splunk to create separate events for each statement, which would be here a line beginning with # sign?&lt;/P&gt;

&lt;P&gt;It's important that this is only for one file (source). The rest of the files should get recognized properly. Is there a way to set the event boundaries per file type ingested?&lt;/P&gt;

&lt;P&gt;Kind Regards,&lt;BR /&gt;
Kamil&lt;/P&gt;</description>
      <pubDate>Mon, 05 Nov 2018 23:15:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-you-help-me-configure-props-conf-to-linebreak-the-following/m-p/459610#M79370</guid>
      <dc:creator>damucka</dc:creator>
      <dc:date>2018-11-05T23:15:42Z</dc:date>
    </item>
    <item>
      <title>Re: Can you help me configure props.conf to linebreak the following SQL statement?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-you-help-me-configure-props-conf-to-linebreak-the-following/m-p/459611#M79371</link>
      <description>&lt;P&gt;Please try -&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[&amp;lt;your sourcetype&amp;gt;] 
disabled=false 
LINE_BREAKER=^#
SHOULD_LINEMERGE=false 
&lt;/CODE&gt;&lt;/PRE&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/6047iE25BF974DA9C5DC8/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>Tue, 06 Nov 2018 00:36:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-you-help-me-configure-props-conf-to-linebreak-the-following/m-p/459611#M79371</guid>
      <dc:creator>ddrillic</dc:creator>
      <dc:date>2018-11-06T00:36:25Z</dc:date>
    </item>
    <item>
      <title>Re: Can you help me configure props.conf to linebreak the following SQL statement?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-you-help-me-configure-props-conf-to-linebreak-the-following/m-p/459612#M79372</link>
      <description>&lt;P&gt;@damucka - have you tried it by any chance?&lt;/P&gt;</description>
      <pubDate>Tue, 06 Nov 2018 23:23:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-you-help-me-configure-props-conf-to-linebreak-the-following/m-p/459612#M79372</guid>
      <dc:creator>ddrillic</dc:creator>
      <dc:date>2018-11-06T23:23:30Z</dc:date>
    </item>
    <item>
      <title>Re: Can you help me configure props.conf to linebreak the following SQL statement?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-you-help-me-configure-props-conf-to-linebreak-the-following/m-p/459613#M79373</link>
      <description>&lt;P&gt;Hello @ddrillic&lt;/P&gt;

&lt;P&gt;Thank you for your answer.&lt;BR /&gt;
In the meantime I realized that my logfile looks a bit different and the line breaker should be the empty line and not a hash sign, the line with the hash is actually the last one.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;218330;987;0;937722769408999;e4cffe25f6e83e37671d5edf961d0cd5;SAPBWP;8:BWREMOTE;1541498512374808;2002;;0;;40F2E99714821ED8B69FFF6A240E24E3;60B0935984750310E005BE144DBB7E18;00000000000000
000000000000000000;0;37:CL_SQL_STATEMENT==============CP:1163;8:ABAP:BWT;0;6:SAPBWP;
#TRUNCATE TABLE "TESTDATRNRPARTS"

218330;987;0;937722455015181;b8acdc65f2da6ecc147a5d7457a24714;SAPBWP;8:BWREMOTE;1541498513021804;1944;;0;;40F2E99714821ED8B69FFF6A240E24E3;60B0935984750310E005BE144DBB7E18;00000000000000
000000000000000000;0;37:CL_SQL_STATEMENT==============CP:1163;8:ABAP:BWT;0;6:SAPBWP;
#TRUNCATE TABLE "TESTDATRNRPARTT"

218330;987;0;937722603342999;f5ede1d4fc60153431c09208e3d2b854;SAPBWP;8:BWREMOTE;1541498513110544;2044;;0;;40F2E99714821ED8B69FFF6A240E24E3;60B0935984750310E005BE144DBB7E18;00000000000000
000000000000000000;0;37:CL_SQL_STATEMENT==============CP:1163;8:ABAP:BWT;0;6:SAPBWP;
#TRUNCATE TABLE "TESTDATRNRPARTU"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;So, like first all the parmeters of the SQL sttement and then the SQL itself followed by the hash.&lt;BR /&gt;
For that I found the following line breaker pattern in one of the Splunk Answers:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[ISP_statements]
SHOULD_LINEMERGE = false
LINE_BREAKER = ((?:\r?\n){2,})
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I am going to try it and let you know if it worked. I am bit dependant here on my Splunk admin, cannot do it myself so it an take a while.&lt;BR /&gt;
Thank you for your support.&lt;/P&gt;

&lt;P&gt;BR, Kamil&lt;/P&gt;</description>
      <pubDate>Wed, 07 Nov 2018 05:12:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-you-help-me-configure-props-conf-to-linebreak-the-following/m-p/459613#M79373</guid>
      <dc:creator>damucka</dc:creator>
      <dc:date>2018-11-07T05:12:27Z</dc:date>
    </item>
  </channel>
</rss>

