You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/sentinel/sap/collect-sap-hana-audit-logs.md
+63-19Lines changed: 63 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,10 @@
1
1
---
2
2
title: Collect SAP HANA audit logs in Microsoft Sentinel | Microsoft Docs
3
3
description: This article explains how to collect audit logs from your SAP HANA database.
4
-
author: yelevin
5
-
ms.author: yelevin
4
+
author: batamig
5
+
ms.author: bagol
6
6
ms.topic: how-to
7
-
ms.date: 05/24/2023
7
+
ms.date: 06/09/2024
8
8
---
9
9
10
10
# Collect SAP HANA audit logs in Microsoft Sentinel
@@ -14,7 +14,13 @@ This article explains how to collect audit logs from your SAP HANA database.
14
14
> [!IMPORTANT]
15
15
> Microsoft Sentinel SAP HANA support is currently in PREVIEW. The [Azure Preview Supplemental Terms](https://azure.microsoft.com/support/legal/preview-supplemental-terms/) include additional legal terms that apply to Azure features that are in beta, preview, or otherwise not yet released into general availability.
16
16
17
-
If you have SAP HANA database audit logs configured with Syslog, you'll also need to configure your Log Analytics agent to collect the Syslog files.
17
+
18
+
## Prerequisites
19
+
20
+
SAP HANA logs are sent over Syslog. Make sure that your AMA agent or your Log Analytics agent (legacy) is configured to collect Syslog files. For more information, see:
21
+
22
+
For more information, see [Ingest syslog and CEF messages to Microsoft Sentinel with the Azure Monitor Agent](../connect-cef-syslog-ama.md).
23
+
18
24
19
25
## Collect SAP HANA audit logs
20
26
@@ -25,29 +31,67 @@ If you have SAP HANA database audit logs configured with Syslog, you'll also nee
25
31
26
32
1. Check your operating system Syslog files for any relevant HANA database events.
27
33
28
-
1.Install and configure a Log Analytics agent on your machine:
34
+
1.Sign into your HANA database operating system as a user with sudo privileges.
29
35
30
-
1.Sign in to your HANA database operating system as a user with sudo privileges.
36
+
1.Install an agent on your machine and confirm that your machine is connected. For more information, see:
31
37
32
-
1. In the Azure portal, go to your Log Analytics workspace. On the left pane, under **Settings**, select **Agents management** > **Linux servers**.
1.Under **Download and onboard agent for Linux**, copy the code that's displayed in the box to your terminal, and then run the script.
41
+
1.Configure your agent to collect Syslog data. For more information, see:
35
42
36
-
The Log Analytics agent is installed on your machine and connected to your workspace. For more information, see [Install Log Analytics agent on Linux computers](../../azure-monitor/agents/agent-linux.md) and [OMS Agent for Linux](https://github.com/microsoft/OMS-Agent-for-Linux) on the Microsoft GitHub repository.
37
-
38
-
1. Refresh the **Agents Management > Linux servers** tab to confirm that you have **1 Linux computers connected**.
39
-
40
-
1. On the left pane, under **Settings**, select **Agents configuration**, and then select the **Syslog** tab.
41
-
42
-
1. Select **Add facility** to add the facilities you want to collect.
> Because the facilities where HANA database events are saved can change between different distributions, we recommend that you add all facilities, check them against your Syslog logs, and then remove any that aren't relevant.
47
+
> Because the facilities where HANA database events are saved can change between different distributions, we recommend that you add all facilities. Check them against your Syslog logs, and then remove any that aren't relevant.
46
48
>
47
49
48
-
1. In Microsoft Sentinel, check to confirm that HANA database events are now shown in the ingested logs.
49
-
50
-
## Next steps
50
+
## Verify your configuration
51
+
52
+
In Microsoft Sentinel, check to confirm that HANA database events are now shown in the ingested logs. For example, run the following query:
53
+
54
+
```Kusto
55
+
//generated function structure for custom log Syslog
0 commit comments