Pre-requisites:
- Windows Rsyslog https://www.rsyslog.com/windows-agent/
- Wazuh stack (4 .8.1) https://documentation.wazuh.com/current/installation-guide/index.html
Wazuh Configuration:
Open a syslog listener by adding the below configuration allowing to receive syslog data from the network subnet (Where my Windows server is located) specified within the allowed-ips
tag and restart for applying it:
<remote>
<connection>syslog</connection>
<allowed-ips>192.168.121.0/24</allowed-ips>
</remote>

Add a rule to capture the logs :
Note that for simplicity, I am using only a rule and not extracting any fields form the logs, if needed, you should create custom decoders/rules
<group name="Winsyslog,">
<rule id="100410" level="3">
<program_name>WindowsEventSysLog</program_name>
<description>Windows syslog event group</description>
</rule>
</group>

Rsyslog configuration:
Add a tag (using WindowsEventSyslog tag to match with the Wazuh rule) to distinguish the logs and select the Windows channel you want to monitor:


Specify the Wazuh manager IP and port that has Syslog connection open and listening:

The output format can be customized and to benefit from the default Wazuh pre-decoder, for that, you should choose legacy RFC 3164 format and UTF8 including BOM then start the collection:

Result:
All Windows events are captured from our Wazuh manager, An example of a logon window with the tag added:


28 responses to “Forward Windows events using Rsyslog to Wazuh”
I got what you mean , appreciate it for putting up.Woh I am lucky to find this website through google. “It is a very hard undertaking to seek to please everybody.” by Publilius Syrus.
ivermectin 12 mg without prescription – tegretol 200mg without prescription order carbamazepine online
order generic accutane – buy isotretinoin generic order zyvox 600 mg
order amoxil online cheap – order generic valsartan order ipratropium generic
zithromax 250mg cost – tindamax ca bystolic over the counter
order omnacortil 20mg online cheap – cost azipro prometrium 200mg canada
Can you be more specific about the content of your article? After reading it, I still have some doubts. Hope you can help me.
Your point of view caught my eye and was very interesting. Thanks. I have a question for you.
gabapentin 100mg without prescription – clomipramine 25mg cheap order sporanox 100 mg pills
buy lasix – purchase betamethasone generic3 buy generic betnovate 20gm
mm588c
28eeqb
buy clavulanate generic – order generic nizoral 200 mg buy cymbalta 20mg pill
buy doxycycline pills for sale – glipizide 5mg cost glipizide pills
Thanks for sharing. I read many of your blog posts, cool, your blog is very good.
733fv6
25bd7b
zriqut
Can you be more specific about the content of your article? After reading it, I still have some doubts. Hope you can help me.
xf80yo
Can you be more specific about the content of your article? After reading it, I still have some doubts. Hope you can help me.
Your point of view caught my eye and was very interesting. Thanks. I have a question for you.
Your point of view caught my eye and was very interesting. Thanks. I have a question for you.
buy cheap generic augmentin – buy augmentin 625mg pills buy duloxetine 20mg pill
qizfa4
yzotl7
buy semaglutide cheap – order generic cyproheptadine 4mg cyproheptadine online
I don’t think the title of your article matches the content lol. Just kidding, mainly because I had some doubts after reading the article.