To install the syslog-ng agent, complete the following steps:
Procedure 5.1. Installing the syslog-ng agent on Microsoft Windows
Start the installer. Run the syslog-ng-agent-setup.exe
file.
![]() |
Note |
|---|---|
Installing the syslog-ng agent requires administrator privileges. |
Select the destination folder in which to install the syslog-ng agent
application, then click . By default, the
installer selects the C:\Program Files\Syslog-NG Agent
folder. The syslog-ng agent requires about 1 MB hard disk space.
Configure the connection to the syslog-ng server. Enter the name (e.g.,
syslog-ng.example.com or the IP address of the
syslog-ng server into the Server name field. Enter the port
where the syslog-ng server accepts connections into the Server
port field. Usually syslog-ng servers accept connections on port
514.
Select the mode of the connection.
To use unencrypted TCP connections, select . To use secure, SSL-encrypted connections, select .
To limit the number of messages that the syslog-ng Agent sends to the server
in a second, enter the desired limit into the Throttling
field. By default (0), the syslog-ng Agent does not limit
the number of messages sent.
![]() |
Note |
|---|---|
The throttling parameter applies to the total number of messages sent, not to every source independently. |
Click .
Select the eventlog sources. The syslog-ng agent can handle both default and custom eventlog containers. Press and hold the Control (Ctrl) key to select multiple groups, or to unselect an already selected group. The syslog-ng agent forwards messages only from the selected eventlog groups.
Select the file sources.
To select single files, click the button, select the file, then click .
To select files that are regularly rotated, add an expression in the Expression field and click . See Section 5.2, “File sources and logrotation” on using wildcards in the file sources.
![]() |
Note |
|---|---|
The syslog-ng agent remembers the position of the last sent message from every file, and does not re-send old messages if the application is restarted. |
Click when you have added every necessary log source.
If needed, customize the format of the messages sent to the central syslog-ng server. See Section 5.4, “Customizing the message format” for details. Click .
After the installation has finished, click .
Use the eventcreate command from the command prompt to create test messages in the event log. The following command creates an event in the application log: eventcreate /t information /id 100 /l application /d "Test event in application log". If you have selected the Application eventlog source when you configured the syslog-ng agent, the test message will appear in the logs of the central syslog-ng server.
Consult the documentation of your operating system for details on using eventcreate.
For Windows Server 2003, see
For Windows XP, see
To configure an already installed syslog-ng agent, select .
© 2007 BalaBit IT Security
Please send your comments or documentation bugs to: documentation@balabit.com