Copyright © 2010 BalaBit IT Security Ltd.
This guide is published under the Creative Commons Attribution-Noncommercial-No Derivative Works (by-nc-nd) 3.0 license. The latest version is always available at http://www.balabit.com/support/documentation.
This product includes software developed by the OpenSSL Project for use in the OpenSSL Toolkit (http://www.openssl.org/). This product includes cryptographic software written by Eric Young (eay@cryptsoft.com)
This documentation and the product it describes are considered protected by copyright according to the applicable laws.
The syslog-ng™ name and the syslog-ng™ logo are registered trademarks of BalaBit.
The BalaBit™ name and the BalaBit™ logo are registered trademarks of BalaBit.
Linux™ is a registered trademark of Linus Torvalds.
Debian™ is a registered trademark of Software in the Public Interest Inc.
Windows™ XP, 2003 Server, Vista, and 2008 Server are registered trademarks of Microsoft Corporation.
MySQL™ is a registered trademark of MySQL AB in the United States, the European Union and other countries.
Oracle™, JD Edwards™, PeopleSoft™, and Siebel™ are registered trademarks of Oracle Corporation and/or its affiliates.
Red Hat™, Inc., Red Hat™ Enterprise Linux™ and Red Hat™ Linux™ are trademarks of Red Hat, Inc.
SUSE™ is a trademark of SUSE AG, a Novell business.
Solaris™ is a registered trademark of Sun Microsystems, Inc.
AIX™, AIX 5L™, AS/400™, BladeCenter™, eServer™, IBM™, the IBM™ logo, IBM System i™, IBM System i5™, IBM System x™, iSeries™, i5/OS™, Netfinity™, NetServer™, OpenPower™, OS/400™, PartnerWorld™, POWER™, ServerGuide™, ServerProven™, and xSeries™ are trademarks or registered trademarks of International Business Machines.
Alliance Log Agent for System i™ is a registered trademark of Patrick Townsend & Associates, Inc.
All other product names mentioned herein are the trademarks of their respective owners.
Some rights reserved.
DISCLAIMER
BalaBit is not responsible for any third-party Web sites mentioned in this document. BalaBit does not endorse and is not responsible or liable for any content, advertising, products, or other material on or available from such sites or resources. BalaBit will not be responsible or liable for any damage or loss caused or alleged to be caused by or in connection with use of or reliance on any such content, goods, or services that are available on or through any such sites or resources.
October 08, 2010
This manual is the primary documentation of the syslog-ng Agent for Windows 3.2 application.
Table of Contents
List of Examples
List of Procedures
Welcome to the syslog-ng Agent for Windows Administrator Guide!
This document describes how to configure and manage syslog-ng Agent for Windows. Background information for the technology and concepts used by the product is also discussed.
![]() |
Note |
|---|---|
|
Chapter 1, Introduction describes the main functionality and purpose of syslog-ng PE.
Chapter 2, Installing the syslog-ng agent describes how to install the syslog-ng Agent in various scenarios and how to upgrade to new versions.
Chapter 3, Configuring syslog-ng Agent for Windows provides detailed description on configuring and managing syslog-ng Agent for Windows.
Chapter 4, Troubleshooting syslog-ng Agent for Windows describes how to solve common errors and problems.
Chapter 5, Configuring the auditing policy on Windows provides descriptions on how to enable auditing on various Windows platforms.
Appendix 1, BalaBit syslog-ng Premium Edition License contract includes the text of the End-User License Agreement applicable to syslog-ng Agent for Windows.
Glossary provides definitions of important terms used in this guide.
Index provides cross-references to important terms used in this guide.
This guide is intended for system administrators and consultants responsible for designing and maintaining logging solutions and log centers. It is also useful for IT decision makers looking for a tool to implement centralized logging in heterogeneous environments.
The following skills and knowledge are necessary for a successful syslog-ng administrator:
At least basic system administration knowledge.
An understanding of networks, TCP/IP protocols, and general network terminology.
Working knowledge of various Windows operating systems.
In-depth knowledge of the logging process of various platforms and applications.
An understanding of the legacy syslog (BSD-syslog) protocol (see RFC 3164 RFC 3164) and the new syslog (IETF-syslog) protocol standard (see RFC 5424-5428).
This guide describes the use of the following syslog-ng versions:
syslog-ng Agent for Windows 3.2.0 and later
Before you start using this guide, it is important to understand the terms and typographical conventions used in the documentation. For more information on specialized terms and abbreviations used in the documentation, see the Glossary at the end of this document.
The following kinds of text formatting and icons identify special information in the document.
![]() |
Tip |
|---|---|
Tips provide best practices and recommendations. |
![]() |
Note |
|---|---|
Notes provide additional information on a topic and emphasize important facts and considerations. |
![]() |
Warning |
|---|---|
Warnings mark situations where loss of data or misconfiguration of the device is possible if the instructions are not obeyed. |
Commands you have to execute.
Reference items, additional readings.
/path/to/file
File names.
Parameters
Parameter and attribute names.
GUI output messages or dialog labels.
A submenu in the menu bar.
Buttons in dialog windows.
The syslog-ng Premium Edition and syslog-ng Agent for Windows applications are developed and maintained by BalaBit IT Security Ltd. We are located in Budapest, Hungary. Our address is:
BalaBit IT Security Ltd.
1464 Budapest P.O. BOX 1279
Hungary
Tel: +36 1 371-0540
Fax: +36 1 208-0875
E-mail: info@balabit.com
Web: http://www.balabit.com/
You can directly contact us with sales related topics at the e-mail address
<sales@balabit.com>.
To subscribe to the mailing list of the syslog-ng community, visit Syslog-ng users' and developers' mailing list.
To report bugs found in syslog-ng, visit Bugzilla.
Product support, including 7x24 online support is available in various packages. For support options, see BalaBit support packages.
Register your copy of syslog-ng Premium Edition online here. Registration is a prerequisite for all support services. E-mail and telephone support is available for registered users, please write or call us for details.
Support e-mail address: <support@balabit.com>.
Support hotline: +36 1 371 0540 (available from 9 AM to 5 PM CET on weekdays)
The BalaBit Online Support System is available here and offers 24 hours technical support. This system is available only for registered users with a valid support contract and a MyBalaBit account. Sign up for MyBalaBit here.
This guide is a work-in-progress document with new versions appearing periodically.
The latest version of this document can be downloaded from the BalaBit website here.
For news and update notifications about the syslog-ng documentation, visit the BalaBit Documentation Blog.
Changes in product:
Added how to set file encoding to Procedure 3.3.2, Managing file sources.
Added the Snare protocol description to Procedure 3.2.1, Configuring the destination logservers.
Added global and destination-specific filters to Section 3.5, Filtering messages.
Documented XML export and import in Section 3.1.3, Using an XML-based configuration file and removed the obsolete XML examples.
Added how to process multi-line messages to Processing multi-line messages.
Added filters to Procedure 3.5.1, Filtering eventlog messages.
Added filters to Procedure 3.5.2, Filtering file messages.
Updated macros in Section 3.6.3, Macros available in the syslog-ng Agent.
Figures have been added to the document.
Changes in documentation:
Editorial changes only.
Changes in product:
No changes in documentation related to product.
Changes in documentation:
Missing procedure titles have been corrected.
Procedures have been restructured to facilitate easier understanding.
Latin abbreviations have been replaced in document with their English equivalents.
Other editorial changes.
Any feedback is greatly appreciated. General comments, errors found in the text, and any
suggestions about how to improve the documentation is welcome at
<documentation@balabit.com>.
This chapter describes how to install and configure the syslog-ng Agent on Microsoft Windows hosts.
The syslog-ng Agent for Windows is a log collector and forwarder application for the Microsoft Windows platform. It collects the log messages of the Windows-based host and forwards them to a syslog-ng server using regular or TLS-encrypted TCP connections.
The features and restrictions of the syslog-ng Agent are summarized below:
Reads messages from eventlog containers and log files.
Transfers log messages using TCP.
Supports TLS encryption.
Authenticates the server using X.509 certificates. Mutual authentication is also supported.
The format of eventlog messages can be customized using macros.
Supports multiple destinations both in parallel and fail-over modes.
Can be managed from a domain controller using group policies.
Only basic filtering is supported by the agent, message segmenting, parsing, and classification is not.
Note that the log messages on Windows come from files — either eventlog containers or custom logfiles — which are already stored on the harddisk, so the agent does not use additional disk buffering.
The syslog-ng Agent supports the following operating systems:
Microsoft Windows 2000
Microsoft Windows XP
Microsoft Windows Server 2003
Microsoft Windows Vista
Microsoft Windows Server 2008
Microsoft Windows 7
![]() |
Note |
|---|---|
The syslog-ng Agent for Windows application supports the XML-based eventlog used format on Microsoft Windows Vista and Microsoft Windows Server 2008, and Windows 7, and also offers full support for 64-bit operating systems. |
![]() |
Note |
|---|---|
Managing syslog-ng Agent from a Windows 2000 domain controller is not supported. |
The syslog-ng Agent for Windows application can be installed in standalone mode on independent hosts. If your hosts are members of a domain, you can install the syslog-ng agent on the domain controller and configure them globally.
For details on how to install the syslog-ng Agent for Windows application in standalone mode, see Procedure 2.1, Installing the syslog-ng Agent in standalone mode.
For details on how to install the syslog-ng Agent for Windows application on the members of a domain, see Section 2.2, Installing the syslog-ng Agent on the domain controller and the hosts of a domain.
![]() |
Note |
|---|---|
The syslog-ng Agent for Windows application is configured usually using its MMC snap-in (when managed globally from the domain controller or when configuring it in standalone mode). However, it is also possible to use an XML-based configuration file. For details, see Section 3.1.3, Using an XML-based configuration file. |
Installer types:
syslog-ng-agent-<version>-setup.exe is the general installer. This installs an agent that can be configured with a local configuration, XML configuration file and can receive configuration from domain group policy.
syslog-ng-agent-nosnapin-<version>-setup.exe is a special installer. .NET environment is not required for it. This installs an agent that can only be configured with an XML configuration file, and can receive configuration from domain group policy.
syslog-ng-agent-setup-<version>-<amd64/i386>.msi is an MSI installer for domain clients, installing by group policy.
2.1. Procedure – Installing the syslog-ng Agent in standalone mode
Purpose:
The syslog-ng Agent for Windows application can be installed in standalone mode on independent hosts. If your hosts are members of a domain, install the syslog-ng Agent on the domain controller, as described in Section 2.2, Installing the syslog-ng Agent on the domain controller and the hosts of a domain. The syslog-ng agent requires about 10 MB hard disk space.
To install the syslog-ng Agent in standalone mode, complete the following steps:
![]() |
Note |
|---|---|
The syslog-ng Agent for Windows requires the Microsoft .NET Framework version 2.0. This package is usually already installed on most hosts. Download the package here. |
Steps:
Start the installer. Run the
syslog-ng-agent-<versionnumber>-setup.exe
file.
![]() |
Note |
|---|---|
Installing the syslog-ng Agent requires administrator privileges. |
Read the End User License Agreement and select .
Select the destination folder where you want to install the syslog-ng Agent for Windows application, then select .
Select , then click .
Starting from version 3.0.3, the syslog-ng Agent sends only messages that are created after the agent has been installed. If you want to send old log messages to the syslog-ng server, enable the option and click .
The installer automatically opens the configuration interface of the syslog-ng Agent. As a minimum, you must set the IP address of the destination server, and the agent will automatically start sending eventlog messages to your central logserver from the Application, Security, and System eventlog containers.
![]() |
Note |
|---|---|
The installation is completed only after you close the configuration interface. For details on how to modify the configuration later, see Section 3.1.1, Configuring a standalone syslog-ng Agent. |
The syslog-ng Agent for Windows application can be installed on the domain controller and the members of a domain from the domain controller, and configured globally using group policies. The syslog-ng Agent requires about 10 MB hard disk space.
For details on how to install the syslog-ng Agent application in a domain, see Procedure 2.2.1, Installing the syslog-ng Agent on the domain controller and the hosts of a domain.
For details on how to configure the syslog-ng Agents of the domain hosts, see Procedure 3.1.2.1, Configuring the syslog-ng Agents of the domain hosts.
For details on how to configure the syslog-ng Agents of the domain controllers, see Procedure 3.1.2.2, Configuring the syslog-ng Agents of the domain controllers.
![]() |
Note |
|---|---|
Starting from version |
2.2.1. Procedure – Installing the syslog-ng Agent on the domain controller and the hosts of a domain
![]() |
Note |
|---|---|
Starting from version 3.0.3, the syslog-ng Agent sends only messages that
are created after the agent has been installed. If you want to send old log
messages to the syslog-ng server, download the Orca MSI editor here, open
the .msi installer of the syslog-ng Agent, select
, and change the value of the
field to
|
Steps:
Download both the Microsoft Installer (.msi)
version and the executable (.exe) version of the
syslog-ng Agent installer to the domain controller host. Make sure to download
the executable that includes the MMC snap-in module. Note that separate .msi
intallers are available for 32-bit and 64-bit operating systems.
![]() |
Note |
|---|---|
|
Installing the syslog-ng Agent requires administrator privileges, but configuring the related group policies on the domain controller requires domain administrator or higher (for example enterprise administrator) privileges. |
Install the syslog-ng Agent application to your domain controllers using the
.exe installer.
![]() |
Note |
|---|---|
The syslog-ng Agent for Windows requires the Microsoft .NET Framework version 2.0. This package is usually already installed on most hosts. Download the package here. |
Select , right-click on the Organizational Unit of the domain whose hosts you want to install the syslog-ng agent on, and select .
Select , and edit the Group Policy object you want to add the syslog-ng agent configuration to. Alternatively, you can create a new group policy object as well.
Select , right-click on , and select .
Navigate to the syslog-ng Agent for Windows .msi
installer and select .
Select , then .
Select and configure the syslog-ng Agent. The members of the domain will use this configuration.
The syslog-ng Agent for Windows application will be automatically installed on the members of the domain when they are next rebooted. To perform the installation earlier, execute the gpupdate command on the members of the domain.
![]() |
Note |
|---|---|
If you do not want to install the syslog-ng Agent automatically from
the domain controller, skip Steps 5-7, complete Step 8, then install the
|
The syslog-ng Agent for Windows application can be installed in silent mode as well, without requiring any user interaction. The various installer options can be specified as command-line options. The following options are available:
Start the installer in silent mode. This option is required for the silent installation.
Install the syslog-ng Agent into the specified folder.
Do not add entries about syslog-ng Agent to the Start menu.
Install syslog-ng Agent in standalone mode. This is the default, installation mode of the syslog-ng Agent.
Install syslog-ng Agent in domain mode.
If set to YES, the syslog-ng Agent will forward
every message available in its message sources. By default, it is FALSE, meaning that only new
messages are forwarded.
Use the specified XML configuration file for the configuration of syslog-ng Agent.
The exact upgrading procedure of the syslog-ng Agent for Windows application depends on how you have installed and how you manage the agent.
![]() |
Warning |
|---|---|
|
When upgrading agents running in domain mode, always upgrade the agents running on the domain hosts before upgrading the agent running on the domain controllers. The hosts of a domain (including the domain controllers) should run the same version of the syslog-ng Agent, running different versions on the hosts in neither supported nor recommended. |
![]() |
Note |
|---|---|
|
Upgrading to syslog-ng Agent for Windows version 3.2.1 is supported only from syslog-ng Agent version 3.0.8 (the latest stable release) and version 3.1.1 (the latest feature release). |
If a host is running syslog-ng Agent in standalone mode, download and
execute the
syslog-ng-agent-<versionnumber>-setup.exe
installer on the host and verify that the displayed information is correct.
The agent will be automatically restarted when you close the configuration
window.
If a domain host is running the syslog-ng Agent that was installed by the
domain controller from the .msi installer package,
complete the steps described in Section 2.2, Installing the syslog-ng Agent on the domain controller and the hosts of a
domain. The system will
automatically recognize that the new package will update the syslog-ng Agent
for Windows application.
If a domain host is running the syslog-ng Agent that was installed
manually from the
syslog-ng-agent-nosnapin-<versionnumber>-setup.exe
file, run the new
syslog-ng-agent-nosnapin-<versionnumber>-setup.exe
file on the host. After the installation is complete, select and execute the gpupdate command to
refresh the domain settings of the agent.
If syslog-ng Agent has been installed with an XML configuration file with syslog-ng-agent-<versionnumber>-setup.exe or syslog-ng-agent-nosnapin-<versionnumber>-setup.exe, download and execute the same installer. It will display the previous XML configuration file, and upgrades it if desired.
This section describes how to configure the syslog-ng Agent application. The exact method depends on the installation scenario and also on the configuration method (regular or XML-based) you want to use. The syslog-ng Agent for Windows application is configured usually using its MMC snap-in (when managed globally from the domain controller or when configuring it in standalone mode). However, it is also possible to use an XML-based configuration file.
For details on how to configure a syslog-ng Agent that was installed in standalone mode, see Section 3.1.1, Configuring a standalone syslog-ng Agent.
For details on how to configure the syslog-ng Agents of the domain hosts, see Procedure 3.1.2.1, Configuring the syslog-ng Agents of the domain hosts.
For details on how to configure the syslog-ng Agents of the domain controllers, see Procedure 3.1.2.2, Configuring the syslog-ng Agents of the domain controllers.
For details on how to configure syslog-ng Agent from file, see Section 3.1.3, Using an XML-based configuration file.
In standalone mode, to configure an already installed syslog-ng Agent, select
. Alternatively, select , enter gpedit.msc, then select
![]() |
Warning |
|---|---|
After modifying its configuration, you have to restart the
|
This section describes how to configure the syslog-ng Agent for Windows application in domain mode.
For details on how to configure the syslog-ng Agents of the domain hosts, see Procedure 3.1.2.1, Configuring the syslog-ng Agents of the domain hosts.
For details on how to configure the syslog-ng Agents of the domain controllers, see Procedure 3.1.2.2, Configuring the syslog-ng Agents of the domain controllers.
For details on the relationship of different group-policy levels, see Section 3.1.2.3, Domain versus local settings.
![]() |
Note |
|---|---|
Managing syslog-ng Agent from a Windows 2000 domain controller is not supported. |
3.1.2.1. Procedure – Configuring the syslog-ng Agents of the domain hosts
Purpose:
To configure an already installed syslog-ng Agent from the domain controller, perform the following steps.
Steps:
On the domain controller, select .
Right-click on the Organizational Unit, then select .
Configure the syslog-ng Agent as needed for the domain hosts. The changes will take affect when the domain hosts update their settings from the domain controller. By default, this happens every 90 minutes, depending on your domain settings. To download the configuration earlier, execute the gpupdate command on the members of the domain.
![]() |
Note |
|---|---|
When the domain hosts update their settings, the syslog-ng agent will be automatically restarted to load the new settings, except when there is no difference between the old and the new settings. |
3.1.2.2. Procedure – Configuring the syslog-ng Agents of the domain controllers
Purpose:
To configure the syslog-ng Agent running on the domain controllers, perform the following steps.
Steps:
On the domain controller, select .
Right-click on the Organizational Unit of the domain whose domain controllers you want to configure, then select . By default, the domain controllers are in the Domain Controllers organizational unit.
Select , and edit the Group Policy object you want to add the syslog-ng agent configuration to. Alternatively, you can create a new group policy object as well.
Select and configure the syslog-ng Agent. The domain controllers of the domain will use this configuration.
Configure the syslog-ng Agent as needed for the domain controllers. If you have multiple domain controllers, the changes will take affect when the other domain controllers update their settings from this domain controller. By default, this happens every 5 minutes, depending on your domain settings. To download the configuration earlier, execute the gpupdate command on the domain controllers.
![]() |
Note |
|---|---|
When the domain controllers receive the new settings, the syslog-ng agent will be automatically restarted to load the new settings, except when there is no difference between the old and the new settings. |
The syslog-ng Agent follows the standard policy-inheritance methods of Windows:
GPOs (Group Policy Objects) from parent containers are inherited by default. When multiple GPOs apply to these computers, the settings in the GPOs are aggregated. The final value of a given policy setting is set only by the highest precedent GPO that contains the setting. (However, the final value for a few settings will actually be the combination of values across GPOs.) In this processing order, sites are applied first, but have the least precedence. OUs (Organization Units) are processed last, but have the highest precedence.
When multiple group policy objects are assigned, the group policies are applied in the following order:
The local group policy object is applied.
The group policy objects linked to sites are applied. If multiple GPOs exist for a site, they are applied in the order specified by the administrator.
GPOs linked to the domains are applied in the specified order.
GPOs linked to OUs are applied. The OU group policy objects are set from the largest to the smallest organizational unit; that is, first the parent OU and then the child OU. By default, a policy applied later overwrites a policy that was applied earlier. Hence, the settings in a child OU can override the settings in the parent OU.
If any group policy is not configured, the syslog-ng Agent checks its local policy settings, and uses the local setting if available.
The following are the rules regarding group policy settings inheritance:
A policy setting is configured ( or ) for a parent OU, and the same policy setting is not configured for its child OUs. The child OUs inherit the parent’s policy.
A policy setting is configured ( or ) for a parent OU, and the same policy setting is configured for its child OUs. The child OUs settings override the settings inherited from the parent’s OU. There is a specific case, when the type of this setting is list:
The syslog-ng Agent will aggregate the contents of these lists and will use the same elements only once.
If any policy is not configured (), no inheritance takes place.
Starting from syslog-ng Agent for Windows version 3.2, it is possible to export the configuration of syslog-ng Agent into an XML file. This configuration file can be used as the default configuration when installing the syslog-ng Agent to another host, or can be imported to an existing installation using a command-line utility.
![]() |
Warning |
|---|---|
Do not manually edit or modify the exported XML file. |
3.1.3.1. Procedure – Creating an XML configuration file for the syslog-ng Agent
Purpose:
To create an XML configuration file that can be used by other syslog-ng Agent configurations, perform the following steps.
Steps:
Install the syslog-ng Agent for Windows application on a host.
Create the configuration you want to use on other hosts using the graphical interface.
Right-click on and select . Select where to save the configuration file.
Alternatively, you can export the configuration of syslog-ng Agent from the command line using the configmanager.exe -export <source> "destination xml file" command. The <source> parameter determines where the configuration is imported:
{GPO ID}: Export the configuration related to the specified Group Policy Object ID (for example, {99AF1185-AB80-40B2-B4B8-41A1E907F329}).
localsettings: Export the local settings of the host.
domainsettings: Export the settings the host received from the domain controller.
![]() |
Note |
|---|---|
To overwrite the XML configuration file, use the /F option. This will force export even if the file already exists. |
Use the configuration file on other hosts. For details on the different options, see Section 3.1.3.2, Configuring syslog-ng Agent from an XML file.
How you configure the syslog-ng Agent application to use an XML configuration file depends on your environment. See the following list for details.
![]() |
Warning |
|---|---|
Do not manually edit or modify the exported XML file. |
To start an already installed, standalone syslog-ng Agent using an XML configuration file, execute the following steps in a command line:
cd <syslog-ng agent installation directory>
net stop "syslog-ng agent"
syslog-ng-agent.exe -i <PATH>\configuration.xml
net start "syslog-ng agent"
To use the XML file during the installation of the syslog-ng Agent application, navigate to window and select . In the next window, browse your XML configuration. Note that the XML schema file will be installed in the syslog-ng Agent directory.
If you want to use the .msi installer with an xml file,
use the syslog-ng-agent-3.2.1-setup.msi
SLNGOPTS="/xmlconfig=fullpath\myconfigfile.xml"
command, or edit the installer with the Orca MSI editor,
and add the
SLNGOPTS="/xmlconfig=fullpath\myconfigfile.xml"
to the installation parameters on the
tab.
Starting with syslog-ng Agent for Windows version 3.2, a command-line tool called configmanager.exe is available. To import the XML configuration file, use the following command: configmanager.exe -import <destination> "source xml file" command. The <destination> parameter determines which configuration the XML configuration will be converted to:
{GPO ID}: Import the configuration to the specified Group Policy Object ID (for example, {99AF1185-AB80-40B2-B4B8-41A1E907F329}).
localsettings: Import the configuration as the local settings of the host.
domainsettings: Import the configuration as the domain settings of the host.
The syslog-ng Agent for Windows application can send the log messages of the Windows host to a central log server or relay. It is possible to send the same messages to multiple servers, when each server receives the same messages; and also to configure failover servers, when the agent sends the messages to a primary server, or to a failover server if the primary becomes unavailable. If the agent loses the connection to a destination server and the reconnection fails, it will sends an eventlog message. The successful reconnection attempt is also logged. (If the server is unavailable for a long time, the agent sends a log message about the failed connection once in every ten minutes.)
Similarly to the Linux version, the agent now sends MARK messages to the server to indicate that the client host is alive but there are no log messages to send. A MARK message is sent every ten minutes.
![]() |
Warning |
|---|---|
The syslog-ng Agent for Windows application does not support the unreliable UDP protocol. Configure your central log server to accept logs using TCP or TLS connections. If needed, adjust your firewall configuration to permit such traffic to the log server. |
3.2.1. Procedure – Configuring the destination logservers
Purpose:
To configure a new destination, complete the following steps:
Steps:
Start the configuration interface of the syslog-ng Agent for Windows application.
Select , and double-click on .
Enter the hostname or the IP address of the logserver into the field. If your logserver is configured to accept messages on a non-standard port, type the port number into the field.
On tab, select the protocol used to transfer log messages and press to apply the selected template. The following protocol templates are available:
: Use the legacy
BSD-syslog protocol specified in RFC3164. This option uses the
following message template: <${PRI}>${BSDDATE}
${HOST} ${APP_NAME}[${PROCESS_ID}]: ${MSG}.
![]() |
Example 3.1. Legacy BSD Syslog Protocol log |
|---|---|
<134>Oct 04 14:45:33 zts-win019.ztswin2008dom.balabit Microsoft-Windows-Eventlog[2880]: ZTSWIN2008DOM\balabit: System Microsoft-Windows-Eventlog: [Information] The Application log file was cleared. (EventID 104) |
: Use the new IETF-syslog protocol specified in RFC 5424-5428. Starting from version 3.0, syslog-ng also supports the IETF-protocol.
![]() |
Note |
|---|---|
Starting with version 3.2, the syslog-ng Agent for Windows application uses the IETF-syslog protocol by default, and the default metadata to include is |
When using the IETF-syslog protocol to transfer Eventlog messages, the syslog-ng Agent application can include the macros (name-value pairs) in the SDATA part of the log message. Select the data to add to the log messages from the list. The following options are available:
None: Include only the data mandated by RFC5424.
[meta sequenceId="value" sysUpTime="value"] [origin ip="value" software="value"]
Macro names and values: Include every available Event macro, except EVENT_MSG (EVENT_MESSAGE), EVENT_MSG_XML (EVENT_MESSAGE_XML) and macros with null value.
This is the default setting.
499 <132>1 2010-09-28T12:02:30+02:00 zts-win004.ztswin2003dom.balabit testapp 1220 - [meta sequenceId="1" sysUpTime="1"][origin ip="zts-win004.ztswin2003dom.balabit" software="testapp"][win@18372.4 EVENT_ID="1000" EVENT_NAME="Application" EVENT_REC_NUM="1673" EVENT_SID="S-1-5-21-3460971693-970282485-2299281428-1001" EVENT_SID_TYPE="User" EVENT_SOURCE="testapp" EVENT_TYPE="Warning" EVENT_USERNAME="ZTS-WIN004\\balabit"] ZTS-WIN004\balabit: Application testapp: [Warning] test message (EventID 1000)
EventData (deprecated Agent v3.1 functionality): Include the name-vaule pairs from the EventData > <Data> field of the log message and the Keyword value from the System part of the XML Eventlog messages. Note that these fields are available only on Windows Vista and newer operating systems, and syslog-ng Agent 3.1. automatically included these values in the log messages.
[EventData@18372.4 "name"="value"] [Keywords@18372.4 Keyword="value"]
See the following sample log message:
338 <132>1 2010-09-28T12:02:30+02:00 zts-win004.ztswin2003dom.balabit testapp 1620 - [meta sequenceId="1" sysUpTime="1"][origin ip="zts-win004.ztswin2003dom.balabit" software="testapp"][EventData@18372.4 Data="test message"][Keywords@18372.4 Keyword="Classic"] ZTS-WIN004\balabit: Application testapp: [Warning] test message (EventID 1000)332
: Send log messages in a format compatible with the Snare log monitoring tool.
![]() |
Warning |
|---|---|
3.1 and earlier versions of the syslog-ng Agent for Windows application used an imperfect message template to send Snare-compatible messages. This has been corrected in the option. If you need the old, imperfect mode of operation, select a syslog protocol and select , then click . |
![]() |
Note |
|---|---|
|
Snare is a tab-separated message format. Within the message part, agent replaces CRLF with 2 space, TAB character with 1 space. You cannot modify the log format if you have selected this protocol. > |
![]() |
Example 3.2. Snare log |
|---|---|
<134>Oct 06 13:49:41 zts-win019.ztswin2008dom.balabit MSWinEventLog 1 Application 1 Wed Oct 06 13:49:41 2010 1 syslog-ng Agent S-1-5-21-551780264-1021859348-3425375765-1003 User Information zts-win019.ztswin2008dom.balabit None Application started 1 |
![]() |
Note |
|---|---|
|
Selecting the option is identical
to using the Changing a protocol does not automatically change the protocol template used. To use a protocol-specific template, select after modifying the protocol. |
If needed, modify the template of the messages. The format of the messages can be different for the eventlog and the file sources.
If the host running syslog-ng Agent is sometimes logged in into a domain, sometimes not, then its hostname might change depending on its actual domain membership. This might cause that the hostname appearing in the syslog messages depends on the domain membership of the host. To avoid this situation, enable the option. That way syslog-ng Agent resolves the name of its host from the DNS server, and uses the resolved FQDN in the syslog messages.
If you have a backup server that can accept log messages if the primary logserver becomes unavailable, select the tab, click , and enter the hostname or the IP address of the backup logserver into the field. Repeat this step if you have more than one backup servers.
If you want to send the log messages to more than on server in parallel, so that every server receives every message, repeat Steps 3-4 to add the secondary servers. Secondary servers may have failover servers as well.
![]() |
Note |
|---|---|
The syslog-ng Agent for Windows application considers a message received by the logserver if the primary server of the destination, or one of its failover servers receives it. To modify which server of a destination is the primary server, select , right-click on the server you want to be primary, select . |
Select , then . To activate the changes, restart the syslog-ng Agent service.
3.2.2. Procedure – Limiting the rate of messages
Purpose:
The syslog-ng Agent can control the rate of messages (message per second) sent to the central server. That way sudden message-bursts can be avoided, and the load of the server is decreased.
To limit the number of messages sent to a destination, complete the following steps:
Steps:
Start the configuration interface of the syslog-ng Agent for Windows application.
Select .
Select the destination server and select .
To limit the number of messages that the syslog-ng agent sends to the
server per second, enter the desired limit into the
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. The same value applies to the failover servers of the destination. If you are sending messages to multiple servers, then the speed of the primary server is important: if the primary server cannot accept the messages fast enough, the syslog-ng agent will reduce the number of sent messages to match the speed of the primary server, even if the secondary servers could accept messages faster. If the secondary servers cannot accept messages as fast as the primary server, then the secondary servers will lose messages; the syslog-ng agent will not slow down to wait for them. |
Select , then . To activate the changes, restart the syslog-ng Agent service.
The syslog-ng Agent for Windows application can read messages from eventlog containers and text files. The following sections explain how to configure these message sources.
For details on how to forward messages from eventlog containers, see Section 3.3.1, Eventlog sources.
For details on how to forward messages from plain text log files, see Procedure 3.3.2, Managing file sources.
Some global settings can apply to both types of sources, these are described in Procedure 3.3.3, Configuring global settings.
The syslog-ng Agent for Windows application can collect messages from the
standard Windows eventlog containers, as well as from custom containers. The
agent automatically forwards the messages from three standard eventlog
containers (Application, Security, System). To enable or
disable these sources, or to add custom eventlog containers, complete the
following steps:
![]() |
Note |
|---|---|
|
The syslog-ng Agent for Windows sends its own log messages into the
The agent caches in the registry the ID of the last message sent to the destination server, so if the agent is not operating for a time (for example it is restarted ), then it starts reading messages from the last cached message ID, sending out all the new messages. |
![]() |
Warning |
|---|---|
If an eventlog container becomes corrupt, the agent will stop processing
the event source. A log message ( |
3.3.1.1. Procedure – Managing eventlog sources
Steps:
Start the configuration interface of the syslog-ng Agent for Windows application.
Select , and double-click on .
To disable sending messages from an eventlog container, unselect the checkbox before the name of the container.
To modify the log facility associated with the messages of the container, select the container, click , and select the log facility to use in the field.
To add a custom container, select , and enter the name if the container into the field. If you do not know the name of the container, see Procedure 3.3.1.2, Determining the name of a custom eventlog container.
Select , then . To activate the changes, restart the syslog-ng Agent service.
3.3.1.2. Procedure – Determining the name of a custom eventlog container
Steps:
Open the Event Viewer application.
Select the custom container you are looking for (for example
DNS Server).
Right click on the container and select .
The name of the container is the name of the file (without the
extension) displayed in the field (for
example for
C:\WINDOWS\system32\config\DnsEvent.Evt it is
DnsEvent).
Use this name as the name of the custom eventlog container during the procedure described in Procedure 3.3.1.1, Managing eventlog sources.
![]() |
Note |
|---|---|
|
On Windows Vista and Server 2008, some container are not real containers, but show selected messages collected from multiple containers. To forward such messages to the syslog-ng server, you have to find out which real containers are displayed in the container, and add them to the configuration of the syslog-ng Agent. Some containers have the If you are sending old messages to the server as well, the syslog-ng Agent will not send the very first message stored in the container. This is a bug in the Windows API. |
3.3.2. Procedure – Managing file sources
Purpose:
The syslog-ng Agent for Windows application can collect log messages from text
files. It can process messages spanning multiple lines, and supports the use of wildcards (*, ?) in filenames to be able to follow log files that are automatically rotated.
To configure file sources, complete the following steps:
Steps:
Start the configuration interface of the syslog-ng Agent for Windows application.
Select , double-click on , and check the option.
Select , and select the folder containing the log files in the field. Select or enter the name and extension of the log files in the field. Wildcards may be used. The syslog-ng agent will forward log messages from every file that is located in this folder and has a name that matches the filter expression.
![]() |
Tip |
|---|---|
When specifying the Base Directory, you can use the environment
variables of Windows, for example |
![]() |
Warning |
|---|---|
Note that when managing members of a domain, the selected path
must be available on the domain members, for example
|
To send messages from the files located in the subfolders of the folder set as Base Directory, select the option.
To send messages only from the file that was last modified, select the option.
![]() |
Note |
|---|---|
|
When using the option with a file source that has
wildcard in the filename (for example
When you use wildcards together with the option, make sure that older files will not be modified. |
If you are forwarding the logs of Internet Information Server (IIS) 5 applications, select the option.
![]() |
Note |
|---|---|
If this option is not selected, the syslog-ng Agent monitors every matching file in the folder for changes, and sends new log messages from all files. |
To send messages only from the file that was last modified of every subfolder of the Base Directory, select both the and the options.
To change the log facility or the log severity associated to the file source, select the desired facility or priority from the or fields, respectively.
![]() |
Note |
|---|---|
|
Significant changes to the settings of a file source may cause the syslog-ng Agent to resend the entire contents of the matching files. This means that log messages already sent earlier to the syslog-ng server may be resent and thus duplicated in the server logs. Configuration changes that may result in such behavior are:
|
By default, the syslog-ng Agent application assumes that the source files are encoded using the default windows ANSI code page, specific to the locale of the host. If the files have a different encoding, select it from the field. Unicode, UTF-16, and UTF-32 encodings are currently not supported. Note that the log messages are sent to the destinations using UTF-8 encoding.
If a log messages in the log file consists of multiple lines, that is, the log messages contain newline characters, configure syslog-ng Agent to process the related lines as a single message.
The syslog-ng Agent application can automatically handle Apache Tomcat Catalina and Oracle SQL log messages. To process such messages, select the name of the application from the field. Note that the timestamp of Tomcat log messages depends on the locale of the host.
To process multi-line log messages of a different application, complete the following steps.
Select , and set the and optionally the fields.
Specify a string or regular expression that matches the beginning of the log messages in the field. If the option is set, the syslog-ng Agent ignores newline characters from the source until a line matches the regular expression again, and treats the lines between the matching lines as a single message.
![]() |
Note |
|---|---|
Use as simple regular expressions as possible, because complex regular expressions can severely reduce the rate of processing multi-line messages. |
Use the option when processing multi-line messages that contain unneeded parts between the messages. Specify a string or regular expression that matches the beginning of the unneeded message parts. If the option is set, the syslog-ng Agent ignores lines between the line matching the expression and the next line matching .
When receiving multi-line messages from a source when the option is set but no matching line is received between two lines that match , the syslog-ng Agent application will continue to process the incoming lines as a single message until a line matching is received.
![]() |
Warning |
|---|---|
If the option is set, the syslog-ng Agent application discards lines between the line matching the and the next line matching expressions. |
Optional Step: After creating and testing a custom pattern, please consider sending your pattern to BalaBit so we can include it in a future version of syslog-ng Agent. To share your pattern with BalaBit and other syslog-ng Agent users, click . Your e-mail application will open, with an e-mail containing the application name and the pattern.
Select , then . To activate the changes, restart the syslog-ng Agent service.
![]() |
Note |
|---|---|
If an application writes a message into a log file without ending the line with a new-line character, saves (closes) the file, and later continues to write into the same line, then this is visible in the file as a single line, but the syslog-ng agent interprets them as two separate messages. |
![]() |
Warning |
|---|---|
If an application deletes a log file, the application must ensure that syslog-ng Agent had enough time to forward the messages from the file to the central server to avoid losing messages. |
![]() |
Example 3.3. Collecting the logs of multiple applications from a single folder |
|---|---|
|
If two applications log into the same folder (for example
If other applications log into the By default, the syslog-ng agent will send every message to the server that arrives into any of the monitored log files. To send only the messages that arrive into the latest file of the source, enable the option. |
3.3.3. Procedure – Configuring global settings
Purpose:
The syslog-ng Agent for Windows application has some global settings that can apply to both eventlog and file sources. To configure the global settings, complete the following procedure:
Steps:
Start the configuration interface of the syslog-ng Agent for Windows application.
Select and double-click on .
Set the default log facility associated to the messages.
By default, the filters and regular expressions (see Section 3.5, Filtering messages) used in the message filters are case-sensitive. To make them case-insensitive, select the or the options, or both.
![]() |
Note |
|---|---|
The option
makes the |
Select , then . To activate the changes, restart the syslog-ng Agent service.
3.3.4. Procedure – Disabling sources and filters globally
Purpose:
Filters and sources can be disabled globally as well. Disabling filters or sources means that the syslog-ng agent ignores the disabled settings: that is, if the file sources are disabled, the agent does not send the messages from the files to the server. For details, see the following procedure.
Steps:
Start the configuration interface of the syslog-ng Agent for Windows application.
To disable eventlog sources, select , right-click on , then select .
To disable file sources, select , right-click on , then select .
To disable eventlog filters, select , right-click on , then select .
To disable file filters, select , right-click on , then select .
Select , then . To activate the changes, restart the syslog-ng Agent service.
When connecting to a syslog-ng server using an encrypted connection, the syslog-ng agent verifies the certificate of the server. The connection is established only if the Certificate Authority (CA) that issued the certificate of the server is available in the Certificate Store () of the Windows-based host.
![]() |
Note |
|---|---|
This certificate (sometimes also called the CACert of the server) is not the certificate of the server: it is the certificate of the CA that signed the certificate of the server. |
3.4.1. Procedure – Enabling encrypted connections
Purpose:
To enable SSL-encrypted connections to the server, complete the following steps:
Steps:
Start the configuration interface of the syslog-ng Agent for Windows application.
Select .
Right-click on the server that accepts encrypted connections and select .
Select the option.
![]() |
Warning |
|---|---|
The connection can be established only if the Certificate Authority (CA) that issued the certificate of the server is available in the Certificate Store () of the Windows-based host. For details on importing certificates, see Procedure 3.4.3, Importing certificates with the Microsoft Management Console. |
Select , then . To activate the changes, restart the syslog-ng Agent service.
When the syslog-ng server is configured to use mutual authentication, it requests a certificate from the syslog-ng clients. The syslog-ng Agent application can automatically show the requested certificate to the server when the connection is established, provided it is available in the store () of the Local Computer. Use the to import this certificate. For details, see Procedure 3.4.3, Importing certificates with the Microsoft Management Console.
3.4.2.1. Procedure – Configuring mutual authentication with the syslog-ng Agent for Windows
Purpose:
If the syslog-ng server requests authentication from the syslog-ng Agent, complete the following steps.
Steps:
Create certificates for the clients. By default, the syslog-ng agent will look for a certificate that contains the hostname or IP address of the central syslog-ng server in its Common Name. If you use a different Common Name, do not forget to complete Step 3 to set the Common Name of the certificate.
The certificate must contain the private key and must be in PKCS12 format.
![]() |
Tip |
|---|---|
|
To convert a certificate and a key from PEM format to PKCS12 you can use the following command: openssl pkcs12 -export -in agentcertificate.pem -inkey agentprivatekey.pem -out agentcertificatewithkey.pfx |
Import this certificate into the store of the Local Computer using the Certificate Import Wizard. For details, see Procedure 3.4.3, Importing certificates with the Microsoft Management Console.
By default, the syslog-ng agent will look for a certificate that contains the hostname or IP address of the central syslog-ng server in its Common Name. (The agent will look for the server name or address set in the field of the destination.) If the certificate of the client has a different Common Name, complete the following steps:
Start the configuration interface of the syslog-ng Agent for Windows application.
Select .
Right-click on the server that requires mutual authentication and select .
Select the option, click , then select the certificate to use. You can also type the Common Name of the certificate into the field.
If you have more than one certificates with the same Common
Name, alternatively, you can type the Distinguished Name (DN) of
the certificate into the field. When using the Distinguished Name,
type only the elements of the name, separated with comma,
starting with the country. For example US, Maryand,
Pasadena, Example Inc, Sample Department,
mycommonname
![]() |
Note |
|---|---|
A common way is to use the hostname or the IP address of
the host running the syslog-ng Agent as the Common Name of the
certificate (for example
|
Select , then . To activate the changes, restart the syslog-ng Agent service.
3.4.3. Procedure – Importing certificates with the Microsoft Management Console
Purpose:
To import a certificate, complete the following steps.
Steps:
Start Microsoft Management Console by executing
mmc.exe ( menu
).
![]() |
Note |
|---|---|
Running |
Click on the item of the menu.
Click , select the module, and click .
Select in the displayed window and click .
Select and click .
To import the certificate of the syslog-ng server, navigate to .
To import a certificate for the syslog-ng agent to perform mutual authentication, navigate to .
Right-click on the folder and from the appearing menu select . The will be displayed. Click .
Optional step: Certificates used to authenticate the syslog-ng agent in mutual authentication include the private key. Provide the password for the private key when requested.
Windows offers a suitable certificate store by default, so click .
Click on the summary window and on the window that marks the successful importing of the certificate.
The syslog-ng Agent for Windows application can filter log messages both in blacklist- and whitelist fashion. When using blacklisting, you can define filters, and any message that matches the filters is ignored by the agent — only messages that do not match the filters are sent to the central server. When using whitelisting, you can define filters, and the messages matching the filters are forwarded to the central server — other messages are ignored. By default, blacklist filtering is used.
If you define multiple filters, the messages must match every filter. In other words, the filters are connected to each other with logical OR operations.
Different filters are available for eventlog- and file sources. When the syslog-ng Agent processes a message, it checks the relevant filters on-by-one: if it finds a filter that matches the message, the agent stops processing the message without sending it to the server.
![]() |
Note |
|---|---|
By default, all filters are case sensitive. For details on how to change this behavior, see Procedure 3.3.3, Configuring global settings. |
For details on how to filter messages received from eventlog sources, see Procedure 3.5.1, Filtering eventlog messages.
For details on how to filter messages received from file sources, see Procedure 3.5.2, Filtering file messages.
For details on how to disable filtering globally, see Procedure 3.3.4, Disabling sources and filters globally.
3.5.1. Procedure – Filtering eventlog messages
Purpose:
The following types of filters are available for eventlog sources:
Sources: Filter on the source
(application) that created the message. Corresponds with the EVENT_SOURCE macro.
Sources and Event ID: Filter on the source
(application) that created the message, and optionally on the identification
number of the event. Corresponds with the EVENT_SOURCE and EVENT_ID
macros.
Message Contents: Filter the text of the message,
that is, the contents of the EVENT_MESSAGE macro. In this filter you can use regular expressions.
Sources and Categories: Filter on the source
(application) that created the message, and optionally on the category of
the event. Corresponds with the EVENT_SOURCE and EVENT_CATEGORY macros.
Users: Filter on the username associated with the
event. Corresponds with the EVENT_USERNAME macro.
Computers: Filter on the name of the computer (host)
that created the event. Corresponds with the HOST macro.
Event Types: Filter on the type of the event.
Corresponds with the EVENT_TYPE macro.
To modify the filters used for eventlog messages, complete the following procedure:
Steps:
Start the configuration interface of the syslog-ng Agent for Windows application.
To apply filters globally to every eventlog message, select , and right-click .
To apply filters only to a specific destination, select , select the destination server, then select . Right-click .
![]() |
Note |
|---|---|
If you want to use both global and local (server side) filtering, first global filters will be applied to the eventlog messages and then the local filters. |
Select .
To use whitelist-filtering, select . By default, syslog-ng Agent uses blacklist filtering.
On the right-hand pane, double-click on the type of filter you want to create.
To ignore messages sent by a specific application, or messages of the application with a specific event ID, double-click on , select , and select the name of the source (application) whose messages you want to ignore from the field. To ignore only specific messages of the application, enter the ID of the event into the field. Select .
To ignore messages that contain a specific string or text, double-click on , enter the search term or a regular expression into the field, then select .
To ignore messages sent by a specific application, or messages of the application that fall into a specific category, double-click on , select , and select the name of the application whose messages you want to ignore from the field. To ignore only those messages of the application that fall into a specific category, enter the name of the category into the field. Select .
To ignore messages sent by a specific user, double-click on , enter the name of the user into the field, then select .
To ignore messages sent by a specific computer (host), double-click on , enter the name of the user into the field, then select .
Event Types: To ignore messages of a specific event-type, double-click on , select the event types to ignore, and select .
![]() |
Note |
|---|---|
Under Windows Vista and Server 2008, Windows labels certain
messages as level 3 and the Event Viewer labels such messages as
warnings. This is against the official specification: level 3
should not be used; and only level 2 messages are warnings. To
filter these events, you have to manually add a new event type
to the registry and set its value to 3, for example
|
Select , then . To activate the changes, restart the syslog-ng Agent service.
3.5.2. Procedure – Filtering file messages
Purpose:
The following types of filters are available for file sources:
Message Contents: Filter the text of the message,
that is, the contents of the FILE_MESSAGE macro. In this filter you can use regular expressions.
File Name: Filter on the file name. Corresponds with the FILE_NAME macro. In this filter you can use regular expressions. Only available for destination file filters.
To modify the filters used for file messages, complete the following procedure:
Steps:
Start the configuration interface of the syslog-ng Agent for Windows application.
To apply filters globally to every file message, select , and right-click .
To apply filters only to a specific destination, select , select the destination server, then select . Right-click .
![]() |
Note |
|---|---|
If you want to use both global and local (server side) filtering, first global filters will be applied to the file messages and then the local filters. |
Select .
To use whitelist-filtering, select . By default, syslog-ng Agent uses blacklist filtering.
On the right-hand pane, double-click on the type of filter you want to create.
To ignore messages that contain a specific string or text, double-click on , enter the search term or a regular expression into the field, then select .
Select , then . To activate the changes, restart the syslog-ng Agent service.
The format of the messages received from the eventlog and the file sources can be
customized using templates. You can define separate message format for the eventlog
and the file sources. If you have multiple destination servers configured, you can
define separate templates for each server. When creating a template to customize the
message format, you can use macros, all alphanumeric characters, and the following
special characters: <>,():;-+/_.
3.6.1. Procedure – Customizing messages using templates
Purpose:
To create a template, complete the following procedure:
![]() |
Warning |
|---|---|
These macros are available only in the syslog-ng Agent for Windows. To recognize Windows-specific elements of the log message (for example eventlog-related macros) on the syslog-ng server, you have to use parsers on the syslog-ng server. The parser must be configured to match the message format set in the syslog-ng Agent. |
Steps:
Start the configuration interface of the syslog-ng Agent for Windows application.
Select . Select your logserver, and click .
To change the format of messages received from eventlog sources, type the message format you want to use into the field.
To change the format of messages received from file sources, type the message format you want to use into the field.
Do not forget to add the $ character before macros.
For a complete list of the available
macros, see Section 3.6.3, Macros available in the syslog-ng Agent.
For example, to send the messages in the DATE HOSTNAME
MESSAGE format, type Date:$DATE Hostname:$HOST
Logmessage:$MESSAGE.
Note that the $MESSAGE macro contains not only the text of the log message, but also additional information received from the message source, such as the name of the eventlog container, or the file, as set in the eventlog-specific and file-specific templates.
![]() |
Note |
|---|---|
Templates are assigned to a single destination server, so it is possible to use different templates for different servers. However, a server and its failover servers always receive the same message. |
Click .
To activate the changes, restart the syslog-ng Agent service.
The syslog-ng agent can send the syslog messages using either the ISO or the BSD timestamp format. It is recommended to use the ISO format, because it contains much more information than the BSD format.
Note that in the syslog-ng agent, the macros without prefix (for example
DATE) always refer to the receiving date of the
message (for example R_DATE) when it arrived into the
event log container, and are included only for compatibility reasons.
The following sections list the available macros:
![]() |
Warning |
|---|---|
These macros are available only in the syslog-ng Agent for Windows. To recognize Windows-specific elements of the log message (for example eventlog-related macros) on the syslog-ng server, you have to use parsers on the syslog-ng server. The parser must be configured to match the message format set in the syslog-ng Agent. |
![]() |
Note |
|---|---|
Note that if you use the Syslog protocol template (meaning that messages are sent using the IETF-syslog protocol), only the message part of the log message can be customized, the structure of the headers and other information is fixed by the protocol. |
By default, syslog-ng Agent uses the following format:
<${PRI}>${BSDDATE} ${HOST} ${APP_NAME}[${PROCESS_ID}]:
${MESSAGE}, where $MESSAGE is
${EVENT_USERNAME}: ${EVENT_NAME} ${EVENT_SOURCE}: [${EVENT_TYPE}]
${EVENT_MSG} (EventID ${EVENT_ID}) for eventlog messages, and
$FILE_NAME: $FILE_CURRENT_POSITION/$FILE_SIZE:
$FILE_MESSAGE for file messages.
An alias for the APPLICATION_NAME macro.
At event container: Name of the application the message came from
At file as the name of creator (default value): syslog-ng-agent
The content of the message, including the text of the message and any file- or event-specific macros that are set for the source.
An alias for the
MESSAGE macro.
Date of the message in BSD timestamp
format (month/day/hour/minute/second, each expressed in two digits).
This is the original syslog time stamp without year information, for
example Jun 13 15:58:00. If possible, it is
recommended to use ISODATE for
timestamping.
Description: A nonstandard format for the date of the message using the same
format as DATE, but including the year as well,
for example: 2006 Jun 13 15:58:00.
Date of the message in the ISO 8601
compatible standard timestamp format (yyyy-mm-ddThh:mm:ss+-ZONE), for
example: 2006-06-13T15:58:00.123+01:00. If
possible, it is recommended to use ISODATE for
timestamping. Note that the syslog-ng agent cannot produce fractions of
a second (for example milliseconds) in the timestamp.
Description: The month the message was sent as a decimal value, prefixed with a zero if smaller than 10.
The English name of the month the message was sent, abbreviated to three characters (for example Jan, Feb, and so on).
Description: The time-zone as hour offset from GMT; for example:
-07:00. In syslog-ng 1.6.x this used to be
-0700 but as ISODATE
requires the colon it was added to TZOFFSET as
well.
Description: Standard unix timestamp, represented as the number of seconds since
1970-01-01T00:00:00.
Importance level of the message represented as a number: 6 - Success, 5 - Informational, 4- Warning, or 3 - Error).
Contains the entire message in XML format. Available only on Windows Vista and Server 2008 platforms
The content of the message. This is
an alias of the EVENT_MESSAGE.
Contains the entire message in XML
format. This is an alias of the EVENT_MESSAGE_XML. Available only on Windows Vista and Server 2008 platforms
The security identification number
resolved into name. One of the following: User,
Group, Domain,
Alias
WellKnownGroup,
DeletedAccount,
Invalid, Unknown,
Computer.
The task category of the event. Available only on Windows Vista and Server 2008 platforms
Importance level of the message represented as a number: 6 - Success, 5 - Informational, 4- Warning, or 3 - Error).
The content of the message. This is
an alias of the FILE_MESSAGE macro.
Name of the log file (including its path) from where the syslog-ng Agent received the message.
During installation, syslog-ng Agent registers the syslog-ng
Agent service that is started automatically when the host boots. To
disable the automatic startup of the syslog-ng Agent, or manually start or stop the
service, use the interface. The service is running with the privileges of
the NT AUTHORITY\SYSTEM user.
When the syslog-ng Agent service is started or stopped, it sends a syslog message to the central log server and an eventlog message to the Application eventlog container of the host.
The syslog-ng Agent for Windows application has the following command-line options:
![]() |
Note |
|---|---|
Command-line options are case-insensitive. The options consist of a single letter introduced by either " |
![]() |
Note |
|---|---|
On Windows Vista or above, command line options will only work with administrator permission. |
Start the syslog-ng Agent using the specified XML configuration file.
Start the syslog-ng Agent in debug mode. The debug messages can be displayed using the dbgview application (available here).
Start the syslog-ng Agent in debug mode and send the messages to the Application eventlog container.
Display a help message about the command-line options.
Install the syslog-ng Agent service into the services list.
Remove the syslog-ng Agent service from the services list.
Display version information.
Validate XML configuration file without importing it.
To use these options, select , navigate to the directory where the syslog-ng Agent is installed (for example cd C:\Windows\Program Files\BalaBit\syslog-ng Agent\), and execute the syslog-ng-agent.exe file with the required option.
![]() |
Example 3.4. Using command line options |
|---|---|
|
To start syslog-ng Agent in debug mode: syslog-ng-agent.exe /dTo start syslog-ng Agent with XML configuration file: syslog-ng-agent.exe /c C:\ConfigFiles\syslog-ng-agent-conf.xmlTo register syslog-ng Agent as a service using XML configuration file: syslog-ng-agent.exe /i C:\ConfigFiles\syslog-ng-agent-conf.xml |
In case you experience problems with the syslog-ng Agent for Windows application, the following points may be of help.
![]() |
Note |
|---|---|
The followings address only problems specific to the syslog-ng Agent, and assume that communication between the server and the client is otherwise possible (that is, the server is properly configured to receive messages and is available on the network, and name resolution is properly configured on the client). |
Configuration changes do not take effect: Configuration changes take effect only after restarting the syslog-ng service or rebooting the system. Also restart the system after changing the timezone settings of the host, or importing a certificate that you want to use to authenticate the communication between the agent and the server. If the configuration of the agent has changed since the last restart, the syslog-ng Agent sends a message of the change, including the hmac-sha-1 hash of the new configuration.
Also note that if your clients are managed from a Domain Controller, configuration changes are not instantly downloaded to the client hosts, only at the time of the next group policy update. To update the configuration of a client host earlier, open a command prompt on the client host, and issue the gpupdate /force command.
After downloading the configuration from the Domain Controller, the syslog-ng Agent service is automatically restarted if the configuration has changed.
![]() |
Note |
|---|---|
Certain domain settings that may affect the syslog-ng Agent are downloaded only when the machine is rebooted. For example, moving the computer from one group policy to another requires a reboot to have effect. |
The syslog-ng Agent does not send messages to the server: Check the Application eventlog for messages of the syslog-ng Agent. In case of connection errors and certificate problems, the syslog-ng Agent sends error messages into the eventlog. Ensure that the destination address of the server is correctly set. If you use SSL encryption, verify that the certificate of the Certificate Authority of the server and that the certificate of the client are properly imported. If there are no error messages, check the logs on your logserver: the syslog-ng Agent sends a MARK message every ten minutes even if there are no other messages to send.
The syslog-ng Agent sends only MARK messages to the server: Verify that you have configured the eventlog and file sources, and that they have not been disabled globally. If these settings are correct but the server still does not send any messages, temporarily disable all filters to see that they are not configured to ignore every message. When using filter, it is also recommended to check the global case-sensitivity settings.
The hostname used in the messages changes: If a host is sometimes logged in into a domain and sometimes it is not, its hostname might reflect this. To avoid this situation, select . This causes syslog-ng Agent to resolve its own hostname from DNS and use the resolved FQDN in the syslog messages.
Command-line parameters are ignored on Windows Vista and 2008 Server: Command-line parameters work only for administrators if User Account Control (UAC) is enabled. To execute syslog-ng Agent with command-line parameters, select , right-click on .
If you contact the BalaBit Support Team about a problem with the syslog-ng Agent for Windows, execute the syslog-ng-agent -V command from the command line and include every version and platform information it displays in your support request.
CPU load is high: See Section 4.1, Sending messages and CPU load.
Losing messages from eventlog containers: An eventlog container is a special file. The Agent reads this file, formats the messages and sends them to remote log server. Note that the eventlog container can be configured only to a certain size. If the container reaches that size, Windows writes the next message to the beginning of the file. As a result, if the agent is not running (or the destination server is unavailable) so long that the eventlog container is filled up, messages can be lost.
The syslog-ng Agent application can send messages to the server when the Windows Scheduler provides resources to the syslog-ng Agent. When there are many unsent log messages in the log sources, and there is no other significant activity on the host, syslog-ng will start to send the messages to the server, possibly increasing the CPU load to 100%. After all messages have been sent, or if another application requires the resources, the CPU load decreases back to normal.
![]() |
Tip |
|---|---|
To avoid the initial large load on the CPU, limit the rate of message sending temporarily. You can remove the limit after the old messages have been sent. For details, see Procedure 3.2.2, Limiting the rate of messages. |
When relaying the messages from multiple sources, the syslog-ng Agent sends one message at a time from each source. That way a single source with a large log traffic does not block other log sources.
In certain rare cases, you might have to create core dumps of the syslog-ng Agent to investigate a particular problem. When enabled, the syslog-ng Agent for Windows application creates core dumps automatically when it experiences an unexpected shutdown.
To enable core dumps, set the
HKEY_LOCAL_MACHINE/Software/Balabit/syslog-ng
Agent/WriteMinidump registry key to 1.
Core dumps are written into the installation folder of the syslog-ng Agent under
the syslog-ng-agent.dmp filename. The size of a core file is
typically about 40-50 MB.
4.3. Procedure – Enabling debug logging in syslog-ng Agent
Purpose:
In case you experience problems with The syslog-ng Agent the BalaBit support team might request you to create debug logs for the application to help troubleshoot the problem. Complete the following steps:
Steps:
On the client host select .
To send the debug logs into a file, set the
key to 2.
To send the debug logs to the DebugView application, set the
key to 1.
Reproduce the error. If you requestet file output, the
syslog_ng_Agent.txt file will be created in the folder
where the syslog-ng Agent is installed (%PROGRAMFILES%\syslog-ng
Agent\ by default).
After solving the problem, delete the key from the registry, otherwise the log file will grow and might consume the available hard disk space. The log file contains the log messages received and processed by the syslog-ng Agent as well.
4.4. Procedure – Logging domain update errors
Purpose:
If the domain settings are not downloaded to a domain host, the syslog-ng Agent (starting from version 3.0.6) can create a logfile to debug why the domain settings are not updated on the client. Complete the following steps:
Steps:
On the client host select .
To send the debug logs into a file, set the
key to 2.
To send the debug logs to the DebugView application, set the
key to 1.
Select to reproduce the error. If
you requestet file output, the
%systemroot%\system32\syslog_gpext.txt file will be
created.
After solving the problem, delete the
key from the registry, otherwise the
%systemroot%\system32\syslog_gpext.txt file will grow
every time when the domain settings of the client are updated.
This section describes how to configure the logging and auditing policy on various versions of Microsoft Windows. The syslog-ng Agent can transfer log messages only about those events that are actually logged, so the audit policy has to be configured to log the important events.
Microsoft Windows operating systems can record a range of event types, from a system-wide event such as a user logging on, to an attempt by a particular user to read a specific file. Both successful and unsuccessful attempts to perform an action can be recorded. The audit policy specifies the types of events to be audited. When such an event occurs, an entry is added to the log file of the computer.
Following is a brief overview on how to configure the audit policy on various versions of Microsoft Windows. For details, consult the documentation of your operating system, or visit Microsoft TechNet. For details on configuring the auditing and logging of various applications, like the IIS Server or the ISA Server, consult your product documentation.
5.1. Procedure – Turning on security logging on Windows XP
Purpose:
The following procedure describes how to enable security logging on Windows XP Professional hosts.
Steps:
![]() |
Note |
|---|---|
For details on how to remotely enable security logging for workstations, member servers, and domain controllers, see Procedure 5.2, Turning on security logging for domain controllers. |
Login as an administrator.
Click , click , and type .
On the menu, click , and click .
Under , click , and click .
In , select , then click , click , and click .
In , select , then click .
Right-click the attribute or event you want to audit on the details pane.
Set the desired options in the .
Repeat Steps 7-8 for every other event you want to audit.
5.2. Procedure – Turning on security logging for domain controllers
Purpose:
The following procedure describes how to enable security logging on a Windows XP Professional domain controller.
Steps:
Login as an administrator.
Click , point to , point to , and click .
In the console tree, click .
Click , then click .
On the tab, select the policy you want to change, and click .
In the window, in the console tree, click .
Right-click the attribute or event you want to audit on the details pane.
Set the desired options in the .
Repeat Steps 7-8 for every other event you want to audit.
5.3. Procedure – Turning on auditing on Windows 2003 Server
Purpose:
The following procedure describes how to configure auditing on a Windows 2003 Server host.
Steps:
Login as an administrator.
Click , point to , point to , and click .
In the console tree, click , then .
Double-click on an event and select the option.
Select the type of event to log: or .
Repeat Steps 4-5 for every other event you want to audit.
This License Contract is entered into by and between BalaBit and Licensee and sets out the terms and conditions under which Licensee and/or Licensee’s Authorized Subsidiaries may use the BalaBit syslog-ng Premium Edition product.
In this License Contract, the following words shall have the following meanings:
Company name: BalaBit IT Security Ltd.
Registered office: H-1115 Budapest, Bártfai u. 54. Hungary
Company registration number: 01-09-687127
Tax number: HU11996468
|
Annexed Software |
Any third party software that is a not a BalaBit Product contained in the install media of the BalaBit Product. |
|
Authorized Subsidiary |
Any subsidiary organization: (i) in which Licensee possesses more than fifty percent (50%) of the voting power and (ii) which is located within the Territory. |
|
BalaBit Product |
Any software, hardware or service Licensed, sold, or provided by BalaBit including any installation, education, support and warranty services, with the exception of the Annexed Software. |
|
License Contract |
The present BalaBit syslog-ng Premium Edition License Contract. |
|
Product Documentation |
Any documentation referring to the BalaBit syslog-ng Premium Edition or any module thereof, with special regard to the administration guide, the product description, the installation guide, user guides and manuals. |
|
Number of Log Source Hosts |
|
|
Protected Objects |
The entire BalaBit |
|
BalaBit |
The BalaBit Product designed for aggregate, filter, format, send or receive over network or local connection the log messages and eventlogs as defined by the Product Description. |
|
Warranty Period |
The period of twelve (12) months from the date of delivery of the
BalaBit |
|
Territory |
The countries or areas specified above in respect of which
Licensee shall be entitled to install and/or use BalaBit
|
|
End-user Certificate |
The document signed by Licensor which contains a) identification
data of Licensee; b) configuration of BalaBit |
For the BalaBit syslog-ng Premium Editionlicensed under this
License Contract, BalaBit grants to Licensee a non-exclusive, non-transferable,
perpetual license to use such BalaBit Product under the terms and conditions of this
License Contract and the applicable End-user Certificate.
Licensee shall use the BalaBit syslog-ng Premium Editionin the in
the configuration and in the quantities specified in the End-user Certificate within the
Territory.
On the install media (CD-ROM) all modules of the BalaBit syslog-ng Premium
Editionwill be presented, however, Licensee shall not be entitled to use
any module which was not Licensed to it. Access rights to modules and maximum Number of
Log Source Hosts are controlled by an “electronic key” accompanying the BalaBit
syslog-ng Premium Edition.
Licensee shall be entitled to make one back-up copy of the install media containing
the BalaBit syslog-ng Premium Edition.
Licensee shall make available the Protected Objects at its disposal solely to its own employees and those of the Authorized Subsidiaries.
Licensee shall take all reasonable steps to protect BalaBit’s rights with respect to the Protected Objects with special regard and care to protecting it from any unauthorized access.
Licensee shall, in 5 working days, properly answer the queries of BalaBit referring to
the actual usage conditions of the BalaBit syslog-ng Premium
Editionthat may differ or allegedly differs from the License conditions.
Licensee shall not modify the BalaBit syslog-ng Premium Editionin
any way, with special regard to the functions inspecting the usage of the software.
Licensee shall install the code permitting the usage of the BalaBit syslog-ng
Premium Editionaccording to the provisions defined for it by BalaBit.
Licensee may not modify or cancel such codes. Configuration settings of the BalaBit
syslog-ng Premium Editionin accordance with the possibilities
offered by the system shall not be construed as modification of the software.
Licensee shall only be entitled to analyze the structure of the BalaBit Products (decompilation or reverse- engineering) if concurrent operation with a software developed by a third party is necessary, and upon request to supply the information required for concurrent operation BalaBit does not provide such information within 60 days from the receipt of such a request.
These user actions are limited to parts of the BalaBit Product which are necessary for concurrent operation.Any information obtained as a result of applying the previous Section (i) cannot be used for purposes other than concurrent operation with the BalaBit Product; (ii) cannot be disclosed to third parties unless it is necessary for concurrent operation with the BalaBit Product; (iii) cannot be used for the development, production or distribution of a different software which is similar to the BalaBit Product in its form of expression, or for any other act violating copyright.
For any Annexed Software contained by the same install media as the BalaBit Product, the terms and conditions defined by its copyright owner shall be properly applied. BalaBit does not grant any License rights to any Annexed Software.
Any usage of the BalaBit syslog-ng Premium Editionexceeding the
limits and restrictions defined in this License Contract shall qualify as material
breach of the License Contract.
The Number of Log Source Hosts shall not exceed the amount defined in the End-user Certificate.
Licensee shall have the right to obtain and use content updates only if Licensee concludes a maintenance contract that includes such content updates, or if Licensee has otherwise separately acquired the right to obtain and use such content updates. This License Contract does not otherwise permit Licensee to obtain and use content updates.
Authorized Subsidiaries may also utilize the services of the BalaBit
syslog-ng Premium Editionunder the terms and conditions of this
License Contract. Any Authorized Subsidiary utilizing any service of the BalaBit
syslog-ng Premium Editionwill be deemed to have accepted the
terms and conditions of this License Contract.
Licensee agrees that BalaBit owns all rights, titles, and interests related to the
BalaBit syslog-ng Premium Editionand all of BalaBit's patents,
trademarks, trade names, inventions, copyrights, know-how, and trade secrets relating to
the design, manufacture, operation or service of the BalaBit Products.
The use by Licensee of any of these intellectual property rights is authorized only for the purposes set forth herein, and upon termination of this License Contract for any reason, such authorization shall cease.
The BalaBit Products are Licensed only for internal business purposes in every case, under the condition that such License does not convey any license, expressly or by implication, to manufacture, duplicate or otherwise copy or reproduce any of the BalaBit Products. No other rights than expressly stated herein are granted to Licensee.
Licensee will take appropriate steps with its Authorized Subsidiaries, as BalaBit may request, to inform them of and assure compliance with the restrictions contained in the License Contract.
BalaBit hereby grants to Licensee the non-exclusive right to use the trade marks of the BalaBit Products in the Territory in accordance with the terms and for the duration of this License Contract.
BalaBit makes no representation or warranty as to the validity or enforceability of the trade marks, nor as to whether these infringe any intellectual property rights of third parties in the Territory.
In case of negligent infringement of BalaBit’s rights with respect to the BalaBit
syslog-ng Premium Edition, committed by violating the
restrictions and limitations defined by this License Contract, Licensee shall pay
liquidated damages to BalaBit. The amount of the liquidated damages shall be twice as
much as the price of the BalaBit Product concerned, on BalaBit’s current Price
List.
BalaBit shall pay all damages, costs and reasonable attorney’s fees awarded against Licensee in connection with any claim brought against Licensee to the extent that such claim is based on a claim that Licensee’s authorized use of the BalaBit Product infringes a patent, copyright, trademark or trade secret. Licensee shall notify BalaBit in writing of any such claim as soon as Licensee learns of it and shall cooperate fully with BalaBit in connection with the defense of that claim. BalaBit shall have sole control of that defense (including without limitation the right to settle the claim).
If Licensee is prohibited from using any BalaBit Product due to an infringement claim, or if BalaBit believes that any BalaBit Product is likely to become the subject of an infringement claim, BalaBit shall at its sole option, either: (i) obtain the right for Licensee to continue to use such BalaBit Product, (ii) replace or modify the BalaBit Product so as to make such BalaBit Product non-infringing and substantially comparable in functionality or (iii) refund to Licensee the amount paid for such infringing BalaBit Product and provide a pro-rated refund of any unused, prepaid maintenance fees paid by Licensee, in exchange for Licensee’s return of such BalaBit Product to BalaBit.
Notwithstanding the above, BalaBit will have no liability for any infringement claim to the extent that it is based upon: (i) modification of the BalaBit Product other than by BalaBit, (ii) use of the BalaBit Product in combination with any product not specifically authorized by BalaBit to be combined with the BalaBitProduct or (iii) use of the BalaBit Product in an unauthorized manner for which it was not designed.
The allowed maximum Number of the Log Source Hosts, the configuration and the modules licensed shall serve as the calculation base of the License fee.
Licensee acknowledges that payment of the License fees is a condition of lawful usage.
License fees do not contain any installation or post charges.
BalaBit warrants that during the Warranty Period, the magnetic or optical media upon which the BalaBit Product is recorded will not be defective under normal use. BalaBit will replace any defective media returned to it, accompanied by a dated proof of purchase, within the Warranty Period at no charge to Licensee. Upon receipt of the allegedly defective BalaBit Product, BalaBit will at its option, deliver a replacement BalaBit Product or BalaBit's current equivalent to Licensee at no additional cost. BalaBit will bear the delivery charges to Licensee for the replacement Product.
In case of installation by BalaBit, BalaBit warrants that during the Warranty Period,
the BalaBit syslog-ng Premium Edition, under normal use in the
operating environment defined by BalaBit, and without unauthorized modification, will
perform in substantial compliance with the Product Documentation accompanying the
BalaBit Product, when used on that hardware for which it was installed, in compliance
with the provisions of the user manuals and the recommendations of BalaBit. The date of
the notification sent to BalaBit shall qualify as the date of the failure. Licensee
shall do its best to mitigate the consequences of that failure. If, during the Warranty
Period, the BalaBit Product fails to comply with this warranty, and such failure is
reported by Licensee to BalaBit within the Warranty Period, BalaBit’s sole obligation
and liability for breach of this warranty is, at BalaBit’s sole option, either: (i) to
correct such failure, (ii) to replace the defective BalaBit Product or (iii) to refund
the license fees paid by Licensee for the applicable BalaBit Product.
EXCEPT AS SET OUT IN THIS LICENSE CONTRACT, BALABIT MAKES NO WARRANTIES OF ANY KIND WITH RESPECT TO THE BALABIT SYSLOG-NG PREMIUM EDITION. TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, BALABIT EXCLUDES ANY OTHER WARRANTIES, INCLUDING BUT NOT LIMITED TO ANY IMPLIED WARRANTIES OF SATISFACTORY QUALITY, MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT OF INTELLECTUAL PROPERTY RIGHTS.
SOME STATES AND COUNTRIES, INCLUDING MEMBER COUNTRIES OF THE EUROPEAN UNION, DO NOT ALLOW THE LIMITATION OR EXCLUSION OF LIABILITY FOR INCIDENTAL OR CONSEQUENTIAL DAMAGES AND, THEREFORE, THE FOLLOWING LIMITATION OR EXCLUSION MAY NOT APPLY TO THIS LICENSE CONTRACT IN THOSE STATES AND COUNTRIES. TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW AND REGARDLESS OF WHETHER ANY REMEDY SET OUT IN THIS LICENSE CONTRACT FAILS OF ITS ESSENTIAL PURPOSE, IN NO EVENT SHALL BALABIT BE LIABLE TO LICENSEE FOR ANY SPECIAL, CONSEQUENTIAL, INDIRECT OR SIMILAR DAMAGES OR LOST PROFITS OR LOST DATA ARISING OUT OF THE USE OR INABILITY TO USE THE BALABIT SYSLOG-NG PREMIUM EDITION EVEN IF BALABIT HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
IN NO CASE SHALL BALABIT’S TOTAL LIABILITY UNDER THIS LICENSE CONTRACT EXCEED THE FEES PAID BY LICENSEE FOR THE BALABIT SYSLOG-NG PREMIUM EDITION LICENSED UNDER THIS LICENSE CONTRACT.
This License Contract shall come into effect on the date of signature of the End-user Certificate by the duly authorized representative of BalaBit.
Licensee may terminate the License Contract at any time by written notice sent to BalaBit and by simultaneously destroying all copies of the Protected Objects licensed under this License Contract.
BalaBit may terminate this License Contract with immediate effect by written notice to Licensee, if Licensee is in material or persistent breach of the License Contract and either that breach is incapable of remedy or Licensee shall have failed to remedy that breach within 30 days after receiving written notice requiring it to remedy that breach.
Save as expressly provided in this License Contract, no amendment or variation of this License Contract shall be effective unless in writing and signed by a duly authorized representative of the parties to it.
The failure of a party to exercise or enforce any right under this License Contract shall not be deemed to be a waiver of that right nor operate to bar the exercise or enforcement of it at any time or times thereafter.
If any part of this License Contract becomes invalid, illegal or unenforceable, the parties shall in such an event negotiate in good faith in order to agree on the terms of a mutually satisfactory provision to be substituted for the invalid, illegal or unenforceable provision which as nearly as possible validly gives effect to their intentions as expressed in this License Contract.
Any notice required to be given pursuant to this License Contract shall be in writing and shall be given by delivering the notice by hand, or by sending the same by prepaid first class post (airmail if to an address outside the country of posting) to the address of the relevant party set out in this License Contract or such other address as either party notifies to the other from time to time. Any notice given according to the above procedure shall be deemed to have been given at the time of delivery (if delivered by hand) and when received (if sent by post).
Headings are for convenience only and shall be ignored in interpreting this License Contract.
This License Contract and the rights granted in this License Contract may not be assigned, sublicensed or otherwise transferred in whole or in part by Licensee without BalaBit’s prior written consent. This consent shall not be unreasonably withheld or delayed.
An independent third party auditor, reasonably acceptable to BalaBit and Licensee, may upon reasonable notice to Licensee and during normal business hours, but not more often than once each year, inspect Licensee’s relevant records in order to confirm that usage of the BalaBit syslog-ng Premium Edition complies with the terms and conditions of this License Contract. BalaBit shall bear the costs of such audit. All audits shall be subject to the reasonable safety and security policies and procedures of Licensee.
This License Contract constitutes the entire agreement between the parties with regard to the subject matter hereof.
Any modification of this License Contract must be in writing and signed by both parties.
THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BY COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED. BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS LICENSE MAY BE CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU THE RIGHTS CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND CONDITIONS.
Definitions
"Adaptation" means a work based upon the Work, or upon the Work and other pre-existing works, such as a translation, adaptation, derivative work, arrangement of music or other alterations of a literary or artistic work, or phonogram or performance and includes cinematographic adaptations or any other form in which the Work may be recast, transformed, or adapted including in any form recognizably derived from the original, except that a work that constitutes a Collection will not be considered an Adaptation for the purpose of this License. For the avoidance of doubt, where the Work is a musical work, performance or phonogram, the synchronization of the Work in timed-relation with a moving image ("synching") will be considered an Adaptation for the purpose of this License.
"Collection" means a collection of literary or artistic works, such as encyclopedias and anthologies, or performances, phonograms or broadcasts, or other works or subject matter other than works listed in Section 1(f) below, which, by reason of the selection and arrangement of their contents, constitute intellectual creations, in which the Work is included in its entirety in unmodified form along with one or more other contributions, each constituting separate and independent works in themselves, which together are assembled into a collective whole. A work that constitutes a Collection will not be considered an Adaptation (as defined above) for the purposes of this License.
"Distribute" means to make available to the public the original and copies of the Work through sale or other transfer of ownership.
"Licensor" means the individual, individuals, entity or entities that offer(s) the Work under the terms of this License.
"Original Author" means, in the case of a literary or artistic work, the individual, individuals, entity or entities who created the Work or if no individual or entity can be identified, the publisher; and in addition (i) in the case of a performance the actors, singers, musicians, dancers, and other persons who act, sing, deliver, declaim, play in, interpret or otherwise perform literary or artistic works or expressions of folklore; (ii) in the case of a phonogram the producer being the person or legal entity who first fixes the sounds of a performance or other sounds; and, (iii) in the case of broadcasts, the organization that transmits the broadcast.
"Work" means the literary and/or artistic work offered under the terms of this License including without limitation any production in the literary, scientific and artistic domain, whatever may be the mode or form of its expression including digital form, such as a book, pamphlet and other writing; a lecture, address, sermon or other work of the same nature; a dramatic or dramatico-musical work; a choreographic work or entertainment in dumb show; a musical composition with or without words; a cinematographic work to which are assimilated works expressed by a process analogous to cinematography; a work of drawing, painting, architecture, sculpture, engraving or lithography; a photographic work to which are assimilated works expressed by a process analogous to photography; a work of applied art; an illustration, map, plan, sketch or three-dimensional work relative to geography, topography, architecture or science; a performance; a broadcast; a phonogram; a compilation of data to the extent it is protected as a copyrightable work; or a work performed by a variety or circus performer to the extent it is not otherwise considered a literary or artistic work.
"You" means an individual or entity exercising rights under this License who has not previously violated the terms of this License with respect to the Work, or who has received express permission from the Licensor to exercise rights under this License despite a previous violation.
"Publicly Perform" means to perform public recitations of the Work and to communicate to the public those public recitations, by any means or process, including by wire or wireless means or public digital performances; to make available to the public Works in such a way that members of the public may access these Works from a place and at a place individually chosen by them; to perform the Work to the public by any means or process and the communication to the public of the performances of the Work, including by public digital performance; to broadcast and rebroadcast the Work by any means including signs, sounds or images.
"Reproduce" means to make copies of the Work by any means including without limitation by sound or visual recordings and the right of fixation and reproducing fixations of the Work, including storage of a protected performance or phonogram in digital form or other electronic medium.
Fair Dealing Rights. Nothing in this License is intended to reduce, limit, or restrict any uses free from copyright or rights arising from limitations or exceptions that are provided for in connection with the copyright protection under copyright law or other applicable laws.
License Grant. Subject to the terms and conditions of this License, Licensor hereby grants You a worldwide, royalty-free, non-exclusive, perpetual (for the duration of the applicable copyright) license to exercise the rights in the Work as stated below:
to Reproduce the Work, to incorporate the Work into one or more Collections, and to Reproduce the Work as incorporated in the Collections; and,
to Distribute and Publicly Perform the Work including as incorporated in Collections.
The above rights may be exercised in all media and formats whether now known or hereafter devised. The above rights include the right to make such modifications as are technically necessary to exercise the rights in other media and formats, but otherwise you have no rights to make Adaptations. Subject to 8(f), all rights not expressly granted by Licensor are hereby reserved, including but not limited to the rights set forth in Section 4(d).
Restrictions. The license granted in Section 3 above is expressly made subject to and limited by the following restrictions:
You may Distribute or Publicly Perform the Work only under the terms of this License. You must include a copy of, or the Uniform Resource Identifier (URI) for, this License with every copy of the Work You Distribute or Publicly Perform. You may not offer or impose any terms on the Work that restrict the terms of this License or the ability of the recipient of the Work to exercise the rights granted to that recipient under the terms of the License. You may not sublicense the Work. You must keep intact all notices that refer to this License and to the disclaimer of warranties with every copy of the Work You Distribute or Publicly Perform. When You Distribute or Publicly Perform the Work, You may not impose any effective technological measures on the Work that restrict the ability of a recipient of the Work from You to exercise the rights granted to that recipient under the terms of the License. This Section 4(a) applies to the Work as incorporated in a Collection, but this does not require the Collection apart from the Work itself to be made subject to the terms of this License. If You create a Collection, upon notice from any Licensor You must, to the extent practicable, remove from the Collection any credit as required by Section 4(c), as requested.
You may not exercise any of the rights granted to You in Section 3 above in any manner that is primarily intended for or directed toward commercial advantage or private monetary compensation. The exchange of the Work for other copyrighted works by means of digital file-sharing or otherwise shall not be considered to be intended for or directed toward commercial advantage or private monetary compensation, provided there is no payment of any monetary compensation in connection with the exchange of copyrighted works.
If You Distribute, or Publicly Perform the Work or Collections, You must, unless a request has been made pursuant to Section 4(a), keep intact all copyright notices for the Work and provide, reasonable to the medium or means You are utilizing: (i) the name of the Original Author (or pseudonym, if applicable) if supplied, and/or if the Original Author and/or Licensor designate another party or parties (e.g., a sponsor institute, publishing entity, journal) for attribution ("Attribution Parties") in Licensor's copyright notice, terms of service or by other reasonable means, the name of such party or parties; (ii) the title of the Work if supplied; (iii) to the extent reasonably practicable, the URI, if any, that Licensor specifies to be associated with the Work, unless such URI does not refer to the copyright notice or licensing information for the Work. The credit required by this Section 4(c) may be implemented in any reasonable manner; provided, however, that in the case of a Collection, at a minimum such credit will appear, if a credit for all contributing authors of Collection appears, then as part of these credits and in a manner at least as prominent as the credits for the other contributing authors. For the avoidance of doubt, You may only use the credit required by this Section for the purpose of attribution in the manner set out above and, by exercising Your rights under this License, You may not implicitly or explicitly assert or imply any connection with, sponsorship or endorsement by the Original Author, Licensor and/or Attribution Parties, as appropriate, of You or Your use of the Work, without the separate, express prior written permission of the Original Author, Licensor and/or Attribution Parties.
For the avoidance of doubt:
Non-waivable Compulsory License Schemes. In those jurisdictions in which the right to collect royalties through any statutory or compulsory licensing scheme cannot be waived, the Licensor reserves the exclusive right to collect such royalties for any exercise by You of the rights granted under this License;
Waivable Compulsory License Schemes. In those jurisdictions in which the right to collect royalties through any statutory or compulsory licensing scheme can be waived, the Licensor reserves the exclusive right to collect such royalties for any exercise by You of the rights granted under this License if Your exercise of such rights is for a purpose or use which is otherwise than noncommercial as permitted under Section 4(b) and otherwise waives the right to collect royalties through any statutory or compulsory licensing scheme; and,
Voluntary License Schemes. The Licensor reserves the right to collect royalties, whether individually or, in the event that the Licensor is a member of a collecting society that administers voluntary licensing schemes, via that society, from any exercise by You of the rights granted under this License that is for a purpose or use which is otherwise than noncommercial as permitted under Section 4(b).
Except as otherwise agreed in writing by the Licensor or as may be otherwise permitted by applicable law, if You Reproduce, Distribute or Publicly Perform the Work either by itself or as part of any Collections, You must not distort, mutilate, modify or take other derogatory action in relation to the Work which would be prejudicial to the Original Author's honor or reputation.
Representations, Warranties and Disclaimer UNLESS OTHERWISE MUTUALLY AGREED BY THE PARTIES IN WRITING, LICENSOR OFFERS THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND CONCERNING THE WORK, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE, INCLUDING, WITHOUT LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY, FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF LATENT OR OTHER DEFECTS, ACCURACY, OR THE PRESENCE OF ABSENCE OF ERRORS, WHETHER OR NOT DISCOVERABLE. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF IMPLIED WARRANTIES, SO SUCH EXCLUSION MAY NOT APPLY TO YOU.
Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY APPLICABLE LAW, IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY LEGAL THEORY FOR ANY SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR EXEMPLARY DAMAGES ARISING OUT OF THIS LICENSE OR THE USE OF THE WORK, EVEN IF LICENSOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
Termination
This License and the rights granted hereunder will terminate automatically upon any breach by You of the terms of this License. Individuals or entities who have received Collections from You under this License, however, will not have their licenses terminated provided such individuals or entities remain in full compliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will survive any termination of this License.
Subject to the above terms and conditions, the license granted here is perpetual (for the duration of the applicable copyright in the Work). Notwithstanding the above, Licensor reserves the right to release the Work under different license terms or to stop distributing the Work at any time; provided, however that any such election will not serve to withdraw this License (or any other license that has been, or is required to be, granted under the terms of this License), and this License will continue in full force and effect unless terminated as stated above.
Miscellaneous
Each time You Distribute or Publicly Perform the Work or a Collection, the Licensor offers to the recipient a license to the Work on the same terms and conditions as the license granted to You under this License.
If any provision of this License is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this License, and without further action by the parties to this agreement, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable.
No term or provision of this License shall be deemed waived and no breach consented to unless such waiver or consent shall be in writing and signed by the party to be charged with such waiver or consent.
This License constitutes the entire agreement between the parties with respect to the Work licensed here. There are no understandings, agreements or representations with respect to the Work not specified here. Licensor shall not be bound by any additional provisions that may appear in any communication from You. This License may not be modified without the mutual written agreement of the Licensor and You.
The rights granted under, and the subject matter referenced, in this License were drafted utilizing the terminology of the Berne Convention for the Protection of Literary and Artistic Works (as amended on September 28, 1979), the Rome Convention of 1961, the WIPO Copyright Treaty of 1996, the WIPO Performances and Phonograms Treaty of 1996 and the Universal Copyright Convention (as revised on July 24, 1971). These rights and subject matter take effect in the relevant jurisdiction in which the License terms are sought to be enforced according to the corresponding provisions of the implementation of those treaty provisions in the applicable national law. If the standard suite of rights granted under applicable copyright law includes additional rights not granted under this License, such additional rights are deemed to be included in the License; this License is not intended to restrict the license of any rights under applicable law.
An additional IP address assigned to an interface that already has an IP address. The normal and alias IP addresses both refer to the same physical interface.
The process of verifying the authenticity of a user or client before allowing access to a network system or service.
The auditing policy determines which events are logged on host running Microsoft Windows operating systems.
The old syslog protocol standard described in RFC 3164. Sometimes also referred to as the legacy-syslog protocol.
A Certificate Authority (CA) is an institute that issues certificates.
A certificate is a file that uniquely identifies its owner. Certificates contains information identifying the owner of the certificate, a public key itself, the expiration date of the certificate, the name of the CA that signed the certificate, and some other data.
In client mode, syslog-ng collects the local logs generated by the host and forwards them through a network connection to the central syslog-ng server or to a relay.
A named collection of configured destination drivers.
A communication method used to send log messages.
A destination that sends log messages to a remote host (i.e., a syslog-ng relay or server) using a network connection.
A destination that transfers log messages within the host, e.g., writes them to a file, or passes them to a log analyzing application.
The Premium Edition of syslog-ng can store messages on the local hard disk if the central log server or the network connection to the server becomes unavailable.
See disk buffer.
The name of a network, e.g.: balabit.com.
A log statement that is included in another log statement to create a complex log path.
An expression to select messages.
A device that connect two or more parts of the network, e.g.: your local intranet and the external network (the Internet). Gateways act as entrances into other networks.
High availability uses a second syslog-ng server unit to ensure that the logs are received even if the first unit breaks down.
A computer connected to the network.
A name that identifies a host on the network.
The syslog-protocol standard developed by the Internet Engineering Task Force (IETF), described in RFC 5424-5428.
A private key and its related public key. The private key is known only to the owner; the public key can be freely distributed. Information encrypted with the private key can only be decrypted using the public key.
The syslog-ng license determines the number of distinct hosts (clients and relays) that can connect to the syslog-ng server.
A combination of sources, filters, parsers, rewrite rules, and destinations: syslog-ng examines all messages arriving to the sources of the logpath and sends the messages matching all filters to the defined destinations.
A binary logfile format that can encrypt, compress, and timestamp log messages.
See log source host.
A host or network device (including syslog-ng clients and relays) that sends logs to the syslog-ng server. Log source hosts can be servers, routers, desktop computers, or other devices capable of sending syslog messages or running syslog-ng.
See log path.
A network computer storing the IP addresses corresponding to domain names.
The Oracle Instant Client is a small set of libraries, which allow you to connect to an Oracle Database. A subset of the full Oracle Client, it requires minimal installation but has full functionality.
A part of the memory of the host where syslog-ng stores outgoing log messages if the destination cannot accept the messages immediately.
Messages from the output queue are sent to the target syslog-ng server. The syslog-ng application puts the outgoing messages directly into the output queue, unless the output queue is full. The output queue can hold 64 messages, this is a fixed value and cannot be modified.
See output buffer.
A set of rules to segment messages into named fields or columns.
A command that sends a message from a host to another host over a network to test connectivity and packet loss.
A number ranging from 1 to 65535 that identifies the destination application of the transmitted data. E.g.: SSH commonly uses port 22, web servers (HTTP) use port 80, etc.
An authentication method that uses encryption key pairs to verify the identity of a user or a client.
A regular expression is a string that describes or matches a set of strings. The syslog-ng application supports extended regular expressions (also called POSIX modern regular expressions).
In relay mode, syslog-ng receives logs through the network from syslog-ng clients and forwards them to the central syslog-ng server using a network connection.
A set of rules to modify selected elements of a log message.
A user-defined structure that can be used to restructure log messages or automatically generate file names.
In server mode, syslog-ng acts as a central log-collecting server. It receives messages from syslog-ng clients and relays over the network, and stores them locally in files, or passes them to other applications, e.g., log analyzers.
A named collection of configured source drivers.
A source that receives log messages from a remote host using a network connection.
The following sources are network sources: tcp(),
tcp6(), udp(),
udp6().
A source that receives log messages from within the host, e.g., from a file.
A communication method used to receive log messages.
See TLS.
The syslog-ng application is a flexible and highly scalable system logging application, typically used to manage log messages and implement centralized logging.
The syslog-ng agent for Windows is a log collector and forwarder application for the Microsoft Windows platform. It collects the log messages of the Windows-based host and forwards them to a syslog-ng server using regular or SSL-encrypted TCP connections.
A host running syslog-ng in client mode.
The syslog-ng Premium Edition is the commercial version of the open-source application. It offers additional features, like encrypted message transfer and an agent for Microsoft Windows platforms.
A host running syslog-ng in relay mode.
A host running syslog-ng in server mode.
Transport Layer Security (TLS) and its predecessor, Secure Sockets Layer (SSL), are cryptographic protocols which provide secure communications on the Internet. The syslog-ng Premium Edition application can encrypt the communication between the clients and the server using TLS to prevent unauthorized access to sensitive log messages.
A command that shows all routing steps (the path of a message) between two hosts.
A Unix domain socket (UDS) or IPC socket (inter-procedure call socket) is a virtual socket, used for inter-process communication.