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/forward-syslog-monitor-agent.md
+10-8Lines changed: 10 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,15 +12,17 @@ ms.custom: template-tutorial
12
12
13
13
# Tutorial: Forward syslog data to a Log Analytics workspace by using the Azure Monitor agent
14
14
15
-
In this tutorial, you'll configure a Linux virtual machine (VM) to forward syslog data to your workspace by using the Azure Monitor agent. Use these steps to collect data from Linux-based devices where you can't install an agent like a firewall network device.
15
+
In this tutorial, you'll configure a Linux virtual machine (VM) to forward syslog data to your workspace by using the Azure Monitor agent. Configure your linux-based device to send data to a Linux VM. The Azure Monitor agent on the VM forwards the syslog data to the Log Analytics workspace.
16
+
17
+
Use these steps to collect data from Linux-based devices where you can't install an agent like a firewall network device. Then use the Log Analytics workspace in Microsoft Sentinel or Azure Monitor to monitor your device.
16
18
17
19
In this tutorial, you learn how to:
18
20
19
21
> [!div class="checklist"]
20
22
> * Create a data collection rule
21
23
> * Verify the Azure Monitor agent is running
22
24
> * Enable log reception on port 514
23
-
> * Verify event logs are forwarded to Microsoft Sentinel
25
+
> * Verify syslog data is forwarded to your Log Analytics workspace
24
26
25
27
## Prerequisites
26
28
@@ -29,7 +31,7 @@ To complete the steps in this tutorial, you must have the following resources an
29
31
- Azure account with an active subscription. [Create an account for free](https://azure.microsoft.com/free/?WT.mc_id=A261C142F).
30
32
- Azure account with the following roles to deploy the agent and create the data collection rules:
|Any role that includes the action Microsoft.Resources/deployments/*| - Subscription and/or</br>- Resource group and/or</br>- An existing data collection rule | To deploy ARM templates |
@@ -107,7 +109,7 @@ A data collection rule is an Azure resource that allows you to define the way d
107
109
108
110
If your VM doesn't have the Azure Monitor agent installed, the data collection rule deployment triggers the installation of the agent on the VM.
109
111
110
-
## Verify Azure Monitor agent is running
112
+
## Verify the Azure Monitor agent is running
111
113
112
114
In Microsoft Sentinel or Azure Monitor, verify that the Azure Monitor agent is running on your VM.
113
115
@@ -125,9 +127,9 @@ In Microsoft Sentinel or Azure Monitor, verify that the Azure Monitor agent is r
125
127
126
128
## Enable log reception on port 514
127
129
128
-
Verify that the VM that's collecting the log data allows reception on port 514 TCP or UDP depending on the syslog source. Then configure the build-in Linux syslog daemon on the VM to listen for syslog messages from your devices. After you complete those steps, configure your linux-based device to send logs to your VM.
130
+
Verify that the VM that's collecting the log data allows reception on port 514 TCP or UDP depending on the syslog source. Then configure the built-in Linux syslog daemon on the VM to listen for syslog messages from your devices. After you complete those steps, configure your linux-based device to send logs to your VM.
129
131
130
-
The following two sections cover how to add an inbound port rule for an Azure VM and configure the build-in Linux syslog daemon.
132
+
The following two sections cover how to add an inbound port rule for an Azure VM and configure the built-in Linux syslog daemon.
This script can make changes for both rsyslog.d and syslog-ng.
162
164
163
-
## Verify event logs are forwarded to your Log Analytics workspace
165
+
## Verify syslog data is forwarded to your Log Analytics workspace
164
166
165
-
After you configured your linux-based device to send logs to your VM, verify that the Azure Monitor agent is forwarding event log data to your workspace.
167
+
After you configured your linux-based device to send logs to your VM, verify that the Azure Monitor agent is forwarding syslog data to your workspace.
166
168
167
169
1. In the Azure portal, search for and open **Microsoft Sentinel** or **Azure Monitor**.
168
170
1. If you're using Microsoft Sentinel, select the appropriate workspace.
0 commit comments