<?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: props.conf for SAP SAL / Splunk thinks it is binary in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/props-conf-for-SAP-SAL-Splunk-thinks-it-is-binary/m-p/387665#M69499</link>
    <description>&lt;P&gt;Interestingly enough, I had seen other SAP specific props.conf files that mentioned UTF-16BE and setting NO_BINARY_CHECK=true.&lt;BR /&gt;
It turns out they where wrong.&lt;BR /&gt;
This made it work for me:   &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; [sap:sal]
 category = Custom
 LINE_BREAKER=.()2AU
 CHARSET=AUTO
 TIME_PREFIX=2AU.
 TIME_FORMAT=%Y%m%d%H%M%S
 SHOULD_LINEMERGE = false
 NO_BINARY_CHECK=0
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;And, most important, &lt;STRONG&gt;&lt;EM&gt;push the props.conf file also to the forwarder&lt;/EM&gt;&lt;/STRONG&gt;!&lt;/P&gt;

&lt;P&gt;cheers&lt;BR /&gt;
afx&lt;/P&gt;</description>
    <pubDate>Wed, 30 Sep 2020 00:40:57 GMT</pubDate>
    <dc:creator>afx</dc:creator>
    <dc:date>2020-09-30T00:40:57Z</dc:date>
    <item>
      <title>props.conf for SAP SAL / Splunk thinks it is binary</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/props-conf-for-SAP-SAL-Splunk-thinks-it-is-binary/m-p/387661#M69495</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;
my props.conf for reading the SAP Security Audit Log looks like this:&lt;/P&gt;

&lt;P&gt;[sap:sal]&lt;BR /&gt;
category = Custom&lt;BR /&gt;
LINE_BREAKER=.()2AU&lt;BR /&gt;
CHARSET=utf-16be&lt;BR /&gt;
TIME_PREFIX=2AU.&lt;BR /&gt;
TIME_FORMAT=%Y%m%d%H%M%S&lt;BR /&gt;
SHOULD_LINEMERGE = false&lt;BR /&gt;
NO_BINARY_CHECK=1&lt;/P&gt;

&lt;P&gt;But I get the following from tailreader:&lt;BR /&gt;
05-27-2019 11:34:35.118 +0200 WARN  FileClassifierManager - The file '/sapmnt/SAPK/audit/SAL/DS01/audit_01_20190527_000001' is invalid. Reason: binary.&lt;BR /&gt;
05-27-2019 11:34:35.118 +0200 INFO  TailReader - Ignoring file '/sapmnt/SAPK/audit/SAL/DS01/audit_01_20190527_000001' due to: binary&lt;/P&gt;

&lt;P&gt;Any ideas?&lt;BR /&gt;
thx&lt;BR /&gt;
afx&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 00:40:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/props-conf-for-SAP-SAL-Splunk-thinks-it-is-binary/m-p/387661#M69495</guid>
      <dc:creator>afx</dc:creator>
      <dc:date>2020-09-30T00:40:39Z</dc:date>
    </item>
    <item>
      <title>Re: props.conf for SAP SAL / Splunk thinks it is binary</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/props-conf-for-SAP-SAL-Splunk-thinks-it-is-binary/m-p/387662#M69496</link>
      <description>&lt;P&gt;what's ur raw data?&lt;/P&gt;</description>
      <pubDate>Mon, 27 May 2019 10:00:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/props-conf-for-SAP-SAL-Splunk-thinks-it-is-binary/m-p/387662#M69496</guid>
      <dc:creator>koshyk</dc:creator>
      <dc:date>2019-05-27T10:00:29Z</dc:date>
    </item>
    <item>
      <title>Re: props.conf for SAP SAL / Splunk thinks it is binary</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/props-conf-for-SAP-SAL-Splunk-thinks-it-is-binary/m-p/387663#M69497</link>
      <description>&lt;P&gt;As I wrote above, standard SAP Audit Log.&lt;/P&gt;

