Creating an Initial Configuration#
Use this page to build the first working WinSyslog configuration: receive a test syslog message and write it to a local file.
Goal#
At the end of this procedure, WinSyslog will:
listen for incoming syslog messages
process them through a ruleset
write them to a local file
Prerequisites#
WinSyslog is installed.
You can open the WinSyslog Configuration Client.
The WinSyslog service is installed on the system.
Steps#
Create a ruleset.
In the WinSyslog Configuration Client, create a new ruleset.
Leave filtering simple for the first test so that all incoming messages can match.
Add one file action to that ruleset.
Inside the ruleset, add a Write to File action.
Choose an easy-to-find test file path.
Create one syslog listener service.
Under Services, add a Syslog server service.
Bind that service to the ruleset you created.
Keep the default listener settings unless you already know you need a different port or protocol.
Save the configuration.
Apply or save the changes in the Configuration Client so the service can use them.
Until you apply the changes, the running service continues to use the previous configuration.
Start or restart the WinSyslog service if required.
Ensure the WinSyslog service is running with the new configuration.
How to verify#
In the WinSyslog Configuration Client, use
Tools -> Send Syslog Test Message(see Send Syslog Test Message).Confirm that the message is written to the file configured in the action.
If nothing arrives, check:
the syslog service is enabled
the service is bound to the correct ruleset
the file action is inside that ruleset
the WinSyslog service is running
Expected result#
If the configuration is correct, WinSyslog receives the test message and stores it in the configured file. At that point, you have a working end-to-end setup.
Next step#
To understand message intake options, see Receive Logs.
To add filtering and more advanced processing, continue with Process and Filter.
To add forwarding or additional storage targets, continue with Store and Forward.