Skip to content

Log Insight Windows


Microsoft Windows is a popular operating system developed by Microsoft since 1985.

It's available in three variants:

  • Windows for desktop/laptop computers, tablets and smartphones
  • Windows Server for servers
  • Windows PE as a lightweight version.


This setup guide will show you how to forward events produced by a Windows system, collected by Log Insight agent and forward to SEKOIA.IO through your local rsyslog server.

Configure the forwarder through rsyslog

Rsyslog setup on Linux Server

Download the certificate

In order to allow the connection of your rsyslog server to the SEKOIA.IO intake, please download the SEKOIA.IO intake certificate:

wget -O /etc/rsyslog.d/SEKOIA-IO-intake.pem
Configure the Rsyslog server

Open or create a new windows configuration file for rsyslog:

sudo vim /etc/rsyslog.d/15-windows.conf

Paste the following rsyslog configuration to trigger the emission of windows logs by your rsyslog server to SEKOIA.IO:

# Define the SEKIOA-IO intake certificate 
$DefaultNetstreamDriverCAFile /etc/rsyslog.d/SEKOIA-IO-intake.pem

# Configure up the network ssl connection
$ActionSendStreamDriver gtls # use gtls netstream driver
$ActionSendStreamDriverMode 1 # require TLS for the connection
$ActionSendStreamDriverAuthMode x509/name # server is authenticated

# Template definition [RFC5424](
# IMPORTANT: don't forget to set your intake key in the template
template(name="SEKOIAIOWindowsTemplate" type="string" string="<%pri%>1 %timestamp:::date-rfc3339% %hostname% %app-name% %procid% LOG [SEKOIA@53288 intake_key=\"YOUR_INTAKE_KEY\"] %msg%\n")

# Send your events to SEKOIA.IO intake servers under SEKOIAIOWindowsTemplate template
if $programname contains 'Microsoft-Windows' then @@(o);SEKOIAIOWindowsTemplate

In the above template instruction, please replace YOUR_INTAKE_KEY variable with your intake key.

Restart rsyslog
sudo service rsyslog restart

3. Enjoy your events

Go to the events page to watch your incoming events.