&lt;P&gt;$ od -A x -t x1z -v audit_01_20190527_000001 | head&lt;BR /&gt;
000000 32 00 41 00 55 00 31 00 32 00 30 00 31 00 39 00  &amp;gt;2.A.U.1.2.0.1.9.&amp;lt;&lt;BR /&gt;
000010 30 00 35 00 32 00 37 00 30 00 30 00 30 00 30 00  &amp;gt;0.5.2.7.0.0.0.0.&amp;lt;&lt;BR /&gt;
000020 30 00 31 00 30 00 30 00 30 00 36 00 35 00 38 00  &amp;gt;0.1.0.0.0.6.5.8.&amp;lt;&lt;BR /&gt;
000030 39 00 30 00 30 00 30 00 30 00 39 00 44 00 39 00  &amp;gt;9.0.0.0.0.9.D.9.&amp;lt;&lt;BR /&gt;
000040 31 00 30 00 2e 00 34 00 32 00 2e 00 32 00 34 00  &amp;gt;1.0...4.2...2.4.&amp;lt;&lt;BR /&gt;
000050 59 00 31 00 36 00 31 00 39 00 20 00 20 00 20 00  &amp;gt;Y.1.6.1.9. . . .&amp;lt;&lt;BR /&gt;
000060 20 00 20 00 20 00 20 00 20 00 20 00 20 00 20 00  &amp;gt; . . . . . . . .&amp;lt;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 00:40:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/props-conf-for-SAP-SAL-Splunk-thinks-it-is-binary/m-p/387663#M69497</guid>
      <dc:creator>afx</dc:creator>
      <dc:date>2020-09-30T00:40:44Z</dc:date>
    </item>
    <item>
      <title>Re: props.conf for SAP SAL / Splunk thinks it is binary</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/props-conf-for-SAP-SAL-Splunk-thinks-it-is-binary/m-p/387664#M69498</link>
      <description>&lt;P&gt;Hi @afx,&lt;/P&gt;

&lt;P&gt;Since you have &lt;CODE&gt;NO_BINARY_CHECK=true&lt;/CODE&gt; it could be the encoding of the file that's causing the problem. &lt;/P&gt;

&lt;P&gt;Check this answer out :&lt;BR /&gt;
&lt;A href="https://answers.splunk.com/answers/373137/why-does-splunk-think-my-file-is-binary.html"&gt;https://answers.splunk.com/answers/373137/why-does-splunk-think-my-file-is-binary.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;So you could try to set CHARSET=AUTO or selecting the appropriate charset from the link below:&lt;BR /&gt;
&lt;A href="https://docs.splunk.com/Documentation/Splunk/6.3.3/data/Configurecharactersetencoding#Comprehensive_list_of_supported_character_sets"&gt;https://docs.splunk.com/Documentation/Splunk/6.3.3/data/Configurecharactersetencoding#Comprehensive_list_of_supported_character_sets&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Cheers,&lt;BR /&gt;
David&lt;/P&gt;</description>
      <pubDate>Mon, 27 May 2019 11:49:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/props-conf-for-SAP-SAL-Splunk-thinks-it-is-binary/m-p/387664#M69498</guid>
      <dc:creator>DavidHourani</dc:creator>
      <dc:date>2019-05-27T11:49:14Z</dc:date>
    </item>
    <item>
      <title>Re: props.conf for SAP SAL / Splunk thinks it is binary</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/props-conf-for-SAP-SAL-Splunk-thinks-it-is-binary/m-p/387665#M69499</link>
      <description>&lt;P&gt;Interestingly enough, I had seen other SAP specific props.conf files that mentioned UTF-16BE and setting NO_BINARY_CHECK=true.&lt;BR /&gt;
It turns out they where wrong.&lt;BR /&gt;
This made it work for me:   &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; [sap:sal]
 category = Custom
 LINE_BREAKER=.()2AU
 CHARSET=AUTO
 TIME_PREFIX=2AU.
 TIME_FORMAT=%Y%m%d%H%M%S
 SHOULD_LINEMERGE = false
 NO_BINARY_CHECK=0
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;And, most important, &lt;STRONG&gt;&lt;EM&gt;push the props.conf file also to the forwarder&lt;/EM&gt;&lt;/STRONG&gt;!&lt;/P&gt;

&lt;P&gt;cheers&lt;BR /&gt;
afx&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 00:40:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/props-conf-for-SAP-SAL-Splunk-thinks-it-is-binary/m-p/387665#M69499</guid>
      <dc:creator>afx</dc:creator>
      <dc:date>2020-09-30T00:40:57Z</dc:date>
    </item>
    <item>
      <title>Re: props.conf for SAP SAL / Splunk thinks it is binary</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/props-conf-for-SAP-SAL-Splunk-thinks-it-is-binary/m-p/387666#M69500</link>
      <description>&lt;P&gt;OK, posted a refinement here:  &lt;A href="https://answers.splunk.com/answers/757714/how-to-splunk-the-sap-security-audit-log.html"&gt;https://answers.splunk.com/answers/757714/how-to-splunk-the-sap-security-audit-log.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jul 2019 12:37:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/props-conf-for-SAP-SAL-Splunk-thinks-it-is-binary/m-p/387666#M69500</guid>
      <dc:creator>afx</dc:creator>
      <dc:date>2019-07-08T12:37:19Z</dc:date>
    </item>
  </channel>
</rss>

