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/connect-cef-agent.md
+64-13Lines changed: 64 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -50,30 +50,81 @@ Continue to [STEP 2: Configure your security solution to forward CEF messages](c
50
50
51
51
The following is a command-by-command description of the actions of the deployment script.
52
52
53
-
**Downloading and installing the Log Analytics agent:**
53
+
Choose a syslog daemon to see the appropriate description.
54
54
55
-
1. Downloads the installation script for the Log Analytics (OMS) Linux agent<br>`wget https://raw.githubusercontent.com/Microsoft/OMS-Agent-for-Linux/master/installer/scripts/onboard_agent.sh`
1. Opens port 514 for TCP communication using the syslog configuration file `/etc/rsyslog.conf`.
68
+
69
+
1. Configures the daemon to forward CEF messages to the Log Analytics agent on TCP port 25226, by inserting a special configuration file `security-config-omsagent.conf` into the syslog daemon directory `/etc/rsyslog.d/`.
70
+
71
+
Contents of the `security-config-omsagent.conf` file:
72
+
73
+
:rawmsg, regex, "CEF\|ASA" ~
74
+
*.* @@127.0.0.1:25226
75
+
76
+
1.**Restarting the Syslog daemon**
62
77
63
-
Content for rsyslog...
78
+
`service rsyslog restart`
64
79
80
+
1.**Setting the Log Analytics agent configuration to listen on port 25226 and forward CEF messages to Azure Sentinel**
81
+
82
+
1. Downloads the configuration from the Log Analytics agent GitHub repository<br>
1.**Downloading and installing the Log Analytics agent:**
92
+
93
+
- Downloads the installation script for the Log Analytics (OMS) Linux agent<br>`wget https://raw.githubusercontent.com/Microsoft/OMS-Agent-for-Linux/master/installer/scripts/onboard_agent.sh`
1. Opens port 514 for TCP communication using the syslog configuration file `/etc/syslog-ng/syslog-ng.conf`.
100
+
101
+
1. Configures the daemon to forward CEF messages to the Log Analytics agent on TCP port 25226, by inserting a special configuration file `security-config-omsagent.conf` into the syslog daemon directory `/etc/syslog-ng/conf.d/`.
102
+
103
+
Contents of the `security-config-omsagent.conf` file:
|Open port 514 for TCP communication<br>using syslog configuration file|`/etc/rsyslog.conf`|`/etc/syslog-ng/syslog-ng.conf`|
75
-
|Configure the daemon to forward CEF messages<br>to the Log Analytics agent on localhost, on TCP port 25226, by inserting a special omsagent configuration file into the syslog daemon directory|`/etc/rsyslog.d/security-config-omsagent.conf`|`/etc/syslog-ng/conf.d/security-config-omsagent.conf`|
0 commit comments