<?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: Issues Indexing SAP System Log (SM21) in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Issues-Indexing-SAP-System-Log-SM21/m-p/749612#M119093</link>
    <description>&lt;P&gt;Since when is the SAL a CSV file? It is a perverted UTF16 fixed record monstrosity.&lt;/P&gt;&lt;P&gt;Please read my old post on splunking the SAP log that the OP referenced to understand what is going on.&lt;/P&gt;</description>
    <pubDate>Fri, 11 Jul 2025 09:35:17 GMT</pubDate>
    <dc:creator>afx</dc:creator>
    <dc:date>2025-07-11T09:35:17Z</dc:date>
    <item>
      <title>Issues Indexing SAP System Log (SM21)</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Issues-Indexing-SAP-System-Log-SM21/m-p/749320#M119059</link>
      <description>&lt;P&gt;Dear splunk community,&lt;/P&gt;&lt;P&gt;After successfully implementing the input from &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/177530"&gt;@afx&lt;/a&gt;&amp;nbsp;:&lt;/P&gt;&lt;P&gt;"&lt;A href="https://community.splunk.com/t5/Getting-Data-In/How-to-Splunk-the-SAP-Security-Audit-Log/m-p/744899#M118415" target="_self"&gt;How to Splunk the SAP Security Audit Log&lt;/A&gt;"&lt;/P&gt;&lt;P&gt;I was encouraged to implement the SAP system log (SM21) on my own.&lt;/P&gt;&lt;P&gt;So far, I have managed to send the log to SPLUNK, but given the log's encoding system, I am unable to process it correctly in SPLUNK.&lt;/P&gt;&lt;P&gt;Most likely, my error lies in the transforms.conf or props.conf.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;props.conf&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[sap:systemlog]
category = Custom
REPORT-SYS = REPORT-SYS

EXTRACT-fields = ^(?&amp;lt;Prefix&amp;gt;.{3})(?&amp;lt;Date&amp;gt;.{8})(?&amp;lt;Time&amp;gt;.{6})(?&amp;lt;Code&amp;gt;\w\w)(?&amp;lt;Field1&amp;gt;.{5})(?&amp;lt;Field2&amp;gt;.{2})(?&amp;lt;Field3&amp;gt;.{3})(?&amp;lt;Field4&amp;gt;.)(?&amp;lt;Field5&amp;gt;.)(?&amp;lt;Field6&amp;gt;.{8})(?&amp;lt;Field7&amp;gt;.{12})(?&amp;lt;Field8&amp;gt;.{20})(?&amp;lt;Field9&amp;gt;.{40})(?&amp;lt;Field10&amp;gt;.{3})(?&amp;lt;Field11&amp;gt;.)(?&amp;lt;Field12&amp;gt;.{64})(?&amp;lt;Field13&amp;gt;.{20})

LOOKUP-auto_sm21 = sm21 message_id AS message_id OUTPUTNEW area AS area subid AS subid ps_posid AS ps_posid &lt;/LI-CODE&gt;&lt;P&gt;transforms.conf&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[REPORT-SYS]
DELIMS = "|"
FIELDS = "message_id","date","time","term1","os_process_id","term2","work_process_number","type_process","term3","term4","user","term5","program","client","session","variable","term6","term7","term8","term9","id_tran","id_cont","id_cone"

 

[sm21]
batch_index_query = 0
case_sensitive_match = 1
filename = sm21.csv&lt;/LI-CODE&gt;&lt;P&gt;&lt;SPAN&gt;Has anyone experienced a similar issue to mine?&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jul 2025 16:12:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Issues-Indexing-SAP-System-Log-SM21/m-p/749320#M119059</guid>
      <dc:creator>SPLAUR</dc:creator>
      <dc:date>2025-07-07T16:12:00Z</dc:date>
    </item>
    <item>
      <title>Re: Issues Indexing SAP System Log (SM21)</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Issues-Indexing-SAP-System-Log-SM21/m-p/749322#M119060</link>
      <description>&lt;P&gt;The data is a simple CSV file so the props just need to specify that.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[sap:systemlog]
