Sap Logserv Overview
In brief
The article now explains LogServ stream routing, DCR-based filtering before ingestion, examples for excluding log types, ASIM content reuse, and verification timing after DCR changes.
What Defender admins need to know
Administrators can reduce ingestion costs and control which LogServ data reaches each destination. Existing DCRs are not changed when the solution is upgraded.
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.
What logs does SAP LogServ provide?
LogServ extends your monitoring scope beyond the SAP application layer to include logs that SAP ECS owns as the system provider. The available log types include sources such as:
| Log category | Examples |
|---|---|
| Network and security | Network, DNS, Proxy, Firewall logs |
| Third-party databases | Non-HANA database logs where applicable |
Always check with SAP for the latest available log types and any updates to supported log sources using their Service Description Document.
For more information on how to customize and use the workbook, see Tutorial: Visualize and monitor your data.
The SAP LogServ solution and the Microsoft Sentinel Solution for SAP applications each provide analytics rules that target different layers of the SAP RISE stack:
SAP LogServ analytics rules: Focus on infrastructure-layer detections, Microsoft Sentinel Solution for SAP applications analytics rules: Cover the application layer, including 60+ built-in rules for detecting privilege escalation, sensitive transactions, data exfiltration, and unauthorized user activity within the SAP business logic. Deploy both solutions together for cross-layer detection coverage spanning from SAP HANA database and OS infrastructure up through the SAP application layer.
The following example shows :::image type="content" source="./media/partner/logserv-hana-db-detection.png" alt-text="Screenshot of a SAP LogServ HANA DB - Deactivation of Audit Trail incident in Microsoft Defender." lightbox="./media/partner/logserv-hana-db-detection.png":::
Not every log type that SAP LogServ forwards needs to land in your Analytics tier. Filtering happens in the Data Collection Rule (DCR) that the connector deploys, so excluded records are dropped before ingestion and don't incur ingestion cost. The DCR routes records to several streams based on the For filtering, identify and remove or narrow the data flow that selects the log type you want to exclude. For example, to exclude SAP HANA database logs, delete the data flow that selects Edit the DCR with the transformation editor in the Azure portal, the ARM template export, or the Data Connectors REST API. We recommend that you export the current configuration first and use it as your working template, so you only replace the
Deploy the solution
Built-in
analyticsanalytic rules
such asincluding SAP HANA database audit trail deactivation, OS-leveloperating system anomalies, network activity, and firewall events, and other logsevents from SAP-managed infrastructure. TheseThrough ASIM normalization, customers can benefit from existing Microsoft Advanced Security Information Model (ASIM) security content and investments they already have in place, without creating SAP RISE-specific analytics rules are installed with the SAP LogServ solution from the Content Hub.or altering existing security operations processes.aan isolated SAP LogServ infrastructure-layer detection for a HANA database audit trail deactivation in Microsoft Sentinel, surfaced as an incident in Microsoft Defender portal:portal. Find a end-to-end scenario in this social engineering attack replay.
Filter LogServ logs before ingestion
clz_dir and clz_subdir attributes supplied by LogServ. For example:Source ( clz_dir / clz_subdir)Destination windows / securitySecurityEventwindows / anything elseWindowsEventlinux (selected sublogs), hana / hanaauditSyslogdnsASimDnsActivityLogswebdispatcher / accesslog, denylogASimWebSessionLogseverything else SAPLogServ_CL (catch-all)clz_dir == "hana". For the current data flow definitions, see the
SAPLogServ_DCR.json in the Microsoft Sentinel GitHub repository.dataFlows section.
Related content
@@ -23,9 +23,12 @@ SAP LogServ bridges that gap. It's an SAP Enterprise Cloud Services (ECS) servic > [!IMPORTANT] > SAP LogServ is an optional service within your SAP Cloud ERP private (RISE) package. A purchase order for SAP LogServ must be completed before you can use this integration. Contact your SAP account team for details. +> [!TIP]+> For latest updates and guidance, see the [SAP LogServ blog series](https://community.sap.com/t5/enterprise-resource-planning-blog-posts-by-members/ultimate-blog-series-sap-logserv-integration-with-microsoft-sentinel/ba-p/14126401).+ ## What logs does SAP LogServ provide? -LogServ extends your monitoring scope beyond the SAP application layer to include logs that SAP ECS owns as the system provider. The available log types include:+LogServ extends your monitoring scope beyond the SAP application layer to include logs that SAP ECS owns as the system provider. The available log types include sources such as: | Log category | Examples | |---|---|@@ -36,7 +39,7 @@ LogServ extends your monitoring scope beyond the SAP application layer to includ | **Network and security** | Network, DNS, Proxy, Firewall logs | | **Third-party databases** | Non-HANA database logs where applicable | -Check with SAP for the latest available log types and any updates to supported log sources.+Always check with SAP for the latest available log types and any updates to supported log sources using their **Service Description Document**. > [!NOTE] > The SAP Security Audit Log (AS ABAP) for the application layer is handled by the [Microsoft Sentinel Solution for SAP applications](solution-overview.md) data connector, not by SAP LogServ. Deploy both solutions together for full-stack coverage.@@ -54,6 +57,7 @@ Together, these solutions give your security team visibility from business logic - **Near real-time log collection** with agentless integration into Microsoft Sentinel via the SAP LogServ data connector. - **Built-in security content** including analytics rules and workbooks provided by SAP for LogServ-specific log types.+- **Activation** **and reuse** of [Microsoft Advanced Security Information Model (ASIM) security content](../normalization-content.md) - **Long-term retention** configurable per data source with up to 12 years retention using [Microsoft Sentinel Data Lake](../datalake/sentinel-lake-overview.md). - **SOAR integration** with Microsoft Sentinel's security orchestration, automation, and response capabilities, including and [SAP user blocking via Microsoft Teams](https://blogs.sap.com/2023/05/22/from-zero-to-hero-security-coverage-with-microsoft-sentinel-for-your-critical-sap-security-signals-blog-series/). - **Cross-signal correlation** across endpoints, Microsoft Entra ID data, and other data sources in your Microsoft Sentinel workspace.@@ -66,7 +70,7 @@ Together, these solutions give your security team visibility from business logic - The SAP LogServ (RISE), S/4HANA Cloud private edition solution installed from the [Microsoft Sentinel Content Hub](https://marketplace.microsoft.com/en-us/product/sap_jasondau.azure-sentinel-solution-saplogserv?tab=Overview). > [!NOTE]-> Only **Azure-hosted SAP RISE** customers have the option for fully integrated deployment. For SAP RISE on other platforms, [SAP's self-hosted log forwarder](https://pypi.org/project/sap-ecs-log-forwarder/) needs to be installed on a customer-hosted component with network connectivity to the SAP LogServ service and the Microsoft Sentinel Data Collection Endpoint. The forwarder has dedicated configuration options for Microsoft Sentinel for SAP.+> Only **Azure-hosted SAP RISE** customers have the option for fully integrated deployment. For SAP RISE on other platforms, [SAP's self-hosted log forwarder](https://pypi.org/project/sap-ecs-log-forwarder/) needs to be installed on a customer-hosted component with network connectivity to the SAP LogServ service and the Microsoft Sentinel Data Collection Endpoint. The forwarder has dedicated configuration options for Microsoft Sentinel for SAP. See SAP's [announcement blog](https://community.sap.com/t5/enterprise-resource-planning-blog-posts-by-sap/enhancing-the-support-for-rise-on-aws-amp-gcp-logserv-with-sentinel-for-sap/ba-p/14428222) for more details. ## Deploy the solution @@ -108,21 +112,52 @@ The workbook shows: For more information on how to customize and use the workbook, see [Tutorial: Visualize and monitor your data](../monitor-your-data.md). -### Built-in analytics rules+### Built-in analytic rules The SAP LogServ solution and the Microsoft Sentinel Solution for SAP applications each provide analytics rules that target different layers of the SAP RISE stack: -- **SAP LogServ analytics rules**: Focus on **infrastructure-layer detections**, such as SAP HANA database audit trail deactivation, OS-level anomalies, network and firewall events, and other logs from SAP-managed infrastructure. These rules are installed with the SAP LogServ solution from the Content Hub.+- **SAP LogServ analytics rules**: Focus on **infrastructure-layer detections**, including SAP HANA audit trail deactivation, operating system anomalies, network activity, and firewall events from SAP-managed infrastructure. Through ASIM normalization, customers can benefit from existing [Microsoft Advanced Security Information Model (ASIM) security content](../normalization-content.md) and investments they already have in place, without creating SAP RISE-specific analytics rules or altering existing security operations processes.+ - **Microsoft Sentinel Solution for SAP applications analytics rules**: Cover the **application layer**, including [60+ built-in rules](sap-solution-security-content.md#built-in-analytics-rules) for detecting privilege escalation, sensitive transactions, data exfiltration, and unauthorized user activity within the SAP business logic. Deploy both solutions together for cross-layer detection coverage spanning from SAP HANA database and OS infrastructure up through the SAP application layer. -The following example shows a SAP LogServ infrastructure-layer detection for a HANA database audit trail deactivation in Microsoft Sentinel, surfaced as an incident in Microsoft Defender portal:+The following example shows an isolated SAP LogServ infrastructure-layer detection for a HANA database audit trail deactivation in Microsoft Sentinel, surfaced as an incident in Microsoft Defender portal. Find a end-to-end scenario in this [social engineering attack replay](https://aka.ms/sentinel-for-sap-hero-demo). :::image type="content" source="./media/partner/logserv-hana-db-detection.png" alt-text="Screenshot of a SAP LogServ HANA DB - Deactivation of Audit Trail incident in Microsoft Defender." lightbox="./media/partner/logserv-hana-db-detection.png"::: +## Filter LogServ logs before ingestion++Not every log type that SAP LogServ forwards needs to land in your Analytics tier. Filtering happens in the Data Collection Rule (DCR) that the connector deploys, so excluded records are dropped before ingestion and don't incur ingestion cost.++The DCR routes records to several streams based on the `clz_dir` and `clz_subdir` attributes supplied by LogServ. For example:++| Source (`clz_dir` / `clz_subdir`) | Destination |+|---|---|+| `windows` / `security` | `SecurityEvent` |+| `windows` / anything else | `WindowsEvent` |+| `linux` (selected sublogs), `hana` / `hanaaudit` | `Syslog` |+| `dns` | `ASimDnsActivityLogs` |+| `webdispatcher` / `accesslog`, `denylog` | `ASimWebSessionLogs` |+| everything else | `SAPLogServ_CL` (catch-all) |++For filtering, identify and remove or narrow the data flow that selects the log type you want to exclude.++For example, to exclude SAP HANA database logs, delete the data flow that selects `clz_dir == "hana"`. For the current data flow definitions, see the+[SAPLogServ_DCR.json](https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/SAP%20LogServ/Data%20Connectors/SAPLogServ_PUSH_CCP/SAPLogServ_DCR.json) in the Microsoft Sentinel GitHub repository.++Edit the DCR with the transformation editor in the Azure portal, the ARM template export, or the [Data Connectors REST API](/rest/api/securityinsights/data-connectors/list). We recommend that you export the current configuration first and use it as your working template, so you only replace the `dataFlows` section.++> [!NOTE]+> Upgrading the solution from the Content Hub doesn't change DCRs that are already deployed, by design, to avoid unintended interruptions to log ingestion. Allow about 15 minutes for a DCR change to take effect before you verify the results.++> [!TIP]+> If your goal is cost optimization rather than dropping data outright, use the [filter and split capability](../transformation-filter-split.md) to keep high-value log types+> in the Analytics tier and route lower-value, compliance-relevant LogServ data to the Microsoft Sentinel data lake.+ ## Related content +- [Learn more from Microsoft Sentinel and SAP LogServ co-engineering blog series](https://community.sap.com/t5/enterprise-resource-planning-blog-posts-by-members/ultimate-blog-series-sap-logserv-integration-with-microsoft-sentinel/ba-p/14126401) - [Microsoft Sentinel Solution for SAP applications overview](solution-overview.md) - [Deploy the Microsoft Sentinel solution for SAP applications](deployment-overview.md) - [Microsoft Sentinel Solution for SAP BTP overview](sap-btp-solution-overview.md) 