Skip to content

Commit 63b7f22

Browse files
committed
Continuing edit 1
1 parent 4d8f7cf commit 63b7f22

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

articles/sentinel/connect-cef-verify.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,33 @@ Be aware that it may take about 20 minutes until your logs start to appear in **
3939

4040
## Validation script explained
4141

42+
The validation script performs the following checks:
43+
44+
1. Checks that the file<br>
45+
`/etc/opt/microsoft/omsagent/[WorkspaceID]/conf/omsagent.d/security_events.conf`<br>
46+
exists and is valid.
47+
48+
1. Checks that the file includes the following text:
49+
50+
<source>
51+
type syslog
52+
port 25226
53+
bind 127.0.0.1
54+
protocol_type tcp
55+
tag oms.security
56+
format /(?<time>(?:\w+ +){2,3}(?:\d+:){2}\d+|\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}.[\w\-\:\+]{3,12}):?\s*(?:(?<host>[^: ]+) ?:?)?\s*(?<ident>.*CEF.+?(?=0\|)|%ASA[0-9\-]{8,10})\s*:?(?<message>0\|.*|.*)/
57+
<parse>
58+
message_format auto
59+
</parse>
60+
</source>
61+
62+
<filter oms.security.**>
63+
type filter_syslog_security
64+
</filter>
65+
66+
1. Checks if there are any security enhancements on the machine that might be blocking network traffic (such as a host firewall).
67+
68+
1. Checks that the syslog daemon (rsyslog or syslog-ng) is properly configured to send messages that it identifies as CEF (using a regex) to the Log Analytics agent on TCP port 25226:
4269

4370

4471
## Next steps

0 commit comments

Comments
 (0)