INDEXED_EXTRACTIONS = csv
DATETIME_CONFIG = CURRENT&lt;/LI-CODE&gt;&lt;P&gt;No need for &lt;FONT face="courier new,courier"&gt;REPORT&lt;/FONT&gt; or &lt;FONT face="courier new,courier"&gt;EXTRACT&lt;/FONT&gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jul 2025 17:01:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Issues-Indexing-SAP-System-Log-SM21/m-p/749322#M119060</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2025-07-07T17:01:30Z</dc:date>
    </item>
    <item>
      <title>Re: Issues Indexing SAP System Log (SM21)</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Issues-Indexing-SAP-System-Log-SM21/m-p/749611#M119092</link>
      <description>&lt;P&gt;Hi Splaur,&lt;/P&gt;&lt;P&gt;me thinks your&amp;nbsp;EXTRACT-fields is not needed, that action is performed in the transforms.conf file via&amp;nbsp;REPORT-SAP-Delim which refers to the line seperators generated via&amp;nbsp;add_separators.&lt;/P&gt;&lt;P&gt;Please reread the example and stick to it also in all the names until it works. That should get you going.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jul 2025 09:33:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Issues-Indexing-SAP-System-Log-SM21/m-p/749611#M119092</guid>
      <dc:creator>afx</dc:creator>
      <dc:date>2025-07-11T09:33:21Z</dc:date>
    </item>
    <item>
      <title>Re: Issues Indexing SAP System Log (SM21)</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Issues-Indexing-SAP-System-Log-SM21/m-p/749612#M119093</link>
      <description>&lt;P&gt;Since when is the SAL a CSV file? It is a perverted UTF16 fixed record monstrosity.&lt;/P&gt;&lt;P&gt;Please read my old post on splunking the SAP log that the OP referenced to understand what is going on.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jul 2025 09:35:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Issues-Indexing-SAP-System-Log-SM21/m-p/749612#M119093</guid>
      <dc:creator>afx</dc:creator>
      <dc:date>2025-07-11T09:35:17Z</dc:date>
    </item>
    <item>
      <title>Re: Issues Indexing SAP System Log (SM21)</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Issues-Indexing-SAP-System-Log-SM21/m-p/749624#M119096</link>
      <description>&lt;P&gt;You're right.&amp;nbsp; I took the sm21.txt file in the OP to be sample data rather than a lookup table.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jul 2025 11:44:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Issues-Indexing-SAP-System-Log-SM21/m-p/749624#M119096</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2025-07-11T11:44:23Z</dc:date>
    </item>
    <item>
      <title>Re: Issues Indexing SAP System Log (SM21)</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Issues-Indexing-SAP-System-Log-SM21/m-p/749625#M119097</link>
      <description>&lt;P&gt;Reading too fast happens to the best of us &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jul 2025 11:51:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Issues-Indexing-SAP-System-Log-SM21/m-p/749625#M119097</guid>
      <dc:creator>afx</dc:creator>
      <dc:date>2025-07-11T11:51:08Z</dc:date>
    </item>
    <item>
      <title>Re: Issues Indexing SAP System Log (SM21)</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Issues-Indexing-SAP-System-Log-SM21/m-p/749626#M119098</link>
      <description>&lt;P&gt;Totally forgot to post this..&lt;/P&gt;&lt;P&gt;At WallSec someone put up a more complete writeup:&amp;nbsp;&lt;A href="https://www.wallsec.de/blog/siem-your-sap-security-audit-log-with-splunk" target="_blank"&gt;WALLSEC IT SECURITY - SIEM Your SAP Security Audit Log with SPLUNK&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Might be easier to understand for some people than my ramblings.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jul 2025 11:55:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Issues-Indexing-SAP-System-Log-SM21/m-p/749626#M119098</guid>
      <dc:creator>afx</dc:creator>
      <dc:date>2025-07-11T11:55:09Z</dc:date>
    </item>
    <item>
      <title>Re: Issues Indexing SAP System Log (SM21)</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Issues-Indexing-SAP-System-Log-SM21/m-p/761332#M120537</link>
      <description>&lt;P&gt;If you're looking to ingest ALL sap logs, metrics, and traces, you should also investigate PowerConnect. It's amazing!&lt;/P&gt;</description>
      <pubDate>Fri, 29 May 2026 14:39:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Issues-Indexing-SAP-System-Log-SM21/m-p/761332#M120537</guid>
      <dc:creator>Dare2SplunkSAP</dc:creator>
      <dc:date>2026-05-29T14:39:13Z</dc:date>
    </item>
  </channel>
</rss>

