Microsoft Sentinel
Cloud and workloads

Monitor the health and role of your SAP systems

In brief

The SAP connector page no longer displays system role and health as a table. Administrators should use the SAPSystems KQL function for roles and SentinelHealth or the SAP data collection health alert for health signals. Unknown SIDs are treated as production for security and billing.

What Defender admins need to know

Update runbooks and monitoring checks to use the workspace queries or alert. Populate the SAP - Systems watchlist and validate T000 permissions when roles are missing.

Summaries are generated from the documentation change itself.

Documentation change

The comparison below shows only the changed extract. Use the full-page view for complete context.

Monitor the health and role of your SAP systems

After you deploy the SAP solution, you want to ensure proper functioning and performance of your SAP systems, and keep track of your system health,role, connectivity, and performance.log ingestion. This article describes how you can check the connectivityto look up system role and health manually on the data connector pagefrom workspace tables and functions, and how to use a dedicated alert rule template to monitor the health of your SAP systems.

For a video demonstration of the procedures in this article, watch the following video:

[!VIDEO https://www.youtube.com/embed/FasuyBSIaQM?si=apdesRR29Lvq6aQM]

Prerequisites

  • Before you can perform the procedures in this article, you need to have an SAP data connector connected to your SAP system. SAP logs aren't displayed in the Microsoft Sentinel Logs page until your SAP system is connected and data starts streaming into Microsoft Sentinel.

For more information, see Connect your SAP system to Microsoft SentinelConnect your SAP system to Microsoft Sentinel.

Check your SAP data connector agent's health and connectivity

This procedure describes how to check yourThe agentless data connector's connection status page lists the SAP systems (SIDs) you configured, but system role and health are no longer surfaced there as a table. Query them from the Microsoft Sentinel for SAP data connector page, and is relevant only for the data connector agent.

  1. In Microsoft Sentinel, select Data connectors and search for Microsoft Sentinel for SAP.

  2. Select the Microsoft Sentinel for SAP connector and select Open connector page.

  3. In the Configuration > 2. Configure an SAP system and assign it to a collector agent area, view details about the health of your SAP systems.

    For example:

    :::image type="content" source="media/monitor-sap-system-health/health-status.png" alt-text="Screenshot of the Microsoft Sentinel for SAP applications health status table." lightbox="media/monitor-sap-system-health/health-status.png":::

    The fields in the Configure an SAP system and assign it to a collector agent area are described as follows:workspace instead:

    • System display namerole (production or nonproduction). The Use the SAPSystems KQL function, which reads the SAP system ID (SID)- Systems watchlist and its client number. Together, thisreturns the SystemRole value qualifies the connection to the SAP system and defines for SAP BASIS which system you're connecting to.

    • System role. Indicates whether the system is production state or not, whicheach SID. Role also affects billing. For more information,billing - see Solution pricingSolution pricing. ValuesTypical values include:

      Value Description
      Production The system is defined by the SAP admin as a production system.
      Unknown (Production)Non-production Roles such as development, test, quality assurance, or training.
      (empty or missing)The SAP - Systems watchlist isn't populated for the SID yet, or the ABAP user can't read the T000 table. Microsoft Sentinel couldn't retrieve the system status. Microsoft Sentinel regards this type of systemtreats an unknown SID as a production system for both security and billing purposes.

      In such cases, we recommend that you checkPopulate the Microsoft Sentinelwatchlist and validate the role definitions and permissions on the SAP system, and validate that the system allows Microsoft Sentinel to read the content of the T000 table. Next, consider updating the SAP connector to the latest version.
      Non-productionIndicates roles like developing, testing, and customizing..
    • Agent name. Unique ID of the installed data connector agent.

    • Health. Indicates whetherQuery the SID is healthy. To troubleshootSentinelHealth table for the SAP data connector, or turn on the SAP - Data collection health issues, review the container execution logs and review other troubleshooting stepscheck alert rule template (see the next sections). ValuesTypical signals include:

      Value Description
      System healthySuccess (green icon) Indicates that Microsoft Sentinel identified both logs and a heartbeat from the system.
      System Connected – unauthorized to collect role, production assumedSuccess with warnings (yellow icon) Microsoft Sentinel doesn't have sufficient permissions to define whetherConnection succeeded, but some log streams returned errors or the systemABAP user is a production system. In this case, Microsoft Sentinel defines the system as a production system.

      In such cases, checkmissing authorizations. Check the Microsoft Sentinel role definitions and permissions on the SAP system, and validate that the system allows Microsoft Sentinelincluding read access to read the content of the T000 table. Next, consider updating the SAP connector to the latest version..
      Connected with errors (yellow icon)Connection was successful but Microsoft Sentinel detected errors when fetching the system role and doesn't have the details of whether the system is or isn't a production system.
      System not connectedFailure Microsoft Sentinel was unable to connect tocan't reach the SAP system, and cannot fetchsystem or the system role. In this case, Microsoft Sentinel doesn't havecredentials are invalid. Review the details of whether the system is or isn't a production system.
      Other statuses that reflect more details about connectivity issuesFor example, System unreachable for over 1 daytroubleshooting steps.

View SAP logs streaming into Microsoft Sentinel

InThe agentless data connector streams SAP logs into standard Log Analytics tables such as ABAPAuditLog, ABAPAuthorizationDetails, ABAPChangeDocsLog, and ABAPUserDetails. Query them from Microsoft Sentinel, selectSentinel GeneralLogs >(Azure portal) or from Logs > Custom logsAdvanced hunting (Defender portal). For example, run ABAPAuditLog | take 50to view the logs streaming in from the SAP system. For example:

:::image type="content" source="sap/media/deploy-sap-security-content/sap-logs-in-sentinel.png" alt-text="Screenshotconfirm that shows the SAP ABAP logs in the Custom Logs area in Microsoft Sentinel." lightbox="sap/media/deploy-sap-security-content/sap-logs-in-sentinel.png":::data is arriving.

For more information,the full list of tables and the recommended KQL functions to query them, see Log and table reference for the Microsoft Sentinel solution for SAP applications.

Check the SentinelHealth table for health indicators

Use an alert rule template to monitor the health of your SAP systems

The Microsoft Sentinel for SAP solution includes an alert rule template designed to give you insight into the health of yourthe SAP agent's data collection.

The rule needs at least seven days of loading history to detect the different seasonality patterns. We recommend a value of 14 days for the alert rule Look back parameter to allow detection of weekly activity profiles.

Once the alert rule is activated, the ruleit judges the recent telemetry and log volume observed on the workspace according to the history learned. The rule then alerts on potential issues, dynamically assigning severities according to the scope of the problem.

To turn on the analytics rule in Microsoft Sentinel, select Analytics > Rule templates, and locate the SAP - Data collection health check alert rule.

The analytics rule does the following:

  • Evaluates signals sent from the agent.connector's health signals.
  • Evaluates telemetry data.
  • Evaluates alerts on log continuation and other system connectivity issues, if any are found.
  • Learns the log ingestion history, and therefore works better with time.