Copyright © 1996-2011 BalaBit IT Security Ltd.
This guide is published under the Creative Commons Attribution-Noncommercial-No Derivative Works (by-nc-nd) 3.0 license. See Appendix 5, Creative Commons Attribution Non-commercial No Derivatives (by-nc-nd) License for details. 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 Zorp™ name and the Zorp™ logo are registered trademarks of BalaBit.
The BalaBit Shell Control Box™ name and the BalaBit Shell Control Box™ logo are registered trademarks of BalaBit.
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™ 95, 98, ME, 2000, XP, Server 2003, Vista, and Server 2008 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.
Sun™, Sun Microsystems™, the Sun logo, Sun Fire 4140™, Sun Fire 2100™, Sun Fire 2200™, and Sun StorageTek™ are trademarks or registered trademarks of Sun Microsystems, Inc. or its subsidiaries in the U.S. and other countries. AMD Opteron™ and Opteron™ are trademarks of Advanced Micro Devices, 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.
July 08, 2011
Abstract
This document is the primary manual of the syslog-ng Store Box 2 F1.
Table of Contents
List of Examples
List of Procedures
Welcome to the syslog-ng Store Box Administrator Guide!
This document describes how to configure and manage the syslog-ng Store Box (SSB). Background information for the technology and concepts used by the product is also discussed.
Chapter 1, Introduction describes the main functionality and purpose of the syslog-ng Store Box.
Chapter 2, The concepts of SSB discusses the technical concepts and philosophies behind SSB.
Chapter 3, The Welcome Wizard and the first login describes what to do after assembling SSB — it is a step-by-step guide for the initial configuration.
Chapter 4, Configuring and managing SSB provides detailed description on configuring and managing SSB as a host.
Chapter 5, Configuring the syslog-ng server of SSB provides detailed description on how to configure the syslog-ng server of the syslog-ng Store Box to receive and handle incoming log messages.
Chapter 6, Browsing log messages and SSB reports describes how to browse logs, alerts, and reports online on SSB.
Chapter 7, Classifying messages with pattern databases describes how to parse and classify messages using the pattern database.
Appendix 1, Package contents inventory lists the contents of the package you receive with the syslog-ng Store Box.
Appendix 2, syslog-ng Store Box Hardware Installation Guide describes how to set up the syslog-ng Store Box (SSB) hardware.
Appendix 3, syslog-ng Store Box VMware Installation Guide describes how to install syslog-ng Store Box (SSB) as a virtual appliance.
Appendix 4, syslog-ng Store Box License contract includes the text of the End User License Agreement applicable to SSB products.
Appendix 5, Creative Commons Attribution Non-commercial No Derivatives (by-nc-nd) License includes the text of the Creative Commons Attribution Non-commercial No Derivatives (by-nc-nd) License applicable to The syslog-ng Store Box 2 F1 Administrator Guide.
The Glossary provides definitions of important terms used in this guide.
The Index provides cross-references to important terms and topics used in this guide.
This guide is intended for auditors, consultants, and security experts responsible for securing, auditing, and monitoring server administration processes, especially remote server management. It is also useful for IT decision makers looking for a tool to improve the security and auditability of their servers, or to facilitate compliance to the Sarbanes-Oxley (SOX), the Health Insurance Portability and Accountability Act (HIPAA), Basel II, or the Payment Card Industry (PCI) standard.
The following skills and knowledge are necessary for a successful SSB administrator:
At least basic system administration knowledge.
An understanding of networks, TCP/IP protocols, and general network terminology.
An understanding of system logging and the protocols used in remote system logging.
Familiarity with the concepts of the syslog-ng and the syslog-ng Agent for Windows applications.
Working knowledge of the UNIX or Linux operating system is not mandatory but highly useful.
This guide describes the use of the syslog-ng Store Box version 2 F1.
![]() |
Note |
|---|---|
Users of the syslog-ng Store Box are entitled to use the syslog-ng Premium Edition application as a log collector agent for SSB. This guide does not cover the installation and configuration of syslog-ng Premium Edition, see The syslog-ng 3.0 Administrator Guide. |
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 or menu item in the menu bar.
Buttons in dialog windows.
This product is 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>.
You can register your copy of your product online on the BalaBit website. Registration is a prerequisite for all of our product-related services. Your product can be registered online here.
Online and telephone support is available for registered users of this product, 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)
For online support, sign up for an account at the MyBalaBit page and request access to the BalaBit Online Support System (BOSS). Online support is available 24 hours a day. BOSS is available only for registered Zorp users.
Changes in product:
Procedure 5.3.4, Forwarding log messages to SNMP destinations has been added to the document.
References to hardware manuals in Appendix syslog-ng Store Box Hardware Installation Guide have been updated and corrected.
Appendix syslog-ng Store Box VMware Installation Guide has been added to the document.
Procedure Modifying the IP address of SSB has been added to the document.
Section High Availability status explained has been updated with 'Converted' status.
Windows 7 has been added to the supported operating systems list in sections Supported web browsers and operating systems, Supported protocols and client applications and Viewing session information and replaying audit trails.
A note has been added to Section 5.2.6.3, Accessing shared files.
Changes in documentation:
Section Summary of changes has been added to the document.
Procedures in the HTML version of the document appear on separate HTML pages.
Labels of cross-references pointing to procedure steps have been corrected.
Procedures have been restructured to facilitate easier understanding.
Latin abbreviations have been replaced in document with their English equivalents.
Editorial changes.
Any feedback is greatly appreciated, especially on what else this document should cover.
General comments, errors found in the text, and any suggestions about how to improve the
documentation is welcome at <documentation@balabit.com>.
This chapter introduces the syslog-ng Store Box (SSB) in a non-technical manner, discussing how and why is it useful, and what additional benefits it offers to an existing IT infrastructure.
SSB is a device that collects, processes, stores, monitors, and manages log messages. It is a central logserver appliance that can receive system (syslog and eventlog) log messages and Simple Network Management Protocol (SNMP) messages from your network devices and computers, store them in a trusted and signed logstore, automatically archive and backup the messages, and also classify the messages using artificial ignorance.
The most notable features of SSB are the following:
Secure log collection using Transport Layer Security (TLS).
Trusted, encrypted, signed, timestamped storage.
Ability to collect log messages from a wide range of platforms, including Linux, Unix, BSD, Sun Solaris, HP-UX, IBM AIX, IBM System i, as well as Microsoft Windows XP, Server 2003, Vista, and Server 2008.
Forwards messages to log analyzing engines.
Classifies messages using customizable pattern databases for real-time log monitoring, alerting, and artificial ignorance.
High Availability (HA) support to ensure continuous log collection in business-critical environments.
Real-time log monitoring and alerting.
Retrieves group memberships of the administrators from a Lightweight Directory Access Protocol (LDAP) database.
Strict, yet easily customizable access control to grant users access only to selected log messages
SSB is configured and managed from any modern web browser that supports HTTPS connections, JavaScript, and cookies. Supported browsers: Mozilla Firefox 2.0 or newer; Microsoft Internet Explorer 7 and 8.
SSB is not a log analyzing engine, it is able to classify individual log messages using artificial ignorance, much like the popular logcheck application of the Unix world. SSB comes with a built-in database of log message patterns that are considered “normal”. Messages matching these patterns are produced during the legitimate use of the applications (for example sendmail, Postfix, MySQL, and so on), and are unimportant from the log monitoring perspective, while the remaining messages may contain something “interesting”. The administrators can define log patterns on the SSB interface, label matching messages (for example security event, and so on.) and request alerts if a specific pattern is encountered. For thorough log analysis, SSB can also forward the incoming log messages to external log analyzing engines.
Log messages contain information about the events happening on the hosts. Monitoring system events is essential for security and system health monitoring reasons. A well-established log management solution offers several benefits to an organization. It ensures that computer security records are stored in sufficient detail, and provides a simple way to monitor and review these logs. Routine log reviews and continuous log analysis help to identify security incidents, policy violations, or other operational problems. Logs also often form the base of auditing and forensic analysis, product troubleshooting and support. There are also several laws, regulations and industrial standards that explicitly require the central collection, periodic review, and long-time archiving of log messages. Examples to such regulations are the Sarbanes-Oxley Act (SOX), the Basel II accord, the Health Insurance Portability and Accountability Act (HIPAA), or the Payment Card Industry Data Security Standard (PCI-DSS).
Built around the popular syslog-ng application used by thousands of organizations worldwide, the syslog-ng Store Box (SSB) brings you a powerful, easy to configure appliance to collect and store your logs. Using the features of the latest syslog-ng Premium Edition to their full power, SSB allows you to collect, process, and store log messages from a wide range of platforms and devices.
All data can be stored in encrypted, digitally signed, and optionally timestamped files, preventing any modification or manipulation, satisfying the highest security standards and policy compliance requirements.
SSB is useful for everyone who has to collect, store, and review log messages. In particular, SSB is invaluable for:
Central log collection and archiving: SSB offers a simple, reliable, and convenient way of collecting log messages centrally. It is essentially a high-capacity log server with high availability support. Being able to collect logs from several different platforms makes it easy to integrate into any environment.
Secure log transfer and storage: Log messages often contain sensitive information and also form the base of audit trails for several applications. Preventing eavesdropping during message transfer and unauthorized access once the messages reach the logserver is essential for security and privacy reasons.
Policy compliance: Many organization must comply to regulations like the Sarbanes-Oxley Act (SOX), the Basel II accord, the Health Insurance Portability and Accountability Act (HIPAA), or the Payment Card Industry Data Security Standard (PCI-DSS). These regulations often have explicit or implicit requirements about log management, such as the central collection of log messages, the use of log analysis to prevent and detect security incidents, or guaranteeing the availability of log messages for an extended period of time — up to several years. SSB helps these organizations to comply with these regulations.
Automated log monitoring and log preprocessing: Monitoring log messages is an essential part of system-health monitoring and security incident detection and prevention. SSB offers a powerful platform that can classify tens of thousands of messages real-time to detect messages that deviate from regular messages, and promptly raise alerts. Although this classification does not offer as complete inspection as a log analyzing application, SSB can process much more messages than a regular log analyzing engine, and also filter out unimportant messages to decrease the load on the log analyzing application.
This chapter discusses the technical concepts of SSB.
The syslog-ng Store Box (SSB) is a log server appliance that collects, stores and monitors the log messages sent by network devices, applications and computers. SSB can receive traditional syslog messages, syslog messages that comply with the new Internet Engineering Task Force (IETF) standard, eventlog messages from Microsoft Windows hosts, as well as SNMP messages.
Clients can send messages to SSB using their own logging application if it supports the BSD-syslog (RFC 3164) or the IETF-syslog (RFC 5424-5428) protocol, or they can use the syslog-ng Premium Edition application to act as the log-forwarding agent of SSB.
The main purpose of SSB is to collect the logs from the clients and store them on its hard disk. The messages are stored in so-called logspaces. There are two types of logspaces: the first stores messages in traditional plain-text files, while the second one uses a binary format that can be compressed, encrypted, digitally signed, and also timestamped.
The syslog-ng application reads incoming messages and forwards them to the selected destinations. The syslog-ng application can receive messages from files, remote hosts, and other sources.
Log messages enter syslog-ng in one of the defined sources, and are sent to one or more destinations. In case of the clients, one of the destinations is the syslog-ng Store Box; the destinations on the SSB can be logspaces or remote servers, such as database servers or log analyzing engines.
Sources and destinations are independent objects; log paths define what syslog-ng does with a message, connecting the sources to the destinations. A log path consists of one or more sources and one or more destinations; messages arriving to a source are sent to every destination listed in the log path. A log path defined in syslog-ng is called a log statement.
Optionally, log paths can include filters. Filters are rules that select only certain messages, for example, selecting only messages sent by a specific application. If a log path includes filters, syslog-ng sends only the messages satisfying the filter rules to the destinations set in the log path.
SSB is configured by an administrator or auditor using a web browser.
2.2. Procedure – Collecting logs with SSB
Purpose:
The following procedure illustrates the route of a log message from its source on the syslog-ng client to the syslog-ng Store Box.
Steps:
A device or application sends a log message to a source on the syslog-ng
client. For example, an Apache web server running on Linux enters a message into
the /var/log/apache file.
The syslog-ng client running on the web server reads the message from its
/var/log/apache source.
The syslog-ng client processes the first log statement that includes the
/var/log/apache source.
The syslog-ng client performs optional operations (for example message filtering) on the message; for example, it compares the message to the filters of the log statement (if any). If the message complies with all filter rules, syslog-ng sends the message to the destinations set in the log statement, for example, to the remote syslog-ng server.
After that, the syslog-ng client processes the next log statement that
includes the /var/log/apache source, repeating Steps
3-4.
The message sent by the syslog-ng client arrives to a source set on the syslog-ng Store Box.
The syslog-ng Store Box reads the message from its source and processes the first log path that includes that source.
The syslog-ng server performs optional operations (for example message filtering, or pattern matching to compare the message to a list of known messages). If the message complies with all filter rules, SSB sends the message to the destinations set in the log path. The destinations are local, optionally encrypted files on SSB, or remote servers such as a database server.
SSB processes the next log statement, repeating Steps 6-8.
![]() |
Note |
|---|---|
The syslog-ng application can stop reading messages from its sources if the destinations cannot process the sent messages. This feature is called flow-control and is detailed in Section 2.3, Managing incoming and outgoing messages with flow-control. |
This section describes the internal message-processing model of syslog-ng, as well as the flow-control feature that can prevent message loss. To use flow-control, the option must be enabled for the particular log path.
The syslog-ng application monitors (polls) the sources defined in its configuration file, periodically checking each source for messages. When a log message is found in one of the sources, syslog-ng polls every source and reads the available messages. These messages are processed and put into the output buffer of syslog-ng (also called fifo). From the output buffer, the operating system sends the messages to the appropriate destinations.
In large-traffic environments many messages can arrive during a single poll loop, therefore syslog-ng reads only a fixed number of messages from each source. The option specifies the number of messages read during a poll loop from a single source.
![]() |
Note |
|---|---|
The option of SSB can be set as a global option at . |
Every destination has its own output buffer. The output buffer is needed because the destination might not be able to accept all messages immediately. On SSB, the parameter sets the size of the output buffer. The output buffer must be larger than the of the sources, to ensure that every message read during the poll loop fits into the output buffer. If the log path sends messages to a destination from multiple sources, the output buffer must be large enough to store the incoming messages of every source.
TCP and TLS sources can receive the logs from several incoming connections (for example many different clients or applications). For such sources, syslog-ng reads messages from every connection, thus the parameter applies individually to every connection of the source.
The flow-control of syslog-ng introduces a control window to the source that tracks
how many messages can syslog-ng accept from the source. Every message that syslog-ng
reads from the source decreases the number of free slots by one; every message that syslog-ng
successfully sends from the output buffer increases the number of free slots by one. If the
window is full (that is, there are no free slots), syslog-ng stops reading messages from
the source. The initial size of the control window is by default
100: the must be
larger than this value in order for flow-control to have any effect. If a source accepts
messages from multiple connections, all messages use the same control window.
When flow-control is used, every source has its own control window. As a worst-case situation, the output buffer of the destination must be set to accommodate all messages of every control window, that is, the of the destination must be greater than *. This applies to every source that sends logs to the particular destination, thus if two sources having several connections and heavy traffic send logs to the same destination, the control windows of every source must fit into the output buffer of the destination. Otherwise, syslog-ng does not activate the flow-control, and messages may be lost.
Using flow-control on a source has an important side-effect if the messages of the source are sent to multiple destinations. If flow-control is in use and one of the destinations cannot accept the messages, the other destinations do not receive any messages either, because syslog-ng stops reading the source. For example, if messages from a source are sent to a remote server and also stored locally in a file, and the network connection to the server becomes unavailable, neither the remote server nor the local file will receive any messages. This side-effect of the flow-control can be avoided by using the disk-based buffering feature of syslog-ng.
![]() |
Note |
|---|---|
Creating separate log paths for the destinations that use the same flow-controlled source does not help avoiding the problem. |
The syslog-ng Store Box receive log messages securely over the network using the Transport Layer Security (TLS) protocol (TLS is an encryption protocol over the TCP/IP network protocol).
TLS uses certificates to authenticate and encrypt the communication, as illustrated on the following figure:
The client sending the logs authenticates SSB by requesting its certificate and public key. Optionally, SSB can also request a certificate from the client, thus mutual authentication is also possible.
In order to use TLS encryption in syslog-ng, the following elements are required:
A certificate on SSB that identifies SSB. This is available by default.
The certificate of the Certificate Authority that issued the certificate of SSB must be available on the syslog-ng client.
When using mutual authentication to verify the identity of the clients, the following elements are required:
A certificate must be available on the syslog-ng client. This certificate identifies the syslog-ng client.
The certificate of the Certificate Authority that issued the certificate of the syslog-ng client must be available on SSB.
Mutual authentication ensures that SSB accepts log messages only from authorized clients.
For details on configuring TLS communication in syslog-ng, see Section 5.1, Configuring message sources.
The SSB hardware has five network interfaces: the external, the management, the internal currently not used in SSB, the HA, and the IPMI interface. For details on hardware installation, see Appendix 2, syslog-ng Store Box Hardware Installation Guide.
The external interface is used for communication between
SSB and the clients: clients send the syslog messages
to the external interface of SSB. Also, the initial configuration of SSB is always
performed using the external interface (For details on the initial configuration, see Procedure 3.2, Configuring SSB with the Welcome Wizard). The external interface is used for management
purposes if the management interface is not configured. The external interface uses the
Ethernet connector labeled as EXT.
The management interface is used exclusively for communication
between SSB and the auditors or the administrators of SSB.
Incoming connections are accepted only to access the SSB web interface, other
connections targeting this interface are rejected. The management interface uses the
Ethernet connector labeled as MGMT.
The routing rules determine which interface is used for transferring remote backups and syslog messages of SSB.
![]() |
Tip |
|---|---|
It is recommended to direct backups, syslog and SNMP messages, and e-mail alerts to the management interface. For details, see Procedure 4.3.1.2, Routing management traffic to the management interface . |
If the management interface is not configured, the external interface takes the role of the management interface.
The HA interface is an interface reserved for communication
between the nodes of SSB clusters. The HA interface uses the Ethernet connector
labeled as HA. For details on high availability, see Section 2.6, High Availability support in SSB.
The Intelligent Platform Management Interface (IPMI) interface allows system administrators to monitor system health and to manage SSB events remotely. IPMI operates independently of the operating system of SSB.
In high availability (HA) mode two SSB units (called master and slave nodes) having identical configuration are operating simultaneously. The master shares all data with the slave node, and if the master node stops functioning, the other one becomes immediately active, so the servers are continuously accessible. The slave node takes over the MAC addresses of the interfaces of the master node.
![]() |
Warning |
|---|---|
Hazard of data loss! If the two nodes cannot communicate, the slave assumes that the master node broke down and becomes active, which can lead to both nodes being active at the same time (a split brain situation). This might result in data loss. For details on how to recover from a split brain situation, see Procedure 4.5.4.6.2, Recovering from a split brain situation. For details on how to avoid split brain situations, see Procedure 4.5.2.3, Configuring redundant Heartbeat interfaces. |
The slave node automatically synchronizes its hard disk with the master via the HA network interface. The disks must be synchronized for the HA support to operate correctly.
![]() |
Warning |
|---|---|
When using the management interface and high availability together, do not forget to connect the management interface of both SSB nodes to the network. Otherwise you will not be able to remotely access SSB if a takeover occurs. |
The SSB firmware is separated into two parts: an external and an internal firmware.
The external firmware (also called boot firmware) boots up SSB, provides the high availability support, and starts the internal firmware. The external firmware changes very rarely.
The internal firmware (also called core firmware) handles everything else: provides the web interface, receives and processes log messages and so on. The internal firmware is updated regularly as new features are added to SSB.
Both firmwares can be updated from the SSB web interface. For details, see Section 4.5.3, Upgrading SSB.
When powering on the SSB nodes in high availability mode, both nodes boot and start the boot firmware. The boot firmwares then determine which unit is the master: the core firmware is started only on the master node.
Upgrading the SSB firmware via the web interface automatically upgrades the firmware on both nodes.
As of October 2009, BalaBit has introduced the following support policy:
Stable versions, denoted by a two-digit version number ending with .0 (for example 2.0 or 3.0): Stable branches are supported for at least 1 year, but no more than 2 stable versions of a product are supported at a time. Maintenance releases to the stable branch contain only bugfixes.
Feature versions, denoted by two-digit version number ending with a non-zero version number (for example 3.1, 3.2 and onwards): Feature branches contain enhancements and new features, presumably 1-3 new feature per release. Only the last of the feature releases is supported (for example when a new feature release comes out, the last one becomes unsupported), and the last feature release becomes the new stable release.
For a full description on stable and feature releases, see Stable and feature releases.
![]() |
Note |
|---|---|
Releases of the feature branch are tested just like the stable releases; they are not "unstable" development snapshots. The difference between earlier major releases and current feature releases is the smaller number of features contained in a release, and the shorter support periods. If an unstable snapshot or alpha/beta/rc release is released for public testing, it is always marked explicitly as such. |
SSB's license determines the number of individual hosts (also called log source hosts) that can send log messages to SSB.
A log source host is 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. Log source hosts are identified by their IP addresses, so virtual machines and vhosts are separately counted.
![]() |
Warning |
|---|---|
The |
The SSB license also allows you to download the syslog-ng Premium Edition application (including the syslog-ng Agent for Windows) and install it on any supported platform to use it as a log collector agent for SSB.
syslog-ng Store Box SSB1000 and SSB1000d: License permits to collect logs from 50 IP addresses. It is upgradable to unlimited.
syslog-ng Store Box SSB5000 and SSB10000: License permits to collect logs from an unlimited number of IP addresses.
Contact BalaBit or your local distributor for details. For details on installing a new license, see Procedure 4.5.3.2, Updating the SSB license.
The following sections describe the structure of log messages. Currently there are two standard syslog message formats:
The old standard described in RFC 3164 (also called the BSD-syslog or the legacy-syslog protocol): see Section 2.10.1, BSD-syslog or legacy-syslog messages
The new standard described in RFC 5424 (also called the IETF-syslog protocol): see Section 2.10.2, IETF-syslog messages
This section describes the format of a syslog message, according to the legacy-syslog or BSD-syslog protocol (see RFC 3164). A syslog message consists of the following parts:
The total message must be shorter than 1024 bytes.
The following is a sample syslog message: <133>Feb 25 14:09:07
webserver syslogd: restart. The message corresponds to the following
format: <priority>timestamp hostname application:
message. The different parts of the message are explained in the
following sections.
![]() |
Note |
|---|---|
The syslog-ng application supports longer messages as well. For details, see the option. However, it is not recommended to enable messages larger than the packet size when using UDP destinations. |
The PRI part of the syslog message (known as Priority value) represents the Facility and Severity of the message. Facility represents the part of the system sending the message, while severity marks its importance. The Priority value is calculated by first multiplying the Facility number by 8 and then adding the numerical value of the Severity. The possible facility and severity values are presented below.
![]() |
Note |
|---|---|
Facility codes may slightly vary between different platforms. The syslog-ng application accepts facility codes as numerical values as well. |
The following table lists the facility values.
| Numerical Code | Facility |
|---|---|
| 0 | kernel messages |
| 1 | user-level messages |
| 2 | mail system |
| 3 | system daemons |
| 4 | security/authorization messages |
| 5 | messages generated internally by syslogd |
| 6 | line printer subsystem |
| 7 | network news subsystem |
| 8 | UUCP subsystem |
| 9 | clock daemon |
| 10 | security/authorization messages |
| 11 | FTP daemon |
| 12 | NTP subsystem |
| 13 | log audit |
| 14 | log alert |
| 15 | clock daemon |
| 16-23 | locally used facilities (local0-local7) |
Table 2.1. syslog Message Facilities
The following table lists the severity values.
| Numerical Code | Severity |
|---|---|
| 0 | Emergency: system is unusable |
| 1 | Alert: action must be taken immediately |
| 2 | Critical: critical conditions |
| 3 | Error: error conditions |
| 4 | Warning: warning conditions |
| 5 | Notice: normal but significant condition |
| 6 | Informational: informational messages |
| 7 | Debug: debug-level messages |
Table 2.2. syslog Message Severities
The HEADER part contains a timestamp and the hostname (without the domain
name) or the IP address of the device. The timestamp field is the local time in
the Mmm dd hh:mm:ss format, where:
Mmm is the English abbreviation of the month: Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec.
dd is the day of the month on two digits. If the
day of the month is less than 10, the first digit is replaced with a
space. (For example Aug 7.)
hh:mm:ss is the local time. The hour (hh) is represented in a 24-hour format. Valid entries are between 00 and 23, inclusive. The minute (mm) and second (ss) entries are between 00 and 59 inclusive.
This section describes the format of a syslog message, according to the IETF-syslog protocol (see RFC 5424-5428).A syslog message consists of the following parts:
The following is a sample syslog message:[1]
<34>1 2003-10-11T22:14:15.003Z mymachine.example.com su - ID47 - BOM'su root' failed for lonvick on /dev/pts/8
The message corresponds to the following format:
<priority>VERSION ISOTIMESTAMP HOSTNAME APPLICATION PID MESSAGEID STRUCTURED-DATA MSG
In this example, the Facility has the value of 4, severity is 2, so PRI is 34. The VERSION is 1. The message was created on 11 October 2003 at 10:14:15pm UTC, 3 milliseconds into the next second. The message originated from a host that identifies itself as "mymachine.example.com". The APP-NAME is "su" and the PROCID is unknown. The MSGID is "ID47". The MSG is "'su root' failed for lonvick...", encoded in UTF-8. The encoding is defined by the BOM. There is no STRUCTURED-DATA present in the message, this is indicated by "-" in the STRUCTURED-DATA field. The MSG is "'su root' failed for lonvick...".
The HEADER part of the message must be in plain ASCII format, the parameter values of the STRUCTURED-DATA part must be in UTF-8, while the MSG part should be in UTF-8. The different parts of the message are explained in the following sections.
The PRI part of the syslog message (known as Priority value) represents the Facility and Severity of the message. Facility represents the part of the system sending the message, while severity marks its importance. The Priority value is calculated by first multiplying the Facility number by 8 and then adding the numerical value of the Severity. The possible facility and severity values are presented below.
![]() |
Note |
|---|---|
Facility codes may slightly vary between different platforms. The syslog-ng application accepts facility codes as numerical values as well. |
| Numerical Code | Facility |
|---|---|
| 0 | kernel messages |
| 1 | user-level messages |
| 2 | mail system |
| 3 | system daemons |
| 4 | security/authorization messages |
| 5 | messages generated internally by syslogd |
| 6 | line printer subsystem |
| 7 | network news subsystem |
| 8 | UUCP subsystem |
| 9 | clock daemon |
| 10 | security/authorization messages |
| 11 | FTP daemon |
| 12 | NTP subsystem |
| 13 | log audit |
| 14 | log alert |
| 15 | clock daemon |
| 16-23 | locally used facilities (local0-local7) |
Table 2.3. syslog Message Facilities
The following table lists the severity values.
| Numerical Code | Severity |
|---|---|
| 0 | Emergency: system is unusable |
| 1 | Alert: action must be taken immediately |
| 2 | Critical: critical conditions |
| 3 | Error: error conditions |
| 4 | Warning: warning conditions |
| 5 | Notice: normal but significant condition |
| 6 | Informational: informational messages |
| 7 | Debug: debug-level messages |
Table 2.4. syslog Message Severities
The HEADER part contains the following elements:
VERSION: Version number of the syslog protocol
standard. Currently this can only be 1.
ISOTIMESTAMP: The time when the message was
generated in the ISO 8601 compatible standard timestamp format
(yyyy-mm-ddThh:mm:ss+-ZONE), for example:
2006-06-13T15:58:00.123+01:00.
HOSTNAME: The machine that originally sent the message.
APPLICATION: The device or application that generated the message
PID: The process name or process ID of the syslog application that sent the message. It is not necessarily the process ID of the application that generated the message.
MESSAGEID: The ID number of the message.
![]() |
Note |
|---|---|
The syslog-ng application supports other timestamp formats as well, like
ISO, or the PIX extended format. The timestamp used in the IETF-syslog
protocol is derived from RFC3339, which is based on ISO8601. For details,
see the |
The STRUCTURED-DATA message part may contain meta- information about the
syslog message, or application-specific information such as traffic counters or
IP addresses. STRUCTURED-DATA consists of data blocks enclosed in brackets
([]). Every block include the ID of the block, and
one or more name=value pairs. The syslog-ng application
automatically parses the STRUCTURED-DATA part of syslog messages, which can be
referenced in macros (see ??? for details). An
example STRUCTURED-DATA block looks like:
[exampleSDID@0 iut="3" eventSource="Application" eventID="1011"][examplePriority@0 class="high"]
The MSG part contains the text of the message itself. The encoding of the text must be UTF-8 if the BOM character is present in the message. If the message does not contain the BOM character, the encoding is treated as unknown. Usually messages arriving from legacy sources do not include the BOM character.
This chapter describes the initial steps of configuring SSB. Before completing the steps below, unpack, assemble, and power on the hardware. Connect at least the external network interface to the local network, or directly to the computer from which SSB will be configured.
![]() |
Note |
|---|---|
For details on unpacking and assembling the hardware, see Appendix 2, syslog-ng Store Box Hardware Installation Guide. For details on how to create a high availability SSB cluster, see Procedure 2.2, Installing two SSB units in HA mode. |
SSB can be connected from a client machine using any modern web browser.
![]() |
Supported web browsers and operating systems | ||
|---|---|---|---|
|
Supported browsers: Mozilla Firefox 3.0 or newer and Microsoft Internet Explorer 7 and 8. The browser must support HTTPS connections, JavaScript, and cookies. Make sure that both JavaScript and cookies are enabled.
Supported operating systems: Microsoft Windows XP, Windows 2003 Server, Windows Vista, Windows 2008 Server, Windows 7, and Linux. The SSB web interface can be accessed only using SSLv3 or TLSv1 encryption and strong cipher algorithms. Note that when using Internet Explorer 7 on Windows 2008 to access SSB you must
enable active scripting for the Internet Zone, otherwise the SSB web interface will
not operate properly. This is not required on other platforms or browser versions. To
accomplish this, select , and set the field to
When using Internet Explorer 8.0 on Windows Server 2008 R2 Enterprise, disable the Content Advisor in the Internet Explorer. To accomplish this, select . |
SSB can be accessed from the local network. Starting with version 2.1, SSB attempts to receive an IP address automatically via DHCP. If it fails to obtain an automatic IP address, it starts listening for HTTPS connections on the 192.168.1.1 IP address. Note that certain switch configurations and security settings can interfere with SSB receiving an IP address via DHCP.
SSB accepts connections via its external interface (EXT, for details on
the network interfaces, see Section 2.5, Network interfaces).
If SSB is listening on the 192.168.1.1 address, note that the 192.168.1.0/24 subnet must be accessible from the client. If
the client machine is in a different subnet (for example its IP address is
192.168.10.X), but in the same network segment, the easiest
way is to assign an alias IP address to the client machine. Creating an alias IP on the
client machine virtually puts both the client and SSB into the same subnet, so that
they can communicate. To create an alias IP complete the following steps.
For details on creating an alias IP on Microsoft Windows, see Procedure 3.1.1, Creating an alias IP address (Microsoft Windows).
For details on creating an alias IP on Linux, see Procedure 3.1.2, Creating an alias IP address (Linux).
If configuring an alias interface is not an option for some reason, you can modify the IP address of SSB. For details, see Procedure 3.1.3, Modifying the IP address of SSB.
![]() |
Warning |
|---|---|
The Welcome Wizard can be accessed only using the external network interface of SSB, as the management interface is not configured yet. |
3.1.1. Procedure – Creating an alias IP address (Microsoft Windows)
This procedure describes how to assign an alias IP address to a network interface on Microsoft Windows platforms.
Navigate to .
Double click on the and then click .
Select the component in the list and click .
To display the Advanced TCP/IP Settings window, click .
Select the tab and in the section, click .
Into the field, enter
192.168.1.2. Into the
field, enter 255.255.255.0.
![]() |
Warning |
|---|---|
If your internal network uses the |
To complete the procedure, click .
3.1.2. Procedure – Creating an alias IP address (Linux)
This procedure describes how to assign an alias IP address to a network interface on Linux platforms.
Start a terminal console (for example gnome-terminal, konsole, xterm, and so on).
Issue the following command as root:
ifconfig <ethX>:0 192.168.1.2
where <ethX> is the ID of the network interface
of the client, usually eth0 or
eth1.
Issue the ifconfig command. The
<ethX>:0 interface appears in the output,
having inet addr:192.168.1.2 .
Issue the ping -c 3 192.168.1.1 command to verify that SSB is accessible. A similar result is displayed:
user@computer:~$ ping -c 3 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
64 bytes from 192.168.1.1: icmp-seq=1 ttl=63 time=0.357 ms
64 bytes from 192.168.1.1: icmp-seq=2 ttl=63 time=0.306 ms
64 bytes from 192.168.1.1: icmp-seq=3 ttl=63 time=0.314 ms
--- 192.168.1.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2013ms
rtt min/avg/max/mdev = 0.306/0.325/0.357/0.030 ms
Open the page https://192.168.1.1 from your browser and accept the certificate shown. The Welcome Wizard of SSB appears.
3.1.3. Procedure – Modifying the IP address of SSB
To configure SSB to listen for connections on a custom IP address, complete the following steps.
![]() |
Warning |
|---|---|
Use this procedure only before the initial configuration of SSB, that is, before completing the Welcome Wizard. For details on changing the IP address or other network settings of a configured SSB system, see Section 4.3.1, Network settings. |
Access SSB from the local console.
Login using the root as username and default as password.
In the Console Menu, select .
Change the IP address of SSB using the following command. Replace <IP-address> with an IPv4 address suitable for your environment.
ifconfig eth0 <IP-address> netmask 255.255.255.0Set the default gateway using the following command:
route add default gw <IP-address-of-the-default-gateway>Type exit, then select from the Console Menu.
Open the page https://<IP-address-you-set-for-SSB> from your browser and accept the certificate shown. The Welcome Wizard of SSB appears.
3.2. Procedure – Configuring SSB with the Welcome Wizard
The Welcome Wizard guides you through the basic configuration steps of SSB. All parameters can be modified before the last step by using the button of the wizard, or later via the web interface of SSB.
Open the https://<IP-address-of-SSB-external-interface> page in your browser and accept the displayed certificate. The Welcome Wizard of SSB appears.
![]() |
Tip |
|---|---|
The SSB console displays the IP address the external interface is listening on. SSB either receives an IP address automatically via DHCP, or if a DHCP server is not available, listens on the |
When configuring SSB for the first time, click .
It is also possible to import an existing configuration from a backup file. Use this feature to restore a backup configuration after a recovery, or to migrate an existing SSB configuration to a new device.
Click and select the configuration file to import.
Enter the passphrase used when the configuration was exported into the field.
Click .
![]() |
Warning |
|---|---|
If you use the Import function to copy a configuration from one SSB to another, do not forget to configure the IP addresses of the second SSB. Having two devices with identical IP addresses on the same network leads to errors. |
Accept the End User License Agreement and install the SSB license
Read the End User License Agreement and select .
Click , select the SSB license file received with SSB, then click .
Click .
Fill the fields to configure networking. The meaning of each field is described below. The background of unfilled required fields is red. All parameters can later be modified using the regular interface of SSB.
Hostname: Name of the machine running SSB (for
example SSB).
Domain name: Name of the domain used on the network.
DNS server: IP address of the name server used for domain name resolution.
NTP server: The IP address or the hostname of the NTP server.
SMTP server: The IP address or the hostname of the SMTP server used to deliver e-mails.
Administrator's e-mail: E-mail address of the SSB administrator.
Timezone: The timezone where the SSB is located.
External interface — IP address: IP address of
the external interface of SSB (for example
192.168.1.1). The IP address can be chosen from
the range of the corresponding physical subnet. Clients will connect the
external interface, therefore it must be accessible to them.
![]() |
Note |
|---|---|
The IP address of the SSB host must not fall into the following
ranges: |
External interface — Netmask: The IP netmask of the given range in IP format. For example, general class C networks have the 255.255.255.0 netmask.
Default gateway: IP address of the default gateway. When using several network cards, the default gateway is usually in the direction of the external interface.
HA address: The IP address of the high availability
(HA) interface. Leave this field on auto unless
specifically requested by the support team.
Click .
Enter the passwords used to access SSB.
![]() |
Note |
|---|---|
SSB passwords can contain the following special characters:
|
Admin password: The password of the
admin user who can access the web interface of
SSB.
Root password: The password of the
root user, required to access SSB via SSH or
from the local console.
![]() |
Note |
|---|---|
Accessing SSB using SSH is rarely needed, and recommended only for advanced users for troubleshooting situations. |
If you want to prevent users from accessing SSB remotely via SSH or changing the root password of SSB, select the checkbox. Sealed mode can be activated later from the web interface as well. For details, see Section 4.5.6, Sealed mode.
Click .
Upload or create a certificate for the SSB web interface. This SSL certificate will be displayed by SSB to authenticate administrative HTTPS connections to the web interface.
To create a self-signed certificate, fill the fields of the section and click . The certificate will be self-signed by the SSB appliance; the hostname of SSB will be used as the issuer and common name.
Country: Select the country where SSB is located (for example HU-Hungary).
Locality: The city where SSB is located (for example Budapest).
Organization: The company who owns SSB (for example Example Inc.).
Organization unit: The division of the company who owns SSB (for example IT Security Department).
State or Province: The state or province where SSB is located.
Click .
If you want to use a certificate that is signed by an external Certificate
Authority, in the field, click
to upload the certificate.
Then in the field click
, upload
the private key, and enter the password protecting the private key.
Review the data entered in the previous steps. This page also displays the certificate generated in the last step; the RSA SSH key of SSB, and information about the license file.
If all information is correct, click .
![]() |
Warning |
|---|---|
The configuration takes effect immediately after clicking . Incorrect network configuration data can render SSB unaccessible. |
SSB is now accessible from the regular web interface via the IP address of its external interface.
Your browser is automatically redirected to the IP address set as the external
interface of SSB, where you can login to the web interface of SSB using
the admin username and the password you set for this user in
the Welcome Wizard.
3.3. Procedure – Configuring storage access in SSB
Purpose:
The syslog-ng Store Box SANConnect edition of SSB uses a SAN storage module to store data. To configure SAN access in SSB, complete the following steps:
Steps:
For details on managing SAN access from SSB, see Section 4.6, Managing SAN access in SSB.
To configure the storage-related options of SSB, navigate to .
![]() |
Note |
|---|---|
If the Storage tab is not visible in the menu, the license file of SSB does not have the storage support enabled. If you have purchased an SSB version that includes storage support, contact your local distributor, or directly BalaBit IT Security Ltd.. |
Optional step: If you have SSB SANConnect version, and your SAN system has a name server, enter the IP address of the iSCSI Name Server into the ISNS field.
Add an IP address and netmask (for example 1.2.4.135 and
255.255.255.0) for the iSCSI card of the SSB. Make sure
that the iSCSI interface of SSB and the storage module are on the same
subnet.
When running SSB in high availability mode, configure an IP address for the iSCSI
card of the second SSB node as well. Make sure that the iSCSI interfaces of the two
SSB nodes are different (for example use 1.2.4.136 and
255.255.255.0 for the second node).
Add the storage module to the iSCSI Targets available from SSB. List every IP address and IQN of the storage module as an . As a result, the volumes available on the storage will be displayed, including the LUN and WWN of every volume. The IP addresses and IQN numbers of the storage module are printed on the syslog-ng Store Box Certificate you received with the SSB hardware.
![]() |
Note |
|---|---|
In high availability mode, or if the iSCSI card of SSB has two ports connected to the storage module, every volume can be listed multiple times, and a volume may not be accessible from every target. This is normal. |
Format the volume if needed. Select , and enter a name for the volume. After the formatting procedure is finished, the size and the free space available on the volume are displayed.
When creating logspaces, assign a volume to the logspace. Note that logspaces stored on a storage volume are identical to logspaces stored on the local hard drive: they can be shared, every logspace is stored in a separate directory, and so on. For details on creating logspaces, see Section 5.2.4, Creating custom message spaces in SSB.
![]() |
Note |
|---|---|
A single volume can store multiple logspaces, but a logspace can use only a single volume. |
SSB is configured via the web interface. Configuration changes take effect
automatically after clicking
. Only the modifications of the current page or tab are activated
— each page and tab must be committed separately.
This chapter describes how to configure, manage, and maintain SSB.
For details about the supported browsers, see Section 4.1, Supported web browsers and operating systems.
For details on how to use the web interface of SSB, see Section 4.2, The structure of the web interface.
For details on how to configure the basic settings of the SSB host like network settings, system monitoring, and backup settings, see Section 4.3, Basic settings.
For details on how to manage user accounts and privileges see Section 4.4, User management and access control.
For details on how to control, reboot, update, and troubleshoot SSB, see Section 4.5, Managing SSB.
Supported browsers: Mozilla Firefox 3.0 or newer and Microsoft Internet Explorer 7 and 8. The browser must support HTTPS connections, JavaScript, and cookies. Make sure that both JavaScript and cookies are enabled.
![]() |
Note |
|---|---|
SSB displays a warning message if your browser is not supported or JavaScript is disabled. |
Supported operating systems: Microsoft Windows XP, Windows 2003 Server, Windows Vista, Windows 2008 Server, Windows 7, and Linux.
The SSB web interface can be accessed only using SSLv3 or TLSv1 encryption and strong cipher algorithms.
Note that when using Internet Explorer 7 on Windows 2008 to access SSB you must
enable active scripting for the Internet Zone, otherwise the SSB web interface will
not operate properly. This is not required on other platforms or browser versions. To
accomplish this, select , and set the field to
Enabled.
When using Internet Explorer 8.0 on Windows Server 2008 R2 Enterprise, disable the Content Advisor in the Internet Explorer. To accomplish this, select .
The web interface consists of the following main sections:
Main menu: Each menu item displays its options in the main
workspace on one or more tabs. Click
in front of a main menu item to
display the list of available tabs.
User menu: Provides possibilities to change your SSB password; to log out; and disable confirmation dialogs and tooltips using the option.
User info: Provides information about the user currently logged in:
username
IP address of the user's computer
date and IP address of the user's last login
System monitor: Displays accessibility and system health information about SSB, including the following:
System date and time.
The time remaining before the session to the web interface times out.
The status of syslog-ng running on SSB (ideally it
is RUNNING).
License information if the license is not valid, or an evaluation version license has expired.
The status of the RAID devices, if synchronization between the disks is in progress.
![]() |
Example 4.1. Number of hosts and senders |
|---|---|
|
For example: if 300 clients all send log messages directly to SSB the Hosts and Senders are both 300. If the 300 clients send the messages to 3 relays (assuming that the relays do not send messages themselves) and only the relays communicate directly with SSB then Hosts is 300, while Senders is 3 (the 3 relays). If the relays also send messages, then Hosts is 303, while Senders is 3 (the 3 relays). |
The HA status and the ID of the active node if two SSB units are running in a High Availability cluster. If there are redundant Heartbeat interfaces configured, their status is displayed as well. If the nodes of the cluster are synchronizing data between each other, the progress and the time remaining from the synchronization process is also displayed.
Average system load during the
last minute
last fifteen minutes
CPU, memory, hard disk, and swap use. Hover the mouse above the graphical bars to receive a more details in a tooltip, or navigate to for detailed reports.
The System monitor displays current information about the state of SSB. To display a history of these parameters, go to . For details, see Section 4.5.4.5, Status history and statistics.
The main workspace displays the configuration settings related to the selected
main menu item grouped into one or more tabs. Related parameters of a tab are
organized into labeled groups or sections, marked with blue outline
.
Each page includes one or more orange action buttons.
The most common action button is the , which saves
and activates the changes of the page.
/
Show/Hide Details: Displays
or hides additional configuration settings and options.
,
Create entry: Create a
new row or entry (for example an IP address or a policy).
,
Delete entry:
Delete a row or an entry (for example an IP address or a policy).
,
Open/collapse lists: Open or close a list of options
(for example the list of available reports).
Modify entries or upload files: Edit an
entry (for example a host key, a list, and so on), or upload a file (for
example a private key). These actions open a popup window where the actual
modification can be performed.
,
Position an item in a list: Modify the order of items
in a list. The order of items in a list (for example the order of
connections, permitted channels in a channel policy, and so on) is important
because when SSB is looking for a policy, it evaluates the list from
top to down, and selects the first item completely matching the search
criteria. For example, when a client initiates a connection to a protected
server, SSB selects the first connection policy matching the client's
IP address, the server's IP address, and the target port (the From, To, and
Port fields of the connection).
Message window: This popup window displays the responses of SSB to the user's actions, for example Configuration saved successfully. Error messages are also displayed here. All messages are included in the system log. For detailed system logs (including message history), see the tab of the Basic menu. To make the window appear only for failed actions, navigate to and enable the option.
Multiple administrators can access the SSB web interface simultaneously, but only one of them can modify the configuration. This means that the configuration of SSB is automatically locked when the first administrator who can modify the configuration accesses a configuration page (for example the , , or menu). The username and IP address of the administrator locking the configuration is displayed in the field. Other administrators must wait until the locking administrator logs out, or the session of the administrator times out. However, it is possible to access the and menus, or browse the configuration with only View rights (for details, see Section 4.4.6, Managing user rights and usergroups).
![]() |
Note |
|---|---|
If an administrator logs in to SSB using the local console or a remote SSH connection, access via the web interface is completely blocked. Inactive local and SSH connections timeout just like web connections. For details, see Section 4.5.5, Accessing the SSB console. |
Use the option of the main menu to configure the SSB host. The exact options are described in the following sections.
For details on how to configure the network interfaces, name resolution, and other networking-related settings, see Section 4.3.1, Network settings.
For details on how to control (for example reboot) SSB, upload a new firmware or license, export the current configuration, or stop the incoming syslog traffic, see Section 4.3.1, Network settings.
For details on how to set the system time and automatic time synchronization to an NTP server, see Section 4.3.2, Date and time configuration.
For details on how to configure where SNMP and e-mail alerts are sent, see Section 4.3.3, SNMP and e-mail alerts.
For details on how to configure system monitoring and alerts, see Section 4.3.4, Configuring system monitoring on SSB.
For details on how to configure data archiving and backups, see Section 4.3.5, Data and configuration archiving and backups.
The tab contains the network interface and naming settings of SSB.
Interfaces > External interface: The Address and
Netmask of the SSB network interface that receives client connections.
Click the
and
icons to add new alias IP
addresses (also called alias interfaces) or delete existing ones. At least
one external interface must be configured. If the management interface is
disabled, the SSB web interface can be accessed via the external
interface. When multiple external interfaces are configured, the first one
refers to the physical network interface, all others are alias interfaces.
The SSB web interface can be accessed from all external interfaces (if
no management interface is configured).
Optionally, you can enable access to the SSB web interface even if the management interface is configured by activating the function.
![]() |
Warning |
|---|---|
If you enable management access on an interface and configure alias IP address(es) on the same interface, SSB will accept management connections only on the original address of the interface. |
![]() |
Note |
|---|---|
|
The speed of the interface is displayed for every interface. To explicitly set the speed of the interface, select the desired speed from the field. Modifying the speed of the interface is recommended only for advanced users. Also note that changing the interface speed might not take effect if the network card of SSB has been replaced with one different from the original. |
Interfaces > Management interface: The Address and Netmask of the SSB network interface used to access the SSB web interface. If the management interface is configured, the web interface can be accessed only via this interface, unless access from other interfaces is explicitly enabled.
4.3.1.1. Procedure – Configuring the management interface
Purpose:
To activate the interface, complete the following steps.
Steps:
Navigate to .
In the field, select .
Into the field, enter the IP address of SSB's management interface.
Into the field, enter the netmask related to the IP address.
![]() |
Warning |
|---|---|
|
After clicking , the web interface will be available only via the management interface — it will not be accessible using the current (external) interface, unless the option is selected for the external interface. Ensure that the Ethernet cable is plugged and the management interface is connected to the network; this is indicated by a green check icon in the field. When using High Availability, ensure that the management interface of both SSB units is connected to the network. The section indicates if a link is detected on the high availability interface. |
Click .
HA address: The IP address of the high availability
(HA) interface. Leave this field on Auto negotiation
unless specifically requested by the support team.
![]() |
Note |
|---|---|
As of SSB version
1.1.1, when both nodes of a cluster boot up in parallel,
the node with the |
Interfaces > Routing table: When sending a packet to
a remote network, SSB consults the routing table to determine the path
it should be sent. If there is no information in the routing table then the
packet is sent to the default gateway. Use the routing table to define
static routes to specific hosts or networks. You have to use the routing
table if the internal interface is connected to multiple subnets, because
the default gateway is (usually) towards the external interface. Click the
and
icons to add new routes or delete existing
ones. A route means that messages sent to the
Address/Netmask network should be delivered to
Gateway.
For detailed examples, see Procedure 4.3.1.2, Routing management traffic to the management interface .
Naming > Hostname: Name of the machine running SSB.
Naming > DNS search domain: Name of the domain used on the network. When resolving the domain names of the audited connections, SSB will use this domain to resolve the target hostname if the append domain entry is of a target address is empty.
Naming > Primary DNS server: IP address of the name server used for domain name resolution.
Naming > Secondary DNS server: IP address of the name server used for domain name resolution if the primary server is unaccessible.
4.3.1.2. Procedure – Routing management traffic to the management interface
Purpose:
For security reasons — and also to reduce network usage on the external interface — it is recommended to direct all management-related traffic of SSB towards the management network interface. Such traffic includes access to the web interface, backups and archiving, data forwarded to a remote destination , and e-mail or SNMP alerts sent to the administrator.
![]() |
Warning |
|---|---|
Complete the following procedure only if the management interface is configured; otherwise the data sent by SSB will be lost. For details on configuring the management interface, see Procedure 4.3.1.1, Configuring the management interface. |
Steps:
To add a new routing entry, navigate to and in the
field, click
.
Enter the IP address of the backup server (as set in Procedure 4.3.5.1, Creating configuration and data backups) into the field.
Enter the related netmask into the field.
Enter the IP address of the gateway used on that subnetwork into the field.
Click .
Repeat Steps 1-5 and create a routing entry for other backup servers if needed.
Repeat Steps 1-5 and create a routing entry for the SMTP server (as set in Section 4.3.3, SNMP and e-mail alerts).
Repeat Steps 1-5 and create a routing entry for the remote destinations (as set in Section 5.3, Forwarding messages from SSB).
Date and time related settings of SSB can be configured on the tab of the page.
![]() |
Warning |
|---|---|
|
It is essential to set the date and time correctly on SSB, otherwise the date information of the logs will be inaccurate. SSB displays a warning on this page and sends an alert if the time becomes out of sync. |
To explicitly set the date and time on SSB, enter the current date into respective fields of the group and click .
4.3.2.1. Procedure – Configuring a time (NTP) server
Purpose:
To retrieve the date automatically from a time server, complete the following steps.
Steps:
Select your timezone in the field.
Enter the IP address of an NTP time server into the field.
Click .
Click the
and
icons to add new servers or
delete existing ones.
![]() |
Note |
|---|---|
|
If the time setting of SSB is very inaccurate (that is, the difference between the system time and the actual time is great), it might take a long time to retrieve the date from the NTP server. In this case, click to sync the time immediately using SNTP. When two SSB units are operating in high availability mode, the button is named , and synchronizes the time of the master node to the NTP server. To synchronize the time between the master and the slave nodes, click . |
E-mail alerts can be configured on the page.
4.3.3.1. Procedure – Configuring e-mail alerts
Purpose:
To configure e-mail alerts, complete the following steps:
Steps:
Navigate to .
Enter the IP address or the hostname of the mail server into the field.
Enter the e-mail address of the administrator into the field. SSB sends notifications related to system-events (but not alerts and reports) to this address.
Enter the e-mail address of the administrator into the field. SSB sends monitoring alerts to this address.
Enter the e-mail address the person who should receive traffic reports from SSB into the field. For details on reports, see Section 6.8, Reports.
Click .
Click to send a test message.
If the test message does not arrive to the server, check if SSB can access the server. For details, see Section 4.5.4, Troubleshooting SSB.
Navigate to and select in which situations should SSB send an e-mail alert. For details, see Section 4.3.4, Configuring system monitoring on SSB.
Click .
4.3.3.2. Procedure – Configuring SNMP alerts
Purpose:
SSB can send alerts to a central monitoring server via SNMP (Simple Network Management Protocol). To configure SNMP alerts, complete the following steps:
Steps:
Navigate to .
Enter the IP address or the hostname of the SNMP server into the field.
Select the SNMP protocol to use.
To use the SNMP v2c protocol for SNMP queries, select , and enter the community to use into the field.
To use the SNMP v3 protocol, select and complete the following steps:
Enter the username to use into the field.
Enter the engine ID to use into the
field. The engine ID is a hexadecimal number at least 10 digits
long, starting with 0x. For example
0xABABABABAB.
Select the authentication method (MD5,
SHA1) to use from the field.
Enter the password to use into the field.
Select the encryption method (Disabled, DES,
AES) to use from the field.
Enter the encryption password to use into the field.
Click .
Navigate to and select in which situations should SSB send an SNMP alert. For details, see Section 4.3.4, Configuring system monitoring on SSB.
Click .
4.3.3.3. Procedure – Querying SSB status information using agents
Purpose:
External SNMP agents can query the status information of SSB. To configure which clients can query this information, complete the following steps:
Steps:
Navigate to .
The status of SSB can be queried dynamically via SNMP. By default, the status can be queried from any host. To restrict access to these data to a single host, enter the IP address of the host into the field.
Optionally, you can enter the details of the SNMP server into the , , and fields.
Select the SNMP protocol to use.
To use the SNMP v2c protocol for SNMP queries, select , and enter the community to use into the field.
To use the SNMP v3 protocol, select and complete the following steps:
Click 
Enter the username used by the SNMP agent into the field.
Select the authentication method (MD5,
SHA1) to use from the
field.
Enter the password used by the SNMP agent into the field.
Select the encryption method (Disabled, DES,
AES) to use from the field.
Enter the encryption password to use into the field.
To add other agents, click
.
Click .
SSB continuously monitors a number of parameters of the SSB hardware and its environment. If a parameter reaches a critical level (set in its respective field), SSB sends e-mail and SNMP messages to alert the administrator.
SSB sends SNMP alerts using the management network interface by default, or using the external interface if the management interface is disabled. SSB supports the SNMPv2c and SNMPv3 protocols. The SNMP server set on the tab can query status information from SSB.
![]() |
Tip |
|---|---|
|
In order have your central monitoring system to recognize the SNMP alerts sent by SSB, import the SSB-specific Management Information Base (MIB) into your monitoring system. Download both MIBs from the following locations and import them into your monitoring system. For details, see the documentation of your monitoring system. BalaBit Syslog-ng Store Box SNMP MIB root module , BalaBit SNMP MIB root module, and BalaBit X Control Box series SNMP MIB root module. |
4.3.4.1. Procedure – Configuring monitoring
Purpose:
To configure monitoring, complete the following steps:
Steps:
Navigate to .
The default threshold values of the parameters are suitable for most situations. Adjust the thresholds only if needed.
Click .
Navigate to and verify that the and of SSB are correct. SSB sends alerts only to the alert e-mail address and to the SNMP server.
![]() |
Warning |
|---|---|
Sending alerts fails if these settings are incorrect. |
The following sections describe the parameters you can receive alerts on.
For details on health-monitoring alerts, see Section 4.3.4.2, Health monitoring.
For details on system-monitoring alerts, see Section 4.3.4.3, System related traps.
For details on syslog-related alerts, see Section 4.3.4.4, Alerts related to syslog-ng.
Disk utilization maximum: Ratio of free space available on the hard disk. SSB sends an alert if the log files use more space than the set value. Archive the log files to a backup server to free disk space. For details, see Procedure 4.3.5.2, Archiving the collected data.
![]() |
Note |
|---|---|
The alert message includes the actual disk usage, not the limit
set on the web interface. For example, you set SSB to alert if
the disk usage increases above |
Load 1|5|15 maximum: The average load of SSB during the last one, five, or 15 minutes.
Swap utilization maximum: Ratio of the swap space used by SSB. SSB sends an alert if it uses more swap space than the set value.
| Name | SNMP alert ID | Description |
|---|---|---|
| Login failed | xcbLoginFailure |
Failed login attempts from SSB web interface. |
| Successful login | xcbLogin |
Successful login attempts into SSB web interface. |
| Logout from the management interface | xcbLogout |
Logouts from SSB web interface. |
| Configuration changed | xcbConfigChange |
Any modification of SSB's configuration. |
| General alert | xcbAlert |
General alerts and error messages occurring on SSB. Note, that alerts on general alerts and errors are sent whenever there is an alert or error level message in the SSB system log. These messages are very verbose and mainly useful only for debugging purposes. Enabling these alerts may result in multiple e-mails or SNMP traps sent about the same event. |
| General error | xcbError |
|
| Data and configuration backup failed | xcbBackupFailed |
Alerts if the backup procedure is unsuccessful. |
| Data archiving failed | xcbArchiveFailed |
Alerts if the archiving procedure is unsuccessful. |
| Database error occurred | xcbDBError |
An error occurred in the database where SSB stores alerts and accounting information. Contact our support team (see Section 5, Contact and support information for contact information). |
| Destination address limit reached | xcbLimitReached |
Maximum number of clients has been reached. |
| HA node state changed | xcbHaNodeChanged |
A node of the SSB cluster changed its state, for example, a takeover occurred. |
| Timestamping error occured | xcbTimestampError |
An error occurred during the timestaming process, for example the timestamping server did not respond. |
| Time sync lost | xcbTimeSyncLost |
The system time became out of sync. |
| Raid status changed | xcbRaidStatus |
The status of the node's RAID device changed its state. |
| Hardware error occured | xcbHWError |
SSB detected a hardware error. |
Table 4.1. System related traps
| Name | SNMP alert ID | Description |
|---|---|---|
| syslog-ng failure | syslogngFailureTrap |
The syslog-ng application did not start properly, shut down unexpectedly, or encountered another problem. Depending on the error, SSB may not accept incoming messages or send them to the destinations. |
| Remote syslog-ng peer configuration changed | peerConfigChangeTrap |
The configuration of the syslog-ng application running on a
remote host that sents its logs to SSB has been changed. Note
that such changes are detected only if the remote peer uses at
least version 3.0 of syslog-ng or version 3.0 of the syslog-ng
Agent, and if messages from the internal
source are sent to SSB.
|
| Logspace exceeded warning size | spaceSizeLimit |
The size of a log space has exceeded the size set as warning limit. |
Table 4.2. Alerts related to syslog-ng
The syslog-ng Store Box can create automatic backups of its configuration and the stored logs to a remote server. Logs can be archived as well. Backups and archiving is controlled using backup and archiving policies that define the protocol to use, the address of the backup server, and other parameters.
4.3.5.1. Procedure – Creating configuration and data backups
Purpose:
To configure automatic configuration backups, complete the following steps:
Steps:
Create a backup policy.
Navigate to and click
in the
section to create a new
backup policy.
Enter a name for the backup policy (for example
config-backup).
Enter the time when the backup process should start into the
field in HH:MM format (for example
23:00).
Enter the IP address or the hostname of the remote server into the
field (for example
backup.example.com).
SSB can access the remote server via different protocols. Select the one to use from the available protocols:
Rsync over SSH: Execute the rsync command via the Secure Shell protocol. Note that the backup server must run rsync version 3.0 or newer.
SMB/CIFS: Server Message Block protocol used on Microsoft Windows Network.
![]() |
Warning |
|---|---|
|
The CIFS implementation of NetApp storage devices is not compatible with the CIFS implementation used in SSB, therefore it is not possible to create backups and archives from SSB to NetApp devices using the CIFS protocol (the operation fails with a similar error message: To overcome this problem, either:
|
NFS: Network File System protocol.
![]() |
Warning |
|---|---|
When using the NFS protocol to create backups or archives, ensure that the files on the remote server are readable for the |
Provide the protocol-specific parameters for the selected method. The protocol-specific parameters are described in Section 4.3.5.4, Parameters of the backup protocols.
To receive e-mail notification of the backup, select the or the option. Notifications are sent to the administrator e-mail address set on the tab, and include the list of the files that were backed up.
![]() |
Note |
|---|---|
This e-mail notification is different from the one set on the tab. This notification is sent to the administrator's e-mail address, while the alerts are sent to the alert e-mail address (see Section 4.3.4, Configuring system monitoring on SSB). |
Click .
Expected outcome:
A backup policy is created.
To use this policy to create configuration backups, navigate to , and select the backup policy you want to use for backing up the configuration of SSB in the field.
To use this policy to create data backups, navigate to , select the logspace you want to backup, and select a backup policy in the field.
Click .
![]() |
Tip |
|---|---|
|
To create an immediate backup of SSB's configuration to your machine (not to the backup server), select . Note that the configuration export contains only the system settings and configuration files (including changelogs). System backups includes additional information like reports and alerts. |
![]() |
Note |
|---|---|
Backup is different from archiving: the purpose of backup is to create a snapshot of SSB's configuration or the data stored on SSB that can be used for recovery in case of errors. Backup deletes all other data from the target directory; while restoring a backup deletes all other data from SSB. |
![]() |
Tip |
|---|---|
|
To start the backup process immediately, click . The functionality works only after a backup policy has been selected. To restore the stored data (logs, reports, and so on), click . Note that the function does not restore the configuration files of SSB. |
![]() |
Warning |
|---|---|
|
Before restoring data, make sure to stop the incoming log traffic, otherwise the log files of the current day might become inconsistent, preventing SSB from accepting messages for logspaces that had already received messages on the current day.
|
4.3.5.2. Procedure – Archiving the collected data
Purpose:
To configure data archiving, complete the following steps.
Steps:
Create an archive policy.
Navigate to and click
in the
section to create a
new archive policy.
Enter a name for the archive policy.
Enter the time when the archive process should start into the
field in HH:MM format (for example
23:00).
SSB can access the remote server via different protocols. Select the one to use from the available protocols:
Only cleanup, no archiving: Do not archive data to a server, simply delete the data that is older than .
![]() |
Warning |
|---|---|
permanently deletes all log files and data that is older than without creating a backup copy or an archive. Such data is irrecoverably lost. Use this option with care. |
SMB/CIFS: Server Message Block protocol used on Microsoft Windows Network.
![]() |
Warning |
|---|---|
|
The CIFS implementation of NetApp storage devices is not compatible with the CIFS implementation used in SSB, therefore it is not possible to create backups and archives from SSB to NetApp devices using the CIFS protocol (the operation fails with a similar error message: To overcome this problem, either:
|
NFS: Network File System protocol.
![]() |
Warning |
|---|---|
When using the NFS protocol to create backups or archives, ensure that the files on the remote server are readable for the |
Enter the IP address or the hostname of the remote server into the
field (for
example backup.example.com).
Fill the field. Only audit data older than this value is archived to the external server.
![]() |
Note |
|---|---|
|
The archived data is deleted from SSB. Connection metadata is not deleted. Log files are not deleted at this point, but are rotated on a weekly basis. |
Provide the protocol-specific parameters for the selected method. The protocol-specific parameters are described in Section 4.3.5.4, Parameters of the backup protocols.
To receive e-mail notification of the backup, select the or the option. Notifications are sent to the administrator e-mail address set on the tab, and include the list of the files that were backed up.
![]() |
Note |
|---|---|
This e-mail notification is different from the one set on the tab. This notification is sent to the administrator's e-mail address, while the alerts are sent to the alert e-mail address (see Section 4.3.4, Configuring system monitoring on SSB). |
Click .
Expected outcome:
An archive policy is created.
To use this policy to archive the data of a logspace, navigate to , select the logspace you want to archive, and select the archive policy you want to use in the field.
Click .
![]() |
Tip |
|---|---|
To start the archiving process immediately, click . The functionality works only after the archiving has been configured. |
4.3.5.3. Procedure – Encrypting configuration backups with GPG
Purpose:
The configuration file of SSB during system-backups, upload the public-part of a GPG key. To enable GPG-encryption, complete the following steps:
![]() |
Warning |
|---|---|
The regular backups of SSB contain other information (for example databases), but only the configuration file is encrypted. Note that system-backups do not contain data like logspaces . |
Steps:
Navigate to .
Select .
Select
.
To upload a key file, click , select the file containing the public GPG key, and click . SSB accepts both binary and ASCII-armored GPG keys.
To copy-paste the key from the clipboard, paste it into the field and click .
![]() |
Note |
|---|---|
The GPG key you upload must be permitted to encrypt data. Keys that can be used only for signing cannot be used to encrypt the configuration file. |
Click .
This section describes the details of the protocols used for data backup and archiving. Parameters of the protocol are described below.
For details on using Rsync, see Procedure 4.3.5.4.1, Configuring Rsync over SSH.
For details on using the Samba protocol, see Procedure 4.3.5.4.2, Configuring SMB.
For details on using NFS, see Procedure 4.3.5.4.3, Configuring NFS.
4.3.5.4.1. Procedure – Configuring Rsync over SSH
Purpose:
The backup method connects the target server with SSH and executes the rsync UNIX command to copy the data to the remote server. SSB authenticates itself with a public key — password-based authentication is not supported. To configure this method, complete the following steps.
![]() |
Warning |
|---|---|
The backup server must run rsync version 3.0 or newer. |
Steps:
Select from the radio buttons.
Enter the username used to logon to the remote server into the field.
Click
in the Authentication key
field. A popup window is displayed.
Generate a new keypair by clicking or upload or paste an existing one. This key will be used to authenticate SSB on the remote server. The public key of this keypair must be imported to the remote server.
Click
in the Server host key field. A
popup window is displayed.
Click to download the host key of the server, or upload or paste the host key manually. SSB will compare the host key shown by the server to this key, and connect only if the two keys are identical.
Enter the port number of the SSH server running on the remote machine into the field.
Enter the path to the backup directory on the target server into the
field (for example
/backups). SSB saves all data into this
directory, automatically creating the subdirectories. Backups of log files are stored in the data,
configuration backups in the config
subdirectory.
Click .
4.3.5.4.2. Procedure – Configuring SMB
Purpose:
The backup method connects to a share on the target server with Server Message Block protocol. SMB/CIFS is mainly used on Microsoft Windows Networks. To configure this method, complete the following steps.
![]() |
Warning |
|---|---|
|
The CIFS implementation of NetApp storage devices is not compatible with the CIFS implementation used in SSB, therefore it is not possible to create backups and archives from SSB to NetApp devices using the CIFS protocol (the operation fails with a similar error message: To overcome this problem, either:
|
Steps:
Select from the radio buttons.
Enter the username used to logon to the remote server into the field, or select the option.
Enter the password corresponding to the username into the field.
Enter the name of the share into the field.
SSB saves all data into this directory, automatically creating
the subdirectories. Backups of log files are
stored in the data, configuration backups in the
config subdirectory.
Enter the domain name of the target server into the field.
Click .
4.3.5.4.3. Procedure – Configuring NFS
Purpose:
The backup method connects to a shared directory of the target server with the Network File Share protocol. To configure this method, enter the name of the NFS export into the field. SSB saves all data into this directory, automatically creating the subdirectories.
The backup server must also be configured to accept backups from SSB. To configure NFS on the remote server, complete the following steps:
![]() |
Note |
|---|---|
These steps must be performed on the remote server, not on SSB. |
Steps:
Add a line that corresponds to the settings of SSB to the
/etc/exports file of the backup server. This
line should contain the following parameters:
The path to the backup directory as set in the field of the SSB backup or archiving policy.
The IP address of the SSB interface that is used to access the remote server (that is, the address of the external interface, or the address of the management interface if it is enabled and the routing table of SSB is correctly configured — for details, see Section 4.3.1, Network settings.
The following parameters:
(rw,no_root_squash,sync).
![]() |
Example 4.2. Configuring NFS on the remote server |
|---|---|
For example, if SSB connects the remote server from the
|
/var/backups/SSB 192.168.1.15(rw,no_root_squash,sync)
Execute the following command: exportfs -a
Verify that the rpc portmapper and
rpc.statd applications are running.
The different backup protocols assign different file ownerships to the files saved on the backup server. The owners of the backup files created using the different protocols are the following:
rsync: The user provided on the web interface.
SMB: www-data
NFS: root with
no-root-squash, nobody
otherwise.
![]() |
Warning |
|---|---|
SSB cannot modify the ownership of a file that already exists on the remote server. If you change the backup protocol but you use the same directory of the remote server to store the backups, make sure to adjust the ownership of the existing files according to the new protocol. Otherwise SSB cannot overwrite the files and the backup procedure fails. |
The menu (Authentication, Authorization, and Accounting) allows you to control the authentication, authorization, and accounting settings of the users accessing SSB. The following will be discussed in the next sections:
For details on how to authenticate locally on SSB — see Procedure 4.4.1, Managing SSB users locally.
For details on how to authenticate users using an external LDAP (for example Microsoft Active Directory) database — see Procedure 4.4.4, Managing SSB users from an LDAP database.
For details on how to authenticate users using an external RADIUS server — see Procedure 4.4.5, Authenticating users to a RADIUS server.
For details on how to control the privileges of users and usergroups — see Section 4.4.6, Managing user rights and usergroups.
For details on how to display the history of changes of SSB configuration — see Section 4.4.7, Listing and searching configuration changes.
4.4.1. Procedure – Managing SSB users locally
Purpose:
By default, SSB users are managed locally on SSB. To create and delete local users, modify the group membership of local users, or to modify the password of a user, complete the following procedure.
![]() |
Note |
|---|---|
|
The Local users cannot be managed when LDAP authentication is used (see Procedure 4.4.4, Managing SSB users from an LDAP database). When LDAP authentication is enabled, the accounts of local users is disabled, they are not displayed on the page, but they are not deleted, When using RADIUS authentication together with local users, the users are authenticated to the RADIUS server, only their group memberships must be managed locally on SSB. For details, see Procedure 4.4.5, Authenticating users to a RADIUS server. |
Steps:
Navigate to and click
.
Enter the username into the field.
![]() |
Note |
|---|---|
The following characters cannot be used in usernames:
|
Enter a password for the user into the and fields.
The strength of the password is indicated below the field as you type. To set a policy for password strength, see Procedure 4.4.2, Setting password policies for local users. The user can change the password later from the SSB web interface.
Click
in the section and select a
group that the user will be member of. Repeat this step to add the user to
multiple groups. For details about the different groups, see Section 4.4.6, Managing user rights and usergroups.
To remove a user from a group, click
next to the
group.
To delete a user, click
at the right edge of the
screen.
Click .
4.4.2. Procedure – Setting password policies for local users
Purpose:
SSB can use password policies to enforce minimal password strength and password expiry. To create a password policy, complete the following steps.
![]() |
Note |
|---|---|
|
Password policies apply only for locally managed users, it has no effect if you manage your users from an LDAP database, or if you authenticate your users to a RADIUS server. Password policies do not apply to the built-in |
Steps:
Navigate to .
Verify that the is set to and that the is set to .
![]() |
Note |
|---|---|
If the setting of these fields is different (for example LDAP or RADIUS), then SSB is not configured to manage passwords locally. |
Set how long the passwords are valid in the field. After this period, SSB users will have to change their
password. To disable password expiry, enter 0.
To prevent password-reuse (for example when a user has two password and instead of changing to a new password only switches between the two), set how many different passwords must the user use before reusing an old password.
To enforce the use of strong password, select the level of password-complexity from the field.
![]() |
Note |
|---|---|
|
The strength of the password is determined by its entropy: the variety of numbers, letters, capital letters, and special characters used, not only by its length. The option executes some simple dictionary-based attacks to find weak passwords. |
Click .
![]() |
Note |
|---|---|
Changes to the password policy do not affect existing passwords. However, setting password expiry will require every user to change their passwords after the expiry date, and the new passwords must comply with the strength requirements set in the password policy. |
4.4.3. Procedure – Managing local usergroups
Purpose:
To display which users belong to a particular local usergroup, navigate to . You can edit the group memberships here as well.
You can use local groups to control the privileges of SSB local and LDAP users — who can view and configure what. Local groups can be also used to control access to the logfiles available via a shared folder. For details, see Section 5.2.6, Accessing log files across the network.
For the description of built-in groups, see Section 4.4.6.5, Built-in usergroups of SSB. To create a new group, complete the following steps:
Steps:
Navigate to and click
.
Enter a name for the group.
Enter the names of the users belonging to the group. Click
to
add more users.
Click .
4.4.4. Procedure – Managing SSB users from an LDAP database
Purpose:
The SSB web interface can authenticate users to an external LDAP database to simplify the integration of SSB to your existing infrastructure. You can also specify multiple LDAP servers; if the first server is unavailable, SSB will try to connect to the second server. To enable LDAP authentication, complete the following steps.
![]() |
Note |
|---|---|
|
The The Enabling LDAP authentication automatically disables the access of every local
user except for SSB accepts both pre-win2000-style and Win2003-style account names (User
Principal Names). User Principal Names (UPNs) consist of a username, the at (@)
character, and a domain name, for example
The following characters cannot be used in usernames and group names:
When using RADIUS authentication together with LDAP users, the users are authenticated to the RADIUS server, only their group memberships must be managed in LDAP. For details, see Procedure 4.4.5, Authenticating users to a RADIUS server. |
Steps:
Navigate to .
Select the option and enter the parameters of your LDAP server.
Enter the IP address or hostname and port of the LDAP server into the field.
To add multiple servers, click
and enter the address of
the next server. If a server is unreachable, SSB will try to
connect to the next server in the list in failover fashion.
![]() |
Warning |
|---|---|
If you will use a TLS-encrypted with certificate verification to
connect to the LDAP server, use the full domain name (for example
|
Select the type of your LDAP server in the field. Select to connect to Microsoft Active Directory servers, or to connect to servers that use the POSIX LDAP scheme.
Enter the name of the DN to be used as the base of the queries into the
field (for example
DC=demodomain,DC=exampleinc).
Enter the name of the DN where SSB should bind to before accessing the database into the field.
For example:
CN=Administrator,CN=Users,DC=demodomain,DC=exampleinc.
![]() |
Note |
|---|---|
SSB accepts both pre-win2000-style and Win2003-style account
names (User Principal Names), for example
|
Enter the password to use when binding to the LDAP server into the field.
If you want to encrypt the communication between SSB and the LDAP server, select the option and complete the following steps:
![]() |
Note |
|---|---|
|
TLS-encrypted connection to Microsoft Active Directory is supported only on Windows 2003 Server and newer platforms. Windows 2000 Server is not supported. Only the STARTTLS method is supported to encrypt the communication between the LDAP server and SSB. The LDAPS protocol is not supported. |
If you want SSB to verify the certificate of the server,
click the
icon in the field. A popup window is displayed.
Click , select the certificate of the Certificate Authority (CA) that issued the certificate of the LDAP server, then click . Alternatively, you can paste the certificate into the field and click .
SSB will use this CA certificate to verify the certificate of the server, and reject the connections if the verification fails.
If you want SSB to simply accept any certificate shown by the LDAP server, select in the field.
![]() |
Note |
|---|---|
|
Alternatively, you can use the following options to check the certificate of the LDAP server:
|
![]() |
Warning |
|---|---|
If you will use a TLS-encrypted with certificate verification
to connect to the LDAP server, use the full domain name (for example
|
If the LDAP server requires mutual authentication, that is, it
expects a certificate from SSB, generate and sign a
certificate for SSB, then click
in
the field to upload
the certificate. After that, click
in the
field and upload the private key
corresponding to the certificate.
Click .
![]() |
Note |
|---|---|
You also have to configure the usergroups in SSB and possibly in your LDAP database. For details on using usergroups, see Section 4.4.6.4, How to use usergroups. |
Click to test the connection. Note that the testing of SSL-encrypted connections is currently not supported.
4.4.5. Procedure – Authenticating users to a RADIUS server
Purpose:
SSB can authenticate its users to an external RADIUS server. Group memberships of the users must be managed either locally on SSB or in an LDAP database.
![]() |
Warning |
|---|---|
The challange/response authentication methods is currently not supported. Other authentication methods (for example password, SecureID) should work. |
To authenticate SSB users to a RADIUS server, complete the following steps:
Steps:
Navigate to .
Set the field to .
Enter the IP address or domain name of the RADIUS server into the field.
Enter the password that SSB can use to access the server into the field.
To add more RADIUS servers, click
and repeat Steps 2-4.
Repeat this step to add multiple servers. If a server is unreachable, SSB will try to connect to the next server in the list in failover fashion.
![]() |
Warning |
|---|---|
After clicking , the SSB web interface will
be available only after successfully authenticating to the RADIUS server.
Note that the default |
Click .
In SSB, user rights can be assigned to usergroups. SSB has numerous usergroups defined by default, but custom user groups can be defined as well. Every group has a set of privileges: which pages of the SSB web interface it can access, and whether it can only view (read) or also modify (read & write/perform) those pages or perform certain actions.
![]() |
Note |
|---|---|
Every group has either read or read & write/perform privileges to a set of pages. |
For details on modifying existing groups, see Procedure 4.4.6.1, Modifying group privileges.
For details on creating a new usergroup, see Procedure 4.4.6.2, Creating new usergroups for the SSB web interface.
For details on finding usergroups that have a specific privilege, see Section 4.4.6.3, Finding specific usergroups.
For tips on using usergroups, see Section 4.4.6.4, How to use usergroups.
For a detailed description about the privileges of the built-in usergroups, see Section 4.4.6.5, Built-in usergroups of SSB.
4.4.6.1. Procedure – Modifying group privileges
Purpose:
To modify the privileges of an existing group, complete the following steps:
Steps:
Navigate to .
Find the group you want to modify and click
. The list of
available privileges is displayed.
Select the privileges (pages of the SSB interface) to which the group will have access to and click .
![]() |
Warning |
|---|---|
Assigning the privilege to a user on the AAA page grants the user search access to every logspace, even if the user is not a member of the groups listed in the option of the particular logspace. |
Select the type of access (read or read & write) from the field.
Click .
4.4.6.2. Procedure – Creating new usergroups for the SSB web interface
Purpose:
To create a new group, complete the following steps:
Steps:
Navigate to and click
.
Enter a name for the group. For details on how you should name your groups, see Section 4.4.6.4, How to use usergroups.
Click the
icon located next to the name of the group. The list
of available privileges is displayed.
Select the privileges (pages of the SSB interface) to which the group will have access to and click .
Select the type of access (read or read & write) from the field.
Click .
![]() |
Note |
|---|---|
|
To export the configuration of SSB, the Export configuration privilege is required. To import a configuration to SSB, the Import configuration privilege is required. To update the firmware and set the active firmware, the Firmware privilege is required. |
The admin user is available by default and has all
privileges, except that it cannot remotely access the
shared logspaces. It is not possible to delete this user.
The section of the page provides you with a simple searching and filtering interface to search the names and privileges of usergroups.
To select usergroups starting with a specific string, enter the beginning of the name of the group into the field and select .
To select usergroups who have a specific privilege, click
,
select the privilege or privileges you are looking for, and click
.
To filter for read or write access, use the option.
How you should name usergroups depends on the way you manage your SSB users.
Local users: If you use only local users, create or modify your usergroups on the page and add users to the groups on the or the page.
LDAP users and LDAP groups: If you manage your
users from LDAP, and also have LDAP groups that match the way you want
to group your SSB users, create or modify your usergroups on the
page and ensure that the
name of your LDAP group and the SSB usergroup is the same. For
example, to make members of the admins LDAP group
be able to use SSB, create a usergroup called
admins on the page and edit the privileges of the group as
needed.
RADIUS users and local groups: This is the case when you manage users from RADIUS, but you cannot or do not want to create groups in LDAP. Create your local groups on the page, and add your RADIUS users to these groups on the page.
SSB has the following usergroups by default:
![]() |
Warning |
|---|---|
If you use LDAP authentication on the SSB web interface and want to use the default usergroups, you have to create these groups in your LDAP database and assign users to them. For details on using usergroups, see Section 4.4.6.4, How to use usergroups. |
basic-view: View the settings in the menu, including the system logs of SSB. Members of this group can also execute commands on the tab.
basic-write: Edit the settings in the menu. Members of this group can manage SSB as a host.
auth-view: View the names and privileges of the SSB administrators, the configured usergroups, and the authentication settings in the menu. Members of this group can also view the history of configuration changes.
auth-write: Edit authentication settings and manage users and usergroups.
![]() |
Warning |
|---|---|
|
Members of the If a user with write privileges to the menu gives himself new privileges (for example gives himself group membership to a new group), then he has to relogin to the SSB web interface to activate the new privilege. |
search: Browse and download various logs and alerts in the menu.
![]() |
Note |
|---|---|
The |
changelog: View the history of SSB configuration changes in the menu.
report: Browse, create and manage reports, and add statistics-based chapters to the reports in the menu.
![]() |
Note |
|---|---|
To control exactly which statistics-based chapters and reports can
the user include in a report, use the |
policies-view: View the policies and settings in the menu.
policies-write: Edit the policies and settings in the menu.
![]() |
Warning |
|---|---|
Members of this group can make the logs stored on SSB available as a shared network drive. In case of unencrypted logfiles, this may result in access to sensitive data. |
log-view: View the logging settings in the menu.
log-write: Configure logging settings in the menu.
SSB automatically tracks every change of its configuration. To display the history of changes, select . The changes are organized as log messages, and can be browsed and searched using the regular SSB search interface (for details, see Chapter 6, Browsing log messages and SSB reports). The following information is displayed about each modification:
Timestamp: The date of the modification.
Author: Username of the administrator who modified the configuration of SSB.
Page: The menu item that was modified.
Field name: The name of the field or option that was modified.
New value: The new value of the configuration parameter.
Message: The changelog or commit log that the administrator submitted. This field is available only if the option is enabled (see below).
Old value: The old value of the configuration parameter.
To request the administrators to write an explanation to every configuration change, navigate to and select the option.
To restart or shut down SSB, navigate to and click the respective action button. The refers to the slave node of a high availability SSB cluster. For details on high availability clusters, see Section 4.5.2, Managing a high availability SSB cluster.
![]() |
Note |
|---|---|
Web sessions to the SSB interface are persistent and remain open after rebooting SSB, so you do not have to relogin after a reboot. |
The page provides the following information about SSB:
![]() |
Note |
|---|---|
Refer to Procedure 2.2, Installing two SSB units in HA mode of Appendix 2, syslog-ng Store Box Hardware Installation Guide for details on creating a high availability SSB cluster. |
Status: Indicates whether SSB is running in High Availability or Standalone mode.
Node ID: The MAC address of the
HA interface of the node. This address is also
printed on a label on the top cover of the SSB unit.
Node HA state: Indicates whether the SSB node is running in High Availability or Standalone mode.
Node HA UUID: A unique identifier of the node. Only available in High Availability mode.
DRBD status: The status of data stored on SSB.
The status must be Consistent on the active node to
prevent data loss.
RAID status: The status of the RAID device of the node.
The active (master) SSB node is labeled as , this unit receives the incoming log messages and provides the web interface. The SSB unit labeled as is the slave node that is activated if the master node becomes unavailable.
![]() |
Note |
|---|---|
|
For SSB clusters, the ID of the node (the MAC address of its HA interface) sending the message is included in the log messages. |
To activate the other node and disable the currently active node, click .
To reboot both nodes, click . Note that this will automatically reboot the two nodes, but will not result in a takeover.
![]() |
Warning |
|---|---|
Hazard of data loss! Activating the slave node terminates all connections of SSB and might result in data loss. The slave node becomes active after about 60 seconds, during which SSB cannot accept incoming messages. Enable disk-buffering on your syslog-ng clients and relays to prevent data loss in such cases. |
This section explains the possible statuses of the SSB nodes and the DRBD data storage system. SSB displays this information on the page.
![]() |
Note |
|---|---|
If a redundant Heartbeat interface is configured, its status is also displayed in the field. For details on redundant Heartbeat interfaces, see Section 4.5.2.4, Redundant Heartbeat interface status explained and Procedure 4.5.2.3, Configuring redundant Heartbeat interfaces. |
The field indicates whether the SSB nodes recognize each other properly and whether those are configured to operate in high availability mode. The status of the individual SSB nodes is indicated in the field of the each node. The following statuses can occur:
Standalone: There is only one SSB unit
running in standalone mode, or the units have not
been converted to a cluster (the of
both nodes is standalone). Click to enable High Availability mode.
HA: The two SSB nodes are running in High
Availability mode. is
HA on both nodes, and the is the same on both nodes.
Half: High Availability mode is not configured
properly, one node is in standalone, the other
one in HA mode. Connect to the node in
HA mode, and click
to enable High Availability mode.
Broken: The two SSB nodes are running in
High Availability mode. is
HA on both nodes, but the is different. Contact the BalaBit Support Team for
help. For contact details, see Section 5, Contact and support information.
Degraded: SSB was running in high availability mode, but one of the nodes has disappeared (for example broken down, or removed from the network). Power on, reconnect, or repair the missing node.
Degraded Sync: Two SSB units were joined to High Availability mode, and the first-time synchronization of the disks is currently in progress. Wait for the synchronization to complete. Note that in case of large disks with lots of stored data, synchronizing the disks can take several hours.
Split brain: The two nodes lost the connection to each other, with the possibility of both nodes being active (master) for a time.
![]() |
Warning |
|---|---|
Hazard of data loss! In this case, valuable log messages might be available on both SSB nodes, so special care must be taken to avoid data loss. For details on solving this problem, see Procedure 4.5.4.6.2, Recovering from a split brain situation. |
Invalidated: The data on one of the nodes is considered out-of-sync and should be updated with data from the other node. This state usually occurs during the recovery of a split-brain situation when the DRBD is manually invalidated.
Converted: After converting nodes to a cluster (clicking ) or enabling High Availability mode (clicking ) and before rebooting the node(s).
![]() |
Note |
|---|---|
If you experience problems because the nodes of the HA cluster do not find each other during system startup, navigate to and select . That way the IP address of the HA interfaces of the nodes will be fix, which helps if the HA connection between the nodes is slow. |
The field indicates whether the latest data (including SSB configuration, log files, and so on) is available on both SSB nodes. The master node (this node) must always be in status to prevent data loss. Inconsistent status means that the data on the node is not up-to-date, and should be synchronized from the node having the latest data.
The field also indicates the connection between the disk system of the SSB nodes. The following statuses are possible:
Connected: Both nodes are functioning properly.
Invalidated: The data on one of the nodes is considered out-of-sync and should be updated with data from the other node. This state usually occurs during the recovery of a split-brain situation when the DRBD is manually invalidated.
Sync source or Sync target: One node (Sync target) is downloading data from the other node (Sync source).
![]() |
Note |
|---|---|
|
When the two nodes are synchronizing data, it is not possible to reboot or shutdown the master node. If you absolutely must shutdown SSB in such a situation, shutdown the slave node first, and then the master node. When synchronizing data, the progress and the remaining time is displayed in the . |
Split brain: The two nodes lost the connection to each other, with the possibility of both nodes being active (master) for a time.
![]() |
Warning |
|---|---|
Hazard of data loss! In this case, valuable log messages might be available on both SSB nodes, so special care must be taken to avoid data loss. For details on solving this problem, see Procedure 4.5.4.6.2, Recovering from a split brain situation. |
WFConnection: One node is waiting for the other node; the connection between the nodes has not been established yet.
When operating two SSB units in High Availability mode, every incoming
data copied from the master (active) node to the slave (passive) node. Since
synchronizing data can take up significant system-resources, the maximal speed
of the synchronization is limited, by default, to 10
MB/sec. However, this means that synchronizing large amount of
data can take very long time, so it is useful to increase the synchronization
speed in certain situations — for example, when synchronizing the disks
after converting a single node to a high availability cluster.
To change the limit of the DRBD synchronization rate, navigate to , select , and select the desired value.
![]() |
Note |
|---|---|
Setting the sync rate to a high value is not recommended if the load of SSB is very high, because increasing the resources used by the synchronization process may degrade the general performance of SSB. |
4.5.2.3. Procedure – Configuring redundant Heartbeat interfaces
Purpose:
In order to avoid unnecessary takeovers and minimize the chance of split-brain situations, it is possible to configure additional Heartbeat interfaces in SSB. These redundant Heartbeat interfaces are used only to detect that the other node is still available; it is not used to synchronize data between the nodes (only Heartbeat messages are transferred). For example, if the main HA interface breaks down, or is accidentally unplugged and the nodes can still access each other on the redundant HA interface, no takeover occurs, but no data is synchronized to the slave node until the main HA link is restored. Similarly, if connection on the redundant Heartbeat interface is lost, but the main HA connection is available, no takeover occurs.
The redundant Heartbeat interface is a virtual interface that uses an existing interface of the SSB device (for example the external or the management interface). The original MAC address of the interface is displayed at , while the MAC address of the virtual redundant Heartbeat interface is displayed at . The MAC address of the redundant Heartbeat interface is generated in a way that it cannot interfere with the MAC addresses of physical interfaces.
![]() |
Warning |
|---|---|
In case the nodes lose connection on the main HA interface, and after a time the connection is lost on the redundant Heartbeat interfaces as well, the slave node will become active. However, as the master node was active for a time when no data synchronization was possible between the nodes, this results in a split-brain situation which must be resolved before the HA functionality can be restored. For details, see Procedure 4.5.4.6.2, Recovering from a split brain situation. |
To configure a redundant Heartbeat interface, complete the following steps.
Steps:
Navigate to .
Select the interface you want to use as redundant Heartbeat interface (for
example External). Using an interface as a redundant
Heartbeat interface does not affect the original traffic of the
interface.
Enter an IP address into the field of the selected interface. This IP address must be a real IP address that is visible from the other node. The two nodes cannot have the same IP address on their redundant Heartbeat interfaces. Enter the IP address of the gateway into the if needed.
Enter an IP address into the field of the selected interface. This IP address must be a real IP address that is visible from the other node. The two nodes cannot have the same IP address on their redundant Heartbeat interfaces. Enter the IP address of the gateway into the if needed.
Repeat the previous steps to add additional redundant Heartbeat interfaces if needed.
Click .
![]() |
Warning |
|---|---|
For the changes to take effect, you have to restart both nodes. To restart both nodes, click . |
The status of the redundant Heartbeat interfaces is displayed at , and also in the field of the System monitor. The possible status messages are explained below:
NOT USED: There are no redundant Heartbeat interfaces configured.
OK: Normal operation, every redundant Heartbeat interface is working properly.
DEGRADED-WORKING: Two or more redundant Heartbeat interfaces are configured, and at least one of them is functioning properly. This status is displayed also when a new redundant Heartbeat interface has been configured, but the nodes of the SSB cluster has not been restarted yet.
DEGRADED: The connection between the redundant Heartbeat interfaces has been lost. Investigate the problem to restore the connection.
INVALID: An error occurred with the redundant Heartbeat interfaces. Contact the BalaBit Support Team for help. For contact details, see Section 5, Contact and support information.
4.5.2.5. Procedure – Configuring next-hop router monitoring
Purpose:
By default, HA takeover occurs only if the master node stops working or becomes unreachable from the slave node. However, this does not cover the scenario when the master node becomes unaccessible to the outside world (for example its external interface or the router or switch connected to the external interface breaks down) while the slave node would be still accessible (for example because it is connected to a different router).
To address such situations, it is possible to specify IP addresses (usually next hop routers) which are continuously monitored from both the master and the slave nodes using ICMP echo (ping) messages. One such address can be set for every interface; the specified IP addresses must be on the same network segment as the respective interface of SSB. If any of the monitored addresses becomes unreachable from the master node while being reachable from the slave node (in other words, more monitored addresses are accessible from the slave node) than it is assumed that the master node is unreachable and a forced takeover occurs — even if the master node is otherwise functional.
Naturally, if the slave node is not capable of taking over the master node (for example because there is data not yet synchronized from the current master node) no takeover is performed.
To configure a next hop monitoring, complete the following steps.
Steps:
Navigate to .
Select the interface to use for monitoring its next-hop router.
Enter the IP address to monitor from the current master node (for example the IP address of the router or the switch connected to the interface) into the field of the selected interface. This IP address must be a real IP address that is visible from the interface, and must be on the same local network segment.
Enter the IP address to monitor from the current slave node (for example the IP address of the router or the switch connected to the interface) into the field of the selected interface. This IP address must be a real IP address that is visible from the interface, and must be on the same local network segment.
Repeat the previous steps to add IP addresses to be monitored from the other interfaces if needed.
Click .
![]() |
Warning |
|---|---|
For the changes to take effect, you have to restart both nodes. To restart both nodes, click . |
The following sections describe how to keep SSB up to date, and how to install a new license file if needed.
For details on how to upgrade SSB, see Section 4.5.3.1, Updating the SSB firmware.
For details on how to upgrade the firmware of an SSB cluster, see Procedure 4.5.3.1.2, Upgrading both the core and the boot firmware of a high availability system.
For details on how to install a new license file, see Procedure 4.5.3.2, Updating the SSB license.
For details on how to import or export the configuration of SSB, see Procedure 4.5.3.3, Exporting the configuration of SSB.
![]() |
Warning |
|---|---|
Downgrading from a feature release to an earlier (and thus unsupported) feature release, or to the stable release is not supported: this means that once you upgrade a system from a stable release (for example 1.0) to a feature release (for example 1.1), you will have to keep upgrading to the new feature releases until the next stable version release (for example 2.0) is published, or risk using an unsupported product. |
SSB can be updated when a new firmware version is available. To display information about the firmware currently running on SSB, navigate to . The following is displayed:
Core firmware | Boot firmware: The version number
of the firmwares currently running on SSB (for example
2.0).
Build date: The date when the currently running firmware was created.
Updating SSB is described in the following sections.
![]() |
Warning |
|---|---|
|
Before uploading a new firmware image, backup the configuration of SSB. For details, see Procedure 4.5.3.3, Exporting the configuration of SSB. Always read the release notes of the firmware before updating SSB, because the release notes may include special instructions specific to the firmware version. The release notes are available here . |
For details on how to upgrade a standalone SSB unit, complete Procedure 4.5.3.1.1, Updating SSB and managing the firmware.
For details on how to upgrade the firmware of an SSB cluster, complete Procedure 4.5.3.1.2, Upgrading both the core and the boot firmware of a high availability system.
For details on how to revert to an older firmware version (if possible), see Procedure 4.5.3.1.3, Reverting to an older firmware version.
4.5.3.1.1. Procedure – Updating SSB and managing the firmware
Steps:
Visit the BalaBit website and download the latest firmware from here .
Navigate to the page.
To update the internal (core) firmware, select .
To update the external (boot) firmware, select .
For details on the different firmwares, see Section 2.7, Firmware in SSB.
Select the firmware file using the button.
The extension of firmware files is .bin
Click . After uploading, the new firmware is added to the list.
Click
in the column of
the new firmware.
Navigate to and click .
![]() |
Tip |
|---|---|
When SSB boots, it sends a message into the system log that includes the version numbers of both booted firmwares. |
![]() |
Note |
|---|---|
If you experience any problems on the syslog-ng Store Box web interface after performing the upgrade, first empty the cache of your browser, or click the Reload button of your browser while holding the Shift key. |
4.5.3.1.2. Procedure – Upgrading both the core and the boot firmware of a high availability system
Purpose:
If an SSB release requires the upgrading of both the boot firmware and the core (internal) firmware, complete the following steps:
Steps:
Download both the core (internal) and the boot (external) firmware.
Update the core firmware of the SSB using the web interface.
Navigate to and upload the new core firmware.
When the upload is finished, select the option for the new firmware.
![]() |
Warning |
|---|---|
DO NOT REBOOT SSB AFTER UPGRADING THE CORE FIRMWARE. |
Repeat the previous step with the Boot firmware.
Select to restart both nodes.
![]() |
Warning |
|---|---|
Hazard of data loss! As this step terminates all active connections, perform it only during maintenance hours to prevent data loss. |
![]() |
Note |
|---|---|
If you experience any problems on the syslog-ng Store Box web interface after performing the upgrade, empty the cache of your browser, or click the Reload button of your browser while holding the Shift key. |
4.5.3.1.3. Procedure – Reverting to an older firmware version
Purpose:
SSB can store up to five different firmware versions, any of them can
be booted if required. The available firmwares are displayed on the
and
pages. The
list shows the detailed version of each firmware, including the version
number, the revision number, and the build date. The firmware running on
SSB is marked with
in the column. The firmware
that will be run after the next SSB reboot is marked with
in the column.
To boot an older firmware, complete the following steps:
![]() |
Warning |
|---|---|
When upgrading SSB, it is possible that the configuration file is updated as well. In such cases, simply rebooting with the old firmware will not result in a complete downgrade, because the old firmware may not be able to read the new configuration file. If this happens, access the console menu of SSB, and select the option to restore the configuration file to its state before the firmware was upgraded. For details on using the console menu, see Section 4.5.5.1, Using the console menu of SSB. |
![]() |
Warning |
|---|---|
Downgrading from a feature release to an earlier (and thus unsupported) feature release, or to the stable release is not supported: this means that once you upgrade a system from a stable release (for example 1.0) to a feature release (for example 1.1), you will have to keep upgrading to the new feature releases until the next stable version release (for example 2.0) is published, or risk using an unsupported product. |
Steps:
Navigate to .
Select the firmware version to use, and click
in the
column.
Navigate to .
Select the firmware version to use, and click
in the column.
Select to reboot SSB.
If you are running an SSB cluster, select .
4.5.3.2. Procedure – Updating the SSB license
Purpose:
The SSB license must be updated before the existing license expires or when you purchase a new license. Information of the current license of SSB is displayed on the page. The following information is displayed:
Customer: The company permitted to use the
license (for example Example Ltd.).
Serial: The unique serial number of the license.
Host limit: The number of peers SSB accepts log messages from.
SSB gives an automatic alert one week before the license expires. An
alert is sent also when the number of peers exceeds
60% of the number of servers set in the Host
limit parameter of the license.
To update the license, complete the following steps:
![]() |
Warning |
|---|---|
Before uploading a new license, you are recommended to backup the configuration of SSB. For details, see Procedure 4.5.3.3, Exporting the configuration of SSB. |
Steps:
Navigate to .
Click and select the new license file.
Click , then .
To activate the new license, navigate to and click .
4.5.3.3. Procedure – Exporting the configuration of SSB
Purpose:
The configuration of SSB can be exported (for manual archiving, or to migrate it to another SSB unit) from the page. Use the respective action buttons to perform the desired operation.
Steps:
Navigate to .
Select how to encrypt the configuration:
To export the configuration file without encryption, select .
![]() |
Warning |
|---|---|
Exporting the SSB configuration without encyption is not recommended, as it contains sensitive information such as password hashes and private keys. |
To encrypt the configuration file with a simple password, select and enter the password into the and fields.
To encrypt the configuration file with GPG, select . Note that this option uses the same GPG key that is used to encrypt automatic system backups, and is only available if you have uploaded the public part of a GPG key to SSB at . For details, see Procedure 4.3.5.3, Encrypting configuration backups with GPG.
Click .
![]() |
Note |
|---|---|
|
The exported file is a gzip-compressed archive. On Windows platforms, it can be decompressed with common archive managers such as the free 7-Zip tool. The name of the exported file is
|
4.5.3.4. Procedure – Importing the configuration of SSB
Purpose:
The configuration of SSB can be imported from the page. Use the respective action buttons to perform the desired operation.
![]() |
Warning |
|---|---|
It is not possible to import the configuration of an older major release (for example, 1.0) into a newer release (for example, 2.0). |
Steps:
Navigate to .
Click and select the configuration file to import.
Enter the password into the field and click .
![]() |
Warning |
|---|---|
|
When importing an older configuration, it is possible that there are logspaces on SSB that were created after the backing up of the old configuration. In such case, the new logspaces are not lost, but are deactivated and not configured. To make them accessible again, you have to:
|
This section describes the tools to detect networking problems, and also how to collect core files and view the system logs of SSB.
4.5.4.1. Procedure – Network troubleshooting
Purpose:
The menu provides a number of diagnostic commands to resolve networking issues. Logfiles of SSB can also be displayed here — for details, see Procedure 4.5.4.3, Viewing logs on SSB.
The following commands are available:
ping: Sends a simple message to the specified host to test network connectivity.
traceroute: Sends a simple message from SSB to the specified host and displays all hosts on the path of the message. It is used to trace the path the message travels between the hosts.
connect: Attempts to connect the specified host using the specified port. It is used to test the availability or status of an application on the target host.
To execute one of the above commands, complete the following steps:
Steps:
Navigate to .
Enter the IP address or the hostname of the target host into the field of the respective command. For the Connect command, enter the target port into the field.
Click the respective action button to execute the command.
Check the results in the popup window. Log files are displayed in a separate browser window.
SSB automatically generates core files if an important software component (for example syslog-ng, or the indexer) of the system crashes for some reason. These core files can be of great help to the BalaBit Support Team to identify problems. When a core file is generated, the SSB administrator receives an alerting e-mail, and an SNMP trap is generated if alerting is properly configured (for details, see Section 4.3.4, Configuring system monitoring on SSB and Section 4.3.3, SNMP and e-mail alerts). To display a list of alerts if monitoring is not configured, navigate to .
To list and download the generated core files, navigate to .
By default, core files are deleted after 14 days. To change the deletion timeframe, navigate to .
![]() |
Warning |
|---|---|
In the current version of SSB, core files are automatically deleted if the system is rebooted. |
4.5.4.3. Procedure – Viewing logs on SSB
Purpose:
The menu provides an interface to view the logs generated by the various components of SSB. For details on how to browse the log messages received by SSB from its peers, see Chapter 6, Browsing log messages and SSB reports.
![]() |
Note |
|---|---|
Because of performance reasons, log files larger than 2 Megabytes are not displayed in the web interface. To access these logs, download the file instead. |
Steps:
Navigate to .
Use the roll-down menu to select the message type.
SSB: Logs of the SSB web interface.
syslog: All system logs of the SSB host.
syslog-ng: Internal log messages of the built-in syslog-ng server. These logs do not contain messages received from the peers.
To download the log file, click .
To follow the current log messages real-time, click .
To display the log messages, click .
To display log messages of the last seven days, select the desired day from the field and click .
![]() |
Tip |
|---|---|
|
To display only the messages of a selected host or process, enter the name of the host or process into the field. The field acts as a generic filter: enter a keyword or a regular expression to display only messages that contain the keyword or match the expression. |
4.5.4.4. Procedure – Collecting logs and system information for error reporting
Purpose:
To track down support requests, the BalaBit Support Team might request you to collect system-state and debugging information. This information is collected automatically, and contains log files, the configuration file of SSB, and various system-statistics.
![]() |
Note |
|---|---|
|
Sensitive data like key files and passwords are automatically removed from the files. The option is not related to the verbosity of log messages: it adds the commands executed by the SSB web interface to the log. |
To collect system-state information, navigate to and click , then save the created zip file. The
name of the file uses the
debug_info-<hostname>YYYYMMDDHHMM
format.
To collect information for a specific error, complete the following steps:
Steps:
Navigate to .
Click .
![]() |
Note |
|---|---|
Starting debug mode increases the log level of SSB, and might cause performance problems if the system is under a high load. |
Reproduce the event that causes the error, for example send a log message from a client.
Click .
Click and save the
created zip file. The name of the file uses the
debug_info-<hostname>YYYYMMDDHHMM
format.
Attach the file to your support ticket.
SSB displays various statistics and status history of system data and performance on the dashboard at . The dashboard is essentially an extension of the system monitor: the system monitor displays only the current values, while the dashboard creates graphs and statistics of the system parameters.
The dashboard consists of different modules. Every module displays the history of a system parameter for the current day. To display the graph for a longer period (last week, last month, or last year), select the , , or options, respectively. Hovering the mouse over a module enlarges the graph and displays the color code used on the graph.
To display statistics of a module as a table for the selected period, click on the graph.
The following modules are displayed on the dashboard of SSB:
syslog-ng: syslog-ng statistics about the received, processed, and dropped messages. See also Procedure 4.5.4.5.1, Displaying custom syslog-ng statistics.
Connected syslog peers: A list of hosts that actively send messages to SSB.
syslog-ng statistics: The rate of incoming messages in messages/second. Note that the values displayed are an average values calculated for the last fifteen minutes.
Logspaces: The size of the logspaces. Note that these values are updated only in every ten minutes.
Memory: The memory used by the system.
Disk: Filesystem usage for the different partitions.
CPU: CPU usage.
Network connections: Number of network connections.
External interface: Traffic on the external interface.
Management interface: Traffic on the management interface.
Load average: Average load of the system.
Processes: The number of running processes.
For details about setting the statistics collection options, see Section 6.7, Statistics collection options
4.5.4.5.1. Procedure – Displaying custom syslog-ng statistics
Purpose:
To display statistics of a specific source, destination, or host, complete the following procedure:
Steps:
Navigate to .
To display the statistics of a destination file, select
destination from the field, and enter the name of the destination
into the field. Destinations name all
start with the ds characters.
To display the statistics of a particular host, select
source from the field, and enter the hostname or IP address of
the host into the field.
Select the time period to display from the field.
Click .
The following sections help you to solve problems related to high availability clusters.
For details on how to recover a cluster that has broken down, see Procedure 4.5.4.6.1, Recovering SSB if both nodes broke down.
For details on how to resolve a split-bran situation when the nodes of the cluster were simultaneously active for a time, see Procedure 4.5.4.6.2, Recovering from a split brain situation.
4.5.4.6.1. Procedure – Recovering SSB if both nodes broke down
Purpose:
It can happen that both nodes break down simultaneously (for example because of a power failure), or the slave node breaks down before the original master node recovers. To properly recover SSB, complete the following steps:
![]() |
Note |
|---|---|
As of SSB version
1.1.1, when both nodes of a cluster boot up in parallel,
the node with the |
Steps:
Power off both nodes by pressing and releasing the power button.
![]() |
Warning |
|---|---|
Hazard of data loss! If SSB does not shut off, press and hold the power button for approximately 4 seconds. This method terminates connections passing SSB and might result in data loss. |
Power on the node that was the master before SSB broke down. Consult the system logs to find out which node was the master before the incident: when a node boots as master, or when a takeover occurs, SSB sends a log message identifying the master node.
![]() |
Tip |
|---|---|
Configure remote logging to send the log messages of SSB to a remote server where the messages are available even if the logs stored on SSB become unaccessible. For details on configuring remote logging, see Section 4.3.3, SNMP and e-mail alerts. |
Wait until this node finishes the boot process.
Power on the other node.
4.5.4.6.2. Procedure – Recovering from a split brain situation
Purpose:
A split brain situation is caused by a temporary failure of the network link between the cluster nodes, resulting in both nodes switching to the active (master) role while disconnected. This might cause that new data (for example log messages) is created on both nodes without being replicated to the other node. Thus, it is likely in this situation that two diverging sets of data have been created, which cannot be trivially merged.
![]() |
Warning |
|---|---|
Hazard of data loss! In a split brain situation, valuable log messages might be available on both SSB nodes, so special care must be taken to avoid data loss. |
The nodes of the SSB cluster automatically recognize the split brain
situation once the connection between the nodes is reestablished, and do not
perform any data synchronization to prevent data loss. When a split brain
situation is detected, it is visible on the SSB system monitor, in the
system logs (Split-Brain detected, dropping
connection!), and SSB sends an alert as well.
To recover an SSB cluster from a split brain situation, complete the following steps.
![]() |
Warning |
|---|---|
Do NOT shut down the nodes. |
Steps:
Temporarily disable all incoming traffic. Navigate to and click .
If the web interface is not accessible or unstable, complete the following steps:
Login to SSB as root locally (or
remotely using SSH) to access the Console menu.
Select , and issue the syslog-ng stop command.
Issue the date and check the system date and time. If it is incorrect (for example it displays 2000 January), replace the system battery. For details, see the hardware manual of the appliance.
Repeat the above steps on the other SSB node.
Optional step for data recovery: Check the log spaces saved on the SSB nodes.
Login to the node from a local console.
Select and enter cd /opt/ssb/var/logspace/. The log spaces are located under this directory.
Find which files were modified since the split brain situation
occurred. Use the find . -mtime -n" to find the
files modified during the last n*24
hours, or the find . -mmin -n to find the files
modified during the last n
minutes.
Decide which node should be the master node from now on, then perform the following steps on the to-be-slave node:
Login to the node from a local console.
Optional step for data recovery: Backup the log messages that were modified since the split brain situation occurred.
![]() |
Warning |
|---|---|
This data will be deleted from the SSB node when the split-brain situation is resolved There is no way to import this data back into the database of SSB; it will be available only for offline use. |
Optional step for data recovery: Type exit to return to the console menu.
Select . If the to-be-slave node is not already the slave node, fail over the cluster to the other node manually by issuing the /usr/lib/heartbeat/hb_standby command.
Stop the core firmware. Issue the /etc/init.d/boot-xcb stop command.
Invalidate the DRBD. Issue the following commands:
/sbin/drbdsetup /dev/drbd0 disconnect
/sbin/drbdsetup /dev/drbd0 invalidate.
Reboot the to-be-slave node.
Reboot the to-be-master node. The SSB cluster will be now functional, accepting traffic as before.
After both nodes reboot, the cluster should be in state, the master being and the slave being . The master node should start synchronizing its data to the slave node. Depending on the amount of data, this can take a long time. To adjust the speed of the synchronization, see Section 4.5.2.2, Adjusting the synchronization speed of DRBD.
This section describes how to use the console menu of SSB, how to enable remote SSH access to SSB, and how to change the root password from the web interface.
![]() |
Tip |
|---|---|
If you need to find the SSB appliance in the server room, navigate to and click . This will blink the LEDs of hard disk trays on the front of the SSB appliance in red. Note that this is available only for syslog-ng Store Box SSB5000, and SSB10000. |
Connecting to the syslog-ng Store Box locally or remotely using Secure Shell (SSH) allows you to access the console menu of SSB. The console menu provides access to the most basic configuration and management settings of SSB. It is mainly used for troubleshooting purposes; the primary interface of SSB is the web interface.
The console menu is accessible to the root user using the password
set during completing the Welcome Wizard.
The console menu provides allows you to perform the following actions:
Select the active core and boot firmwares, and delete unneeded firmwares. Accessing the firmware management is useful if after an update the new firmware does not operate properly and the web interface is not available to activate the previous firmware.
Start backup processes.
Change the passwords of the root and
admin users.
Access the local shells of the core and boot firmwares. This is usually not recommended and only required in certain troubleshooting situations.
Access the network-troubleshooting functions and display the available log files.
Reboot and shutdown the system.
Enable and disable sealed mode. For details, see Section 4.5.6, Sealed mode.
Revert the configuration file. For details, see Procedure 4.5.3.1.3, Reverting to an older firmware version.
Set the IP address of the HA interface.
![]() |
Note |
|---|---|
Note that logging in to the console menu automatically locks the SSB interface, meaning that users cannot access the web interface while the console menu is used. The console menu can be accessed only if there are no users accessing the web interface. The connection of web-interface users can be terminated to force access to the console menu. |
4.5.5.2. Procedure – Enabling SSH access to the SSB host
Purpose:
Exclusively for troubleshooting purposes, you can access the SSB host using SSH. Completing the Welcome Wizard automatically disables SSH access. To enable it again, complete the following steps:
![]() |
Warning |
|---|---|
Accessing the SSB host directly using SSH is not recommended nor supported, except for troubleshooting purposes. In such case, the BalaBit Support Team will give you exact instructions on what to do to solve the problem. |
Enabling the SSH server allows you to connect remotely to the SSB host
and login using the root user. The password of the root
user is the one you had to provide in the Welcome wizard. For details on how to
change the root password from the web interface, see Procedure 4.5.5.3, Changing the root password of SSB
Steps:
Navigate to .
Select the option.
![]() |
Note |
|---|---|
Remote SSH access is automatically disabled if Sealed mode is enabled. For details, see Section 4.5.6, Sealed mode. |
Set the authentication method for the remote SSH connections.
To enable password-based authentication, select the option.
To enable public-key authentication, click
in the
field, click
and
upload the private keys of the users who can access and manage
SSB remotely via SSH.
Click .
The SSH server of SSB accepts connections only on the management interface if the management interface is configured. If the management interface is not configured, the SSH server accepts connections on the external interface. If possible, avoid enabling the SSH server of SSB when the management interface is not configured. For details on enabling the management connection, see Procedure 4.3.1.1, Configuring the management interface.
4.5.5.3. Procedure – Changing the root password of SSB
Purpose:
The root password is required to access SSB locally, or remotely via an
SSH connection. Note that the password of the root user
can be changed from the console menu as well. For details, see Section 4.5.5, Accessing the SSB console.
Steps:
Navigate to .
Enter the new password into the and fields.
![]() |
Note |
|---|---|
SSB passwords can contain the following special characters:
|
Click .
When sealed mode is enabled, the following settings are automatically applied:
SSB cannot be accessed remotely via SSH for maintenance;
the root password of SSB cannot be changed in sealed mode;
Sealed mode can be disabled only from the local console. For details, see Procedure 4.5.6.1, Disabling sealed mode.
To enable sealed mode use one of the following methods:
Select the option during the Welcome Wizard.
Select on the SSB web interface.
Login to SSB as root using SSH or the local console, and select from the console menu.
SSB 2 F1 includes a dedicated out-of-band management interface conforming to the Intelligent Platform Management Interface (IPMI) v2.0 standards. The IPMI interface allows system administrators to monitor the system health of SSB and to manage the computer events remotely, independently of the operating system of SSB. SSB is accessible using the IPMI interface only if the IPMI interface is physically connected to the network.
For details on connecting the IPMI interface, see Procedure 2.1, Installing the SSB hardware.
For details on configuring and using the IPMI interface to remotely monitor and manage SSB, see the following document:
The Onboard BMC/IPMI User's Guide, available at the BalaBit Hardware Documentation page.
Basic information about the IPMI interface is available also on the SSB web interface on the page. The following information is displayed:
IPMI default gateway IP: The address of the default gateway configured for the IPMI interface.
Hardware serial number: The unique serial number of the appliance.
IPMI IP address: The IP address of the IPMI interface.
IPMI subnet mask: The subnet mask of the IPMI interface.
IPMI IP address source: Shows how the IPMI interface receives its IP address: dynamically from a DHCP server, or it uses a fixed static address.
![]() |
Tip |
|---|---|
If you need to find the SSB appliance in the server room, navigate to and click . This will blink the LEDs of hard disk trays on the front of the SSB appliance in red. Note that this is available only for syslog-ng Store Box SSB5000, and SSB10000. |
SSB uses a number of certificates for different tasks that can be managed from the menu.
The following certificates can be modified here:
CA certificate: The certificate of the internal Certificate Authority of SSB. This CA has a self-signed certificate and is used to sign the other certificates generated on SSB, for example the certificate of the web interface (see Server certificate) and the internal Timestamping Authority (TSA certificate).
Server certificate: The certificate of the SSB web interface, used to encrypt the communication between SSB and the administrators.
![]() |
Note |
|---|---|
If this certificate is changed, the browser of SSB users will display a warning stating that the certificate of the site has changed. |
TSA certificate: The certificate of the internal Timestamping Authority that provides the timestamps used when creating encrypted logstores.
For every certificate, the distinguished name (DN) of the X.509 certificate and the fingerprint of the private key is displayed. To display the entire certificate click on the DN; to display the public part of the private key, click on the fingerprint. It is not possible to download the private key itself from the SSB web interface, but the certificate can be downloaded in different formats (for example PEM, OpenSSH, Tectia).
![]() |
Note |
|---|---|
Other parts of SSB may use additional certificates that are not managed here. |
To change a certificate, you can generate new certificates on SSB, or you can upload certificates generated using an external PKI.
To generate certificates and keys on SSB, complete Procedure 4.5.8.1, Generating certificates for SSB.
To upload certificates and keys created with an external PKI, complete Procedure 4.5.8.2, Uploading external certificates to SSB.
![]() |
Note |
|---|---|
Generate certificates using your own PKI solution and upload them to SSB whenever possible. Certificates generated on SSB cannot be revoked, and can become a security risk if they are somehow compromised. |
4.5.8.1. Procedure – Generating certificates for SSB
Steps:
Navigate to .
Fill the fields of the new certificate:
Country: Select the country where SSB is located (for example HU - Hungary).
Locality: The city where SSB is located (for example Budapest).
Organization: The company who owns SSB (for example Example Inc.).
Organization unit: The division of the company who owns SSB (for example IT Security Department).
State or Province: The state or province where SSB is located.
To create a new certificate for the SSB web interface, select .
To create a new certificate for the Timestamping Authority, select .
To create a new certificate for the internal Certificate Authority of SSB, select . Note that in this case new certificates are created automatically for the server and TSA certificates as well.
![]() |
Note |
|---|---|
When generating new certificates, the server and TSA certificates are signed using the certificate of the CA. If you have uploaded an external CA certificate, it will be used to create the new server and TSA certificates. |
Click .
4.5.8.2. Procedure – Uploading external certificates to SSB
Steps:
Navigate to .
To upload a new certificate, click
next to the certificate you
want to modify. A popup window is displayed.
Select , select the file containing the certificate, and click . Alternatively, you can also copy-paste the certificate into the field and click .
To upload the private key corresponding to the certificate, click the
icon next to the private key you want to modify. A popup window
is displayed.
Select , select the file containing the certificate, and click . Alternatively, you can also copy-paste the certificate into the field and click .
SSB can use a list of host and network addresses at a number of places, for example for limiting the client that can send log messages to a log source, or the hosts that can access shared log spaces.
For details on how to create a new hostlist, see Procedure 4.5.9.1, Creating hostlists.
For details on how to import hostlists from a file, see Procedure 4.5.9.2, Importing hostlists from files.
4.5.9.1. Procedure – Creating hostlists
Purpose:
To create a new hostlist, complete the following steps.
Steps:
Navigate to and select
.
Enter a name for the hostlist (for example
servers).
Enter the IP address of the permitted host into the field. You can also enter a network address in the
IP address/netmask format (for example
192.168.1.0/24). To add more addresses, click
and repeat this step.
To add hosts that are excluded from the list, enter the IP address of the denied host into the field.
![]() |
Tip |
|---|---|
To add every address except for a few specific hosts or networks to
the list, add the |
Click .
4.5.9.2. Procedure – Importing hostlists from files
Purpose:
To import hostlists from a text file, complete the following steps.
Steps:
Create a plain text file containing the hostlist policies and IP addresses to import. Every line of the file will add an IP address or network to a policy. Use the following format:
name_of_the_policy;match or
ignore;IP address
For example, a policy that ignores the 192.168.5.5
IP address and another one that matches on the
10.70.0.0/24 subnet, use:
policy1;ignore;192.168.5.5 policy2;match;10.70.0.0/24
To add multiple addresses or subnets to the same policy, list every address or subnet in a separate line, for example:
policy1;ignore;192.168.7.5 policy1;ignore;192.168.5.5 policy1;match;10.70.0.0/24
Navigate to and select the text file containing the hostlist policies to import.
If you are updating existing policies and want to add new addresses to them, select .
If you are updating existing policies and want to replace the existing addresses with the ones in the text file, select .
Click , then .
SAN volumes can be managed using their own dedicated applications, for example the Sun Common Array Manager (CAM) in case of the Sun StorageTek modules. If you create new volumes on your SAN module, select to make these volumes available from SSB.
![]() |
Warning |
|---|---|
Ensure that the LUN numbers assigned to the volume mappings of the storage are between 1 and 30 (including 1 and 30). Do NOT use the 0 or the 31 LUN, because SSB will not be able to access the volumes. |
This chapter discusses how you can configure the syslog-ng server of the syslog-ng Store Box. In particular, the following topics will be discussed:
For details on how to configure SSB to receive messages from remote hosts — see Section 5.1, Configuring message sources.
For details on how to configure store log messages locally on SSB into encrypted logstores or plain text files — see Section 5.2, Storing messages on SSB.
For details on how to forward log messages to an external server (for example a log analyzing engine) or to a remote SQL database — see Section 5.3, Forwarding messages from SSB.
For details on how to route log messages to their intended destinations — see Section 5.4, Managing log paths.
For details on how to set the global options of the syslog-ng server — see Section 5.5, Configuring syslog-ng options.
For details on how to access the logfiles using shared network drives — see Section 5.2.6, Accessing log files across the network.
SSB receives log messages from remote hosts via sources. A number of sources are available by default, but you can also create new sources. Apart from the syslog protocols, SSB can also receive messages via the SNMP protocol, and convert these messages to syslog messages.
For details on using the built-in message sources of SSB, see Section 5.1.1, Default message sources in SSB.
For details on receiving SNMP messages, see Procedure 5.1.2, Receiving SNMP messages.
For details on how to create new message sources, see Procedure 5.1.3, Creating message sources in SSB.
SSB automatically accepts messages from the following built-in sources:
legacy: Accepts UDP messages using the legacy BSD-syslog protocol on the port 514.
tcp: Accepts TCP messages using the IETF-syslog protocol on port 514.
tls: Accepts TLS-encrypted messages using the IETF-syslog protocol on port 515. Mutual authentication is required: the client must show a (not necessarily valid) certificate; SSB sends the certificate created with the Welcome Wizard.
For the details of the various settings, see Procedure 5.1.3, Creating message sources in SSB.
![]() |
Note |
|---|---|
All default sources have name resolution enabled. |
5.1.2. Procedure – Receiving SNMP messages
Purpose:
SSB can receive SNMP messages using the SNMPv2c protocol and convert these messages to syslog messages. SNMP messages are received using a special SNMP source that can be used in log paths like any other source. To configure receiving SNMP messages, complete the following steps:
Steps:
Navigate to .
Ensure that the option is enabled.
The default community of the SNMP messages is public.
Modify the field if your hosts use a different
community.
![]() |
Note |
|---|---|
SSB can receive messages only from a single community. |
To limit which hosts can send SNMP messages to SSB, create a hostlist policy, add the permitted hosts to the policy, and select the policy from the field. For details on creating hostlists, see Section 4.5.9, Creating hostlist policies.
To limit the rate of messages a host can send to SSB, enter the maximum
number of packets (not messages) that SSB is allowed to accept from a
single host into the field. (This parameter sets
the hashlimit parameter of the
iptables packet filter that is applied to the
source.)
![]() |
Warning |
|---|---|
When rate limiting is enabled, and a host sends a large number of messages, SSB processes only the amount set in the field. Any additional messages are dropped, and most probably lost. |
To use name resolution for SNMP messages, enable the option.
Click .
5.1.3. Procedure – Creating message sources in SSB
Purpose:
To create a custom message source, complete the following steps.
Steps:
Navigate to and click
.
Enter a name for the source into the top field. Use descriptive names that help you to identify the source easily.
Select the interface of IP alias where SSB will receive the messages from the field.
Enter the port number where SSB should accept the messages (for example
1999).
If the information sent by the hosts to this source can be trusted, enable the
option. SSB keeps the timestamps and the
hostname of the messages sent by trusted clients. This corresponds to enabling
the keep_timestamp() and
keep_hostname() syslog-ng options for the
source.
In the field, select the networking protocol
(UDP, TCP, or
TLS) that your clients use to transfer the messages
to SSB.
When using TCP or TLS, you can set the maximum number of parallel connections
in the field. This option corresponds to
the max_connections() syslog-ng parameter.
When using TLS, SSB displays a certificate to the client. This certificate can be set at (for details, see Procedure 5.5.4, Setting the certificates used in TLS-encrypted log transport). Optionally, SSB can perform mutual authentication and request and verify the certificate of the remote host (peer). Select the verification method to use from the field.
None: Do not request a certificate from the remote host, and accept any certificate if the host sends one.
Optional trusted: If the remote host sends a certificate, SSB checks if it is valid (not expired) and that the Common Name of the certificate contains the domain name or the IP address of the host. If these checks fail, SSB rejects the connection. However, SSB accepts the connection if the host does not send a certificate.
Optional untrusted:Accept any certificate shown by the remote host. Note that the host must show a certificate.
Required trusted: Verify the certificate of the remote host. Only valid certificates signed by a trusted certificate authority are accepted. See Procedure 4.5.8.2, Uploading external certificates to SSB for details on importing CA certificates. Note that the Common Name of the certificate must contain the domain name or the IP address of the host.
Request untrusted: SSB requests a certificate from the remote host, and rejects the connection if no certificate is received; if the certificate is not valid (expired); or if the Common Name of the certificate does not contain the domain name or the IP address of the host.
![]() |
Warning |
|---|---|
UDP is highly unreliable protocol, when using UDP, a large number of messages may be lost without any warning. Use TCP ot TLS whenever possible. |
Select the syslog protocol used by the clients from the field.
If the clients use the legacy BSD-syslog protocol (RFC3164), select . This protocol is supported by most devices and applications capable to send syslog messages.
If the clients use the new IETF-syslog protocol (for example the
clients are syslog-ng 3.0 applications that use the
syslog driver, or other drivers with the
flags(syslog-protocol) option), select
.
Set the character and options of the incoming messages if needed.
Select the option if you wish to store the full domain name of the sender host.
Select the name resolving method to use from the field.
To read only a set number of messages from the source in order to avoid
overloading SSB, maximize the number of read messages on the field. (This parameter corresponds to the
log_fetch_limit() source option of syslog-ng).
To accept messages only from selected hosts, create a hostlist and select it in the field. For details on creating hostlists, see Section 4.5.9, Creating hostlist policies.
Click .
![]() |
Note |
|---|---|
Note that in order to actually store the messages arriving to this source, you have to include this source in a log path. For details, see Section 5.4, Managing log paths. |
SSB stores log messages in binary or plain-text log files called (log) spaces.
These local destinations correspond to the logstore() and
file() destinations of syslog-ng. Log spaces are stored
locally on the hard disk of SSB, or on a SAN volume.
![]() |
Note |
|---|---|
Only the following edition of SSB can be connected to SAN devices: syslog-ng Store Box SANConnect. |
For details on which logspaces are created by default, see Section 5.2.1, Default logspaces in SSB.
For notes and other important information on using encrypted log files (logstores), see Section 5.2.3, Using logstores.
For details on how to create additional log spaces, see Section 5.2.4, Creating custom message spaces in SSB.
For details on managing logspaces, see Section 5.2.5, Managing log spaces.
For details on how to make the log files accessible remotely as a network drive, see Section 5.2.6, Accessing log files across the network.
SSB has the following log spaces by default. Any incoming message is stored in these logspaces.
![]() |
Warning |
|---|---|
|
The default logspaces are not available if the SAN storage support is enabled in SSB. The following edition of SSB has SAN storage support: syslog-ng Store Box SANConnect. This edition of SSB can store log messages on the SAN volumes, and not directly on the hard disk of SSB. |
local: An unencrypted, binary logspace for storing the log messages of SSB.
center: An unencrypted, binary logspace for storing the log messages sent by the clients.
Navigate to and select the desired logspace.
The indexer saves the indexes for the fields that are selected and makes them searchable. Indexing fields consumes disk space and processing power.
Enter the maximum amount of memory the indexer can use for the current logspace in the field.
Select the desired fields to be indexed in the . The following fields can be indexed: , , , , , , , . For the field, select to index all Name/value fields or enter the names to be indexed in the field as comma-separated names. If the indexing of the field is enabled, the current are displayed. By default, all indexers are selected.
![]() |
Note |
|---|---|
At least one field must be selected. |
This section contains important information about using logstore files for storing log messages, and describes the current limitations of the technology. These limitations will be addressed in future versions of SSB.
In SSB version 1.0.x, it was not possible to browse the log messages stored in encrypted logstores from the SSB web interface. This problem has been addressed in SSB 1.1; for details, see Section 6.3.4, Browsing encrypted log spaces.
Indexing logstore files is currently limited. The indexer can handle only
one file from a logstore for every day (SSB automatically starts a new
log file for every day, this corresponds to using the
$DAY macro of syslog-ng). However, if you use a
filename template that separates log messages based on the sender host or
application, or if you use a custom template that uses a finer time-based
macro (for example $HOUR), then currently only the
first file for the day is indexed.
Logstore files consist of chunks. In rare cases, if the syslog-ng application running on SSB crashes for some reason, it is possible that a chunk becomes broken: it contains log messages, but the chunk was not finished completely. Messages in broken chunks are safely stored in the logstore file, they are not lost, but currently it is not possible to retrieve or display them. This applies only to the broken chunk; the rest of the logstore file is unaffected.
Similarly, if the indexer application crashes for some reason, it may be possible that some parts of a logstore file are not indexed, and therefore the messages from this part of the file do not appear in search results. This does not mean that the messages are lost. Currently it is not possible to reindex a file.
These limitations will be addressed in future versions of SSB.
To access logstore files, you can either:
access the logstores using a network share —: for details, see Section 5.2.6, Accessing log files across the network(recommended), or
login to SSB locally or remotely using SSH.
To display the contents of a logstore file, use the logcat command supplied with syslog-ng, for example logcat /var/log/messages.lgs. To display the contents of encrypted log files, specify the private key of the certificate used to encrypt the file, for example logcat -k private.key /var/log/messages.lgs. The contents of the file are sent to the standard output, so it is possible to use grep and other tools to find particular log messages, for example logcat /var/log/messages.lgs |grep 192.168.1.1.
Every record that is stored in the logstore has a unique record ID. The logcat application can quickly jump to a specified record using the -- seek option.
For files that are in use by syslog-ng, the last chunk that is open cannot be
read. Chunks are closed when their size reaches the limit set in the
chunk_size parameter, or when the time limit set in
the chunk_time parameter expires and no new message
arrives.
When the logstore file is encrypted, a hash is also generated for every chunk
to verify the integrity of the chunk. The hashes of the chunks are chained
together to prevent injecting chunks into the logstore file. The encryption
algorithm used is aes128 in CBC mode, the hashing (HMAC)
algorithm is hmac-sha1.
![]() |
Warning |
|---|---|
If the syslog-ng Premium Edition application or the computer crashes, an unclosed chunk remains at the end of the file. This chunk is marked as broken, its data stays there but is not shown by logcat. |
To create a custom log space, complete one of the following procedures:
Store the log messages in binary logstore files, complete Procedure 5.2.4.1, Creating a new logstore.
Store the log messages in traditional plain-text files, complete Procedure 5.2.4.2, Creating a new text logspace.
5.2.4.1. Procedure – Creating a new logstore
Steps:
Navigate to and click
.
Enter a name for the log space into the top field. Use descriptive names that help you to identify the source easily. Note that the name of the logspace must begin with a number or a letter.
Select from the field.
To encrypt the log files using public-key encryption, click
in
the field. A popup window is
displayed.
Click , select the certificate of the you want to use to encrypt the log files, then click . Alternatively, you can paste the certificate into the field and click .
![]() |
Note |
|---|---|
To view encrypted log messages, you will need the private key of this certificate. For details on browsing encrypted logstores online on the SSB web interface, see Section 6.3.4, Browsing encrypted log spaces. Encrypted log files can be displayed using the logcat command-line tool as well. The logcat application is currently available only for UNIX-based systems. |
By default, SSB requests a timestamp every ten minutes from the internal Timestamping Authority. Adjust the frequency of timestamping requests in the field if needed. For details on how to request timestamps from an external provider, see Section 5.5.2, Timestamping configuration on SSB.
To automatically index the logstore files, select the option of the field.
By default, the indexer uses the following delimiter characters to
separate the message into words (tokens):
:&~?![]=,;()'". If your messages contain
segments that include one of these delimiters, and you want to search for
these segments as a whole, remove the delimiter from the list. For example,
if your log messages contain MAC addresses, and you want to be able to
search for messages that contain a particular MAC address, delete the colon
(:) character from the list of delimiters.
Otherwise, the indexer will separate the MAC address into several tokens.
Logstore files are compressed by default. If you do not want to use compression, uncheck the option.
Select how to organize the log files of this log space from the Filename template field.
To save every message received during a day into a single file, select .
To create a separate log file for every peer (IP address or hostname) that
sends messages, select the option. This
option corresponds to using the $HOST macro of
syslog-ng.
To create a separate log file for every application that sends messages,
select the option. This option
corresponds to using the $PROGRAM macro of
syslog-ng.
To create a separate log file for every application of every peer (IP
address or hostname) that sends messages, select option. This option corresponds to using the
$HOST-$PROGRAM macros of syslog-ng.
To specify a custom template for naming the log files, select the Custom option and enter the template into the appearing Template field. For details on using filename templates, see The syslog-ng 3.0 Administrator Guide.
To create automatic daily backups of the log space to a remote server, create a backup policy and select it from the Backup policy field. For details on creating backup policies, see Section 4.3.5, Data and configuration archiving and backups.
To archive the log space automatically daily, create an archiving policy and select it from the Archive/Cleanup policy field. For details on creating archiving policies, see Section 4.3.5, Data and configuration archiving and backups.
![]() |
Warning |
|---|---|
Use archiving and cleanup policies to remove older logfiles from SSB, otherwise the hard disk of SSB may become full. |
To make the log files of this log space available via the network, create a sharing policy and select it from the Sharing policy field. For details on creating sharing policies, see Section 5.2.6, Accessing log files across the network.
If you are using a SAN storage (available for syslog-ng Store Box SANConnect) select the storage volume that will store the messages. Note that specifying a volume is mandatory for these SSB editions, as they do not store logs on their local hard disk. Connections to SAN devices can be set on .
![]() |
Note |
|---|---|
When modifying an existing log space, assigning a new volume to the log space does neither delete nor copy the messages from the old volume. |
Set a size for the log space in the Warning size field: SSB will send an alert if the size of this log space exceeds the limit.
![]() |
Warning |
|---|---|
Make sure that the Logspace exceeded warning size alert is enabled in page, and that the mail and SNMP settings of the page are correct. Otherwise, you will not receive any alert when the log space exceeds the size limit. For details on alerting and monitoring, see also Section 4.3.4, Configuring system monitoring on SSB. |
By default, members of the search group can view the stored
messages online. Use the Access control option to control which
usergroups can access the log space. For details, see also Section 4.4.6, Managing user rights and usergroups.
Click .
5.2.4.2. Procedure – Creating a new text logspace
Steps:
Navigate to and click
.
Enter a name for the log space into the top field. Use descriptive names that help you to identify the source easily.
Select from the field.
Select the template to use for the messages. The following templates are available:
Legacy: template("$DATE $HOST $MSGHDR$MSG\n")
ISO date: template("$ISODATE $HOST $MSGHDR$MSG\n")
Extended: template("$ISODATE $HOST $MSGHDR$MSG\n")
Custom: Specify a custom syslog-ng template in the appearing field. For details on using templates, see The syslog-ng 3.0 Administrator Guide.
Adjust the number of messages that are stored in the memory in the
field. This parameter corresponds
to the log_fifo_size() parameter of syslog-ng.
Select how to organize the log files of this log space from the Filename template field.
To save every message received during a day into a single file, select .
To create a separate log file for every peer (IP address or hostname) that
sends messages, select the option. This
option corresponds to using the $HOST macro of
syslog-ng.
To create a separate log file for every application that sends messages,
select the option. This option
corresponds to using the $PROGRAM macro of
syslog-ng.
To create a separate log file for every application of every peer (IP
address or hostname) that sends messages, select option. This option corresponds to using the
$HOST-$PROGRAM macros of syslog-ng.
To specify a custom template for naming the log files, select the Custom option and enter the template into the appearing Template field. For details on using filename templates, see The syslog-ng 3.0 Administrator Guide.
To create automatic daily backups of the log space to a remote server, create a backup policy and select it from the Backup policy field. For details on creating backup policies, see Section 4.3.5, Data and configuration archiving and backups.
To archive the log space automatically daily, create an archiving policy and select it from the Archive/Cleanup policy field. For details on creating archiving policies, see Section 4.3.5, Data and configuration archiving and backups.
![]() |
Warning |
|---|---|
Use archiving and cleanup policies to remove older logfiles from SSB, otherwise the hard disk of SSB may become full. |
To make the log files of this log space available via the network, create a sharing policy and select it from the Sharing policy field. For details on creating sharing policies, see Section 5.2.6, Accessing log files across the network.
If you are using a SAN storage (available for syslog-ng Store Box SANConnect) select the storage volume that will store the messages. Note that specifying a volume is mandatory for these SSB editions, as they do not store logs on their local hard disk. Connections to SAN devices can be set on .
![]() |
Note |
|---|---|
When modifying an existing log space, assigning a new volume to the log space does neither delete nor copy the messages from the old volume. |
Set a size for the log space in the Warning size field: SSB will send an alert if the size of this log space exceeds the limit.
![]() |
Warning |
|---|---|
Make sure that the Logspace exceeded warning size alert is enabled in page, and that the mail and SNMP settings of the page are correct. Otherwise, you will not receive any alert when the log space exceeds the size limit. For details on alerting and monitoring, see also Section 4.3.4, Configuring system monitoring on SSB. |
By default, members of the search group can view the stored
messages online. Use the Access control option to control which
usergroups can access the log space. For details, see also Section 4.4.6, Managing user rights and usergroups.
Click .
Log spaces are mostly managed automatically using backup and archiving policies,
as described in Section 4.3.5, Data and configuration archiving and backups. However, backup and
archiving can be started manually as well. To display the details of a log space,
click
. A number of action buttons is shown in the top row.
![]() |
Tip |
|---|---|
|
The size of the log space is displayed in the row of the log space details. To refresh the data, select . |
To start the backup process manually, click .
To restore the log files from the backup server to SSB click .
![]() |
Warning |
|---|---|
Restoring the backup replaces every log file of the log space with the files from the backup. Any log message saved into the log space since the backup is irrevocably lost. |
To start the archiving and the cleanup process manually, click .
![]() |
Warning |
|---|---|
If the archiving policy selected for the log space is set to perform only cleanup, log messages older than the Retention Time are deleted and irrevocably lost. For details, see Section 4.3.5, Data and configuration archiving and backups. |
To delete every log file in the log space, click . This option can be useful if you have to quickly free up space on SSB, or if you want to delete a log space.
![]() |
Warning |
|---|---|
This action deletes every file of the log space. Any log message not archived or backed up is irrevocably lost. |
Similar action buttons are available at the top of the page to backup, archive, or delete the contents of every logspace. These actions are performed on every logspace with their respective settings, that is, clicking creates a backup of every logspace using the backup policy settings of the individual logspace.
The log files stored on SSB can be accessed as a network share if needed using the Samba (CIFS) or Network File System (NFS) protocols. Sharing is controlled using policies that specify the type of the share and the clients (hosts) and users who can access the log files. Sharing is possible also if SSB is part of a domain.
If you manage SSB users locally, users who have SSB account can access the shared folders. Complete Procedure 5.2.6.1, Sharing log files in standalone mode.
If you manage SSB users from LDAP, you must join SSB to your domain. Complete Procedure 5.2.6.2, Sharing log files in domain mode.
For details on how to access the shared files, see Section 5.2.6.3, Accessing shared files.
5.2.6.1. Procedure – Sharing log files in standalone mode
Steps:
Navigate to and select .
Select
to create a new share policy and enter a name for the
policy.
Select the type of the network share from the field.
To access the log files using NFS (Network File System), select .
To access the log files using Samba (Server Message Block protocol), select .
If you are using the Samba protocol, you can control which users and hosts can access the shares. Otherwise, every user with an SSB account has access to every shared log file.
To control which users can access the shared files, enter the name of the usergroup who can access the files into the field. For details on local user groups, see Procedure 4.4.3, Managing local usergroups.
To limit the hosts from where the shares can be accessed, create a hostlist and select it from the field. For details on creating hostlists, see Section 4.5.9, Creating hostlist policies.
Click Commit.
To display the details of the log space, navigate to Log > Spaces and click
.
Select the share policy to use from the Sharing policy field.
Click Commit.
5.2.6.2. Procedure – Sharing log files in domain mode
Steps:
Navigate to and select .
Enter the name of the domain (for example mydomain) into the
field.
Enter the name of the realm (for example mydomain.example.com)
into the field.
![]() |
Note |
|---|---|
Ensure that your DNS settings are correct and that the full domain name can be resolved from SSB. To check this, navigate to , enter the full domain name into the field, and select . |
Click . A popup window is displayed.
SSB requires an account to your domain to be able to join the domain. Enter the name of the user into the field, and the corresponding password into the field.
Optionally, you can enter the name of your domain controller into the field. If you leave this field blank, SSB will try to find the domain controller automatically.
![]() |
Note |
|---|---|
Ensure that your DNS settings are correct and that the hostname of the domain controller can be resolved from SSB. To check this, navigate to , enter the name of the domain controller into the field, and select . |
Click .
Select
to create a new share policy and enter a name for the
policy.
Select the type of the network share from the field.
To access the log files using NFS (Network File System), select .
To access the log files using Samba (Server Message Block protocol), select .
If you are using the Samba protocol, you can control which users and hosts can access the shares. Otherwise, every user with an SSB account has access to every shared log file.
To control which users can access the shared files, enter the name of the LDAP group who can access the files into the field. Note that the users and SSB must be members of the same domain.
To limit the hosts from where the shares can be accessed, create a hostlist and select it from the field. For details on creating hostlists, see Section 4.5.9, Creating hostlist policies.
Click Commit.
To display the details of the log space, navigate to Log > Spaces and click
.
Select the share policy to use from the Sharing policy field.
Click Commit.
This section describes how to access log files that are shared using a share policy. For details on sharing log files, see Section 5.2.6, Accessing log files across the network.
Every shared log space is available as a separate shared folder, even if they
all use a single share policy. The name of the shared folder is the name of the
log space. Within the shared folder, the log files are organized into the
following directory structure: YEAR/MM-DD/. The files are
named according to the filename template set for the log space; the extension of
logstore files is .store, while the extension of text
files is .log. Note that the root directory of the share
may also contain various files related to the log space, like index files for
logstores. All files are read-only.
![]() |
Note |
|---|---|
When using NFS for sharing the log space, the name of the shared folder will be the following: |
![]() |
Example 5.1. Mounting a shared log space using NFS on Linux |
|---|---|
mount -t nfs {ssb_ip}:/exports/{logspace_id} /mnt/testmount |
SSB can forward log messages to remote destinations. The remote destination can be an SQL database running on a remote server, or a syslog or log analyzing application running on a remote server.
To forward messages to a remote SQL database, complete Procedure 5.3.1, Forwarding log messages to SQL databases. Currently Oracle, Microsoft SQL (MSSQL), MySQL, and PostgreSQL databases are supported.
To forward messages to a remote server, complete Procedure 5.3.3, Forwarding log messages to remote servers.
5.3.1. Procedure – Forwarding log messages to SQL databases
Purpose:
This section describes how to forward log messages from SSB to a remote SQL database server.
Steps:
To create a new remote destination, navigate to and select
.
Enter a name for the destination.
![]() |
Note |
|---|---|
This name will be used in the name of the database tables created by
SSB. For compatibility reasons, it can contain only numbers, lowercase
characters, and the underscore (_) character, for example
|
Select .
Select the type of the remote database from the field.
Enter the IP address or hostname of the database server into the field. If the database is running on a non-standard port, adjust the setting.
Enter the name and password of the database user account used to access the database into the and fields, respectively. This user needs to have the appropriate privileges for creating new tables.
Enter the name of the database that will store the log messages into the field.
SSB will automatically start a new table for every day or every month. Optionally, you can also create custom tables. Select the table naming template from the field.
Select which columns should SSB insert into the database. You can use one of the predefined templates, or select to create a custom template. The available templates are described in Section 5.3.2, SQL templates in SSB.
SSB can automatically delete older messages and tables from the database. By default, messages are deleted after one month. Adjust the as needed for your environment.
The logs stored in the database can be accessed using the search interface of
SSB. Enter the name of the usergroup who can access the logs into the
field. To add more groups (if
needed), click
.
The timestamps of most log messages is accurate only to on second. SSB
can include more accurate timestamps: set how many digits should be included in the
Timestamp fractions of a second field. This option
corresponds to the frac_digits() parameter of
syslog-ng.
If the server and SSB are located in a different timezone and you use the
Legacy message template (which does not include timezone
information), select the timezone of the server from the
Timezone field.
Set the size of the disk buffer in the Output disk buffer
field. If the remote server becomes unavailable, SSB will buffer messages
to the hard disk, and continue sending the messages when the remote server becomes
available. This option corresponds to the
log_disk_fifo_size() parameter of syslog-ng.
By default, SSB buffers up to 10000 messages in its memory if the remote
server cannot accept them fast enough. To modify this value, adjust the
Output memory buffer field as needed. This option
corresponds to the log_fifo_size() parameter of
syslog-ng.
Click .
To start sending messages to the destination, include the new destination in a logpath. For details, see Section 5.4, Managing log paths.
To test if the database is accessible, select .
The following sections describe the SQL templates available in SSB:
The template stores messages in the
ssb_sql_messages_${R_YEAR}_${R_MONTH} table. The
following columns are created:
insert_time: The date when SSB received the message in Unixtime format.
rule_id:
__row_id:
date_time: The date the message was sent in
YEAR-MONTH-DAY HOUR:MINUTE:SECOND format.
facility: The facility that sent the message.
priority: The priority level of the message.
host: The IP address or hostname of the host were the message was generated.
program: The name of the application that generated the message.
pid: The ID number of the process that generated the message (this field is automatically set to zero if the PID is not included in the message).
message: The text of the log message.
The insert_time, rule_id,
date_time, facility,
host, and program columns are
indexed.
The template stores messages in the
ssb_sql_messages_${R_YEAR}_${R_MONTH} table. The
following columns are created:
insert_time: The date when SSB received the message in Unixtime format.
rule_id:
__row_id:
date_time: The date the message was sent in
YEAR-MONTH-DAY HOUR:MINUTE:SECOND format.
facility: The facility that sent the message.
priority: The priority level of the message.
sourceip: The IP address of the host that sent the message.
host: The IP address or hostname of the host were the message was generated.
program: The name of the application that generated the message.
pid: The ID number of the process that generated the message (this field is automatically set to zero if the PID is not included in the message).
message: The text of the log message.
The insert_time, rule_id,
date_time, facility,
host, sourceip, and
program columns are indexed.
The template stores messages in the
ssb_sql_messages_${R_YEAR}_${R_MONTH} table. The
following columns are created:
insert_time: The date when SSB received the message in Unixtime format.
rule_id:
__row_id:
date_time: The date the message was sent in
YEAR-MONTH-DAY HOUR:MINUTE:SECOND format.
facility: The facility that sent the message.
priority: The priority level of the message.
sourceip: The IP address of the host that sent the message.
host: The IP address or hostname of the host were the message was generated.
program: The name of the application that generated the message.
pid: The ID number of the process that generated the message (this field is automatically set to zero if the PID is not included in the message).
message: The text of the log message.
The insert_time, rule_id,
date_time, facility,
host, sourceip, and
program columns are indexed.
The template allows you to specify the columns to use. Enter a name for the column, select its type, and specify its content using macros. For details on using macros, see The syslog-ng 3.0 Administrator Guide. Select the option if you want the database to index the column.
5.3.3. Procedure – Forwarding log messages to remote servers
Purpose:
This section describes how to forward messages from SSB to a remote server.
Steps:
Navigate to and select
to
create a new remote destination.
Select .
Enter the IP address or hostname of the remote server into the field. Enter the port where the server is accepting syslog messages into the field.
Select the network protocol used to transfer the log messages from the field. The UDP, TCP, and the encrypted TLS protocols are available. The UDP and TLS protocols have additional parameters.
When forwarding messages using UDP, the remote host will see the messages as if they originated from SSB. Select the option to make them seem to originate from their original sender.
For TLS, select a method to verify the identity of the remote host. The following options are available:
None: Do not request a certificate from the remote host, and accept any certificate if the host sends one.
Optional trusted: If the remote host sends a certificate, SSB checks if it is valid (not expired) and that the Common Name of the certificate contains the domain name or the IP address of the host. If these checks fail, SSB rejects the connection. However, SSB accepts the connection if the host does not send a certificate.
Optional untrusted:Accept any certificate shown by the remote host. Note that the host must show a certificate.
Required trusted: Verify the certificate of the remote host. Only valid certificates signed by a trusted certificate authority are accepted. See Procedure 4.5.8.2, Uploading external certificates to SSB for details on importing CA certificates. Note that the Common Name of the certificate must contain the domain name or the IP address of the host.
Request untrusted: SSB requests a certificate from the remote host, and rejects the connection if no certificate is received; if the certificate is not valid (expired); or if the Common Name of the certificate does not contain the domain name or the IP address of the host.
![]() |
Note |
|---|---|
|
Consult the documentation of the remote server application to determine which protocols are supported. UDP is a highly unreliable protocol and a high amount of messages may be lost without notice during the transfer. Use TCP or TLS instead whenever possible. |
Select the syslog protocol to use from the field.
To use the legacy BSD-syslog protocol described in RFC 3164, select and specify the message template to use. Select to use the message format described in the RFC; to replace the original timestamp with an ISO8061 compliant timestamp that includes year and timezone information. To customize the format of the message contents using macros, select , or to completely reformat the message (including the headers). For details on using macros, see The syslog-ng 3.0 Administrator Guide. If you have no special requirements, use the template.
Use the new IETF-syslog protocol. Note that most syslog applications and devices currently support only the legacy protocol. Consult the documentation of the remote server application to determine which protocols are supported. If you need, you can customize the contents of the message using macros. Note that for the IETF-syslog protocol, the header cannot be customized. For details on using macros, see The syslog-ng 3.0 Administrator Guide.
If SSB would send several messages with identical content to the
destination, it can send only a single message and a line Last
message repeated n times.. Enter the number of seconds to wait
for identical messages into the field. This
option corresponds to the suppress() parameter of
syslog-ng.
To limit the maximum number of messages sent to the destination per second,
enter the maximum number of messages into the field. Use this output-rate-limiting functionality only
when using disk-buffer as well to avoid the risk of losing messages. Specifying
0 or a lower value sets the output limit to unlimited. This option corresponds
to the throttle() parameter of syslog-ng.
The timestamps of most log messages is accurate only to on second. SSB
can include more accurate timestamps: set how many digits should be included in the
Timestamp fractions of a second field. This option
corresponds to the frac_digits() parameter of
syslog-ng.
If the server and SSB are located in a different timezone and you use the
Legacy message template (which does not include timezone
information), select the timezone of the server from the
Timezone field.
Set the size of the disk buffer in the Output disk buffer
field. If the remote server becomes unavailable, SSB will buffer messages
to the hard disk, and continue sending the messages when the remote server becomes
available. This option corresponds to the
log_disk_fifo_size() parameter of syslog-ng.
By default, SSB buffers up to 10000 messages in its memory if the remote
server cannot accept them fast enough. To modify this value, adjust the
Output memory buffer field as needed. This option
corresponds to the log_fifo_size() parameter of
syslog-ng.
Click .
To start sending messages to the destination, include the new destination in a logpath. For details, see Section 5.4, Managing log paths.
5.3.4. Procedure – Forwarding log messages to SNMP destinations
Purpose:
This section describes how to forward messages from SSB to an SNMP destination.
Steps:
Navigate to and select
to
create a new remote destination.
Select .
Enter the IP address or hostname of the SNMP destination into the field. Enter the port where the server is accepting SNMP traps into the field.
Select the protocol version. The default value is SNMP v2c.
To use the SNMP v2c protocol, select and enter the name of the SNMP community to use in the field. The default value is public.
To use the SNMP v3 protocol, select . Enter the username and the Engine ID to be used when sending SNMP traps in the respective fields. Select the authentication method to use (MD5 or SH1) and enter the authentication password. Select the encryption method to use (Disabled or DES). In case of DES, enter the encryption password.
The timestamps of most log messages is accurate only to on second. SSB
can include more accurate timestamps: set how many digits should be included in the
Timestamp fractions of a second field. This option
corresponds to the frac_digits() parameter of
syslog-ng.
If the server and SSB are located in a different timezone and you use the
Legacy message template (which does not include timezone
information), select the timezone of the server from the
Timezone field.
Set the size of the disk buffer in the Output disk buffer
field. If the remote server becomes unavailable, SSB will buffer messages
to the hard disk, and continue sending the messages when the remote server becomes
available. This option corresponds to the
log_disk_fifo_size() parameter of syslog-ng.
By default, SSB buffers up to 10000 messages in its memory if the remote
server cannot accept them fast enough. To modify this value, adjust the
Output memory buffer field as needed. This option
corresponds to the log_fifo_size() parameter of
syslog-ng.
Click .
To start sending messages to the destination, include the new destination in a logpath. For details, see Section 5.4, Managing log paths.
This section describes how to create and configure log paths in SSB.
For a list of default log paths, see Section 5.4.1, Default logpaths in SSB.
For details on how to create a new log path, see Procedure 5.4.2, Creating new log paths.
For details on how to send only selected messages to a destination, see Section 5.4.3, Filtering messages.
Two log paths are available by default in SSB (see ):
The first log path collects the local messages of SSB. It sends every message of the web interface, the built-in syslog-ng server, and other internal components to the logspace.
The second log path collects messages sent to SSB using the default syslog sources (for details, see Section 5.1.1, Default message sources in SSB) or via SNMP (for details, see Procedure 5.1.2, Receiving SNMP messages). These messages are stored in the logspace.
![]() |
Note |
|---|---|
Note that both default log paths are marked as : if you create a new log path that collects logs from the default sources, make sure to adjust the order of the log paths, or disable the option for the default log path. |
5.4.2. Procedure – Creating new log paths
Purpose:
To create a new log path, complete the following steps.
Steps:
Navigate to and select
. A new log
path is added to the list of log paths.
Select a source for the log path from the field.
Messages arriving to this source will be processed by this log path. To add more
sources to the log path, select
in the source field and repeat
this step.
Remote sources receive messages from the network, while built-in sources are messages that originate on SSB. However, note that the SNMP source (for details, see Procedure 5.1.2, Receiving SNMP messages) is listed in the built-in section.
![]() |
Tip |
|---|---|
To process every message of every source, leave the source option on
|
Select a destination for the log path from the
field. Messages arriving to this source will be forwarded to this destination.
To add more destinations to the log path, select
in the
destination field and repeat this step.
![]() |
Note |
|---|---|
|
Remote destinations forward the messages to external servers or databases and are configured on the page (for details, see Section 5.3, Forwarding messages from SSB). Local destinations store the messages locally on SSB and are configured on the page (for details, see Section 5.2, Storing messages on SSB). |
If you do not want to store the messages arriving to this log path, leave the
field on none.
![]() |
Warning |
|---|---|
The |
If you do not want other log paths to process the messages sent to a destination by this log path, select the option.
The order of the log paths is important, especially if you use the
option in one or more destinations, because
SSB evaluates log paths in descending order. Use the
buttons
to position the log path if needed.
To enable flow-control for this log path, select the option. For details on how flow-control works, see Section 2.3, Managing incoming and outgoing messages with flow-control.
If you do not wat to send every message from the sources to the destinations,
use filters. Select the filter to use from the field,
click
, and configure the filter as needed. To apply more filters,
click
and select a new filter. Note that SSB sends only those
messages to the destinations that pass every listed filter of the log path. The
available filters are described in Section 5.4.3, Filtering messages.
Click . After that, the new log path will start to collect log messages.
![]() |
Tip |
|---|---|
If you do not want to activate the log path immediately, deselect the option. |
This section describes the filters that can be used in log paths. Every filter can
be used to select (for example priority is) or exclude (for
example priority is not) messages. The following filters are
available:
facility: Select messages sent by a specific facility
(for example kernel).
host: Select messages sent by a specific host. Enter the a hostname, IP address, or a regular expression.
message: Select messages containing a specific keyword or regular expression in the text of the log message (excluding the headers).
priority: Select messages of a specific priority.
program: Select messages sent by a specific application. Enter the name of the application or a regular expression.
sender: Filter on the address of the host that sent the message to SSB.
![]() |
Note |
|---|---|
The effect of the sender and the host filters is the same if every client sends the logs directly to SSB. But if SSB receives messages from relays, then the host filter applies for the address of the clients, while the sender applies for the address of the relays. |
If multiple filters are set for a log path, only messages complying to every filter are sent to the destinations. (In other words, filters are added using the logical AND operation.)
If you need more complex filtering in your log path, select the
of the
log path and enter a custom filter into the appearing field. The contents of this
field are pasted into the filter() parameter of the syslog-ng
log path definition.
There are several options of the syslog-ng server running on SSB that can be configured. These include:
For details on general syslog-ng settings — see Section 5.5.1, General syslog-ng settings.
For details on timestamping-related options — see Section 5.5.2, Timestamping configuration on SSB.
For details on certificate management for receiving and sending log messages in TLS-encrypted channels — see Procedure 5.5.4, Setting the certificates used in TLS-encrypted log transport.
For details on managing domain name resolution for log messages — see Section 5.5.3, Using name resolution on SSB.
To configure the general options of the syslog-ng server running on SSB, navigate to . The following options are available (note that options related to name resolution are discussed in Section 5.5.3, Using name resolution on SSB):
Maximum logstore chunk time: Time limit in seconds:
syslog-ng closes the chunk if no new messages arrive until the time limit
expires. Logstore chunks are closed when the time limit expires. If the time
limit set in the
option expires, the entire file is closed. This option corresponds to the
chunk_time() parameter of syslog-ng.
Messages fetched in a single poll: The maximum number
of messages fetched from a source during a single poll loop. The destination
queues might fill up before flow-control could stop reading if this
parameter is too high. This option corresponds to the
log_fetch_limit() parameter of syslog-ng.
Initial window size: The size of the initial window
used during flow control. This option corresponds to the
log_iw_size() parameter of syslog-ng.
Message size: Specifies the maximum length of
incoming log messages in bytes. This option corresponds to the
log_msg_size() parameter of syslog-ng.
Wait time between polls: The time to wait in
milliseconds before checking if new messages have arrived to a source. This
option corresponds to the time_wait() parameter of
syslog-ng.
Idle time before destination is closed: The time to
wait in seconds before an idle destination file is closed. This option
corresponds to the time_reap() parameter of
syslog-ng.
To configure the timestamping options of SSB, navigate to . The following options are available:
Timestamp server: Select the timestamping server to use for signing encrypted logspaces. To use the built-in timestamp server of SSB, select .
To use an external timestamping server, select and enter the address of the server into the field. Note that currently only plain HTTP services are supported, password-protected and HTTPS services are not supported at.
![]() |
Warning |
|---|---|
SSB currently supports only timestamping servers that use the Internet X.509 Public Key Infrastructure Time-Stamp Protocol (TSP) described in RFC 3161. |
Timestamp policy OID: If the Timestamping Server has timestamping policies configured, enter the OID of the policy to use into the Timestamping policy field. SSB will include this ID in the timestamping requests sent to the TSA.
Cipher: Select the cipher method used to encrypt the
logstore. The following cipher methods are available:
aes-128-cbc, aes-128-cfb,
aes-128-cfb1,
aes-128-cfb8, aes-128-ecb,
aes-128-ofb , aes-192-cbc,
aes-192-cfb, aes-192-cfb1,
aes-192-cfb8, aes-192-ecb,
aes-192-ofb , aes-256-cbc,
aes-256-cfb, aes-256-cfb1,
aes-256-cfb8, aes-256-ecb,
aes-256-ofb , aes128 ,
aes192 , aes256,
bf , bf-cbc ,
bf-cfb, bf-ecb ,
bf-ofb , blowfish,
cast , cast-cbc ,
cast5-cbc , cast5-cfb,
cast5-ecb, cast5-ofb ,
des, des-cbc,
des-cfb , des-cfb1 ,
des-cfb8 , des-ecb ,
des-ede, des-ede-cbc,
des-ede-cfb , des-ede-ofb,
des-ede3 , des-ede3-cbc,
des-ede3-cfb,
des-ede3-ofb, des-ofb ,
des3 , desx ,
desx-cbc, rc2,
rc2-40-cbc , rc2-64-cbc,
rc2-cbc, rc2-cfb,
rc2-ecb , rc2-ofb,
rc4, and rc4-40.
By default, SSB uses the aes-128-cbc
method.
Digest: Select the digest method to use. The
following digest methods are available: MD2,
MD4, MD5, SHA-0
(SHA), SHA-1,
RIPEMD-160, SHA-224,
SHA-256, SHA-384, and
SHA-512.
By default, SSB uses the SHA-1 method.
![]() |
Warning |
|---|---|
The size of the digest hash must be equal to or larger than the key
size of the cipher method. For example, to use the
|
![]() |
Note |
|---|---|
The timestamp requests are handled by a separate process in syslog-ng; message processing is not affected if the timestamping server is slow or cannot be accessed. |
SSB can resolve the hostnames of the clients and include them in the log messages. However, the performance of SSB can be severely degraded if the domain name server is unaccessible or slow. Therefore, SSB automatically caches the results of name resolution. If you experience performance problems under high load, it is not recommended to disable name resolution. If you must use name resolution, consider the following:
If the IP addresses of the clients change only rarely, set the expiry of the DNS cache to a large value. By default, SSB caches successful DNS lookups for an hour, and failed lookups for one minute. These parameters can be adjusted under and .
Resolve the hostnames locally. Resolving hostnames locally enables you to
display hostnames in the log files for frequently used hosts, without having
to rely on a DNS server. The known IP address – hostname pairs are
stored locally in a file. In the log messages, syslog-ng will replace the IP
addresses of known hosts with their hostnames. To configure local name
resolution, select , and
enter the IP Address - hostname pairs in (for example 192.168.1.1
myhost.example.com) into the field. Then navigate to ,
and set the option of your sources to
.
5.5.4. Procedure – Setting the certificates used in TLS-encrypted log transport
Purpose:
To set a custom certificate and a CA certificate for encrypting the transfer of log messages, complete the following steps.
![]() |
Note |
|---|---|
If you do not upload a certificate to encrypt the TLS-communication (that is, the and options are not set), SSB uses the certificate and CA certificate set for the web interface (set under ) for this purpose as well. |
Steps:
In your PKI system, generate and sign a certificate for SSB, then navigate to .
Click the
icon in the field to
upload the certificate.
To upload a certificate from a file, click in the section, select the certificate file, and click .
Alternatively, you can copy/paste the certificate into the field of the section and click .
Click the
icon in the field and
upload the private key corresponding to the certificate.
To set the certificate of the Certificate Authority (CA) used to verify the
identity of the peers, click
in the field, then click
.
To upload a certificate from a file, click in the section, select the certificate file, and click .
Alternatively, you can copy/paste the certificate into the field of the section and click .
Repeat this step to add more CA certificates if needed.
If the CA issues a Certificate Revocation List (CRL), enter its URL into the field. SSB periodically downloads the list and refuses certificates that appear on the list.
If you want to accept connections only from hosts using certain certificates
signed by the CA, click
in the field and enter the distinguished name (DN) of the accepted
certificates into the field.
If you want to accept a certificate without uploading its corresponding CA
certificate, click
in the
field and enter the SHA-1 fingerprint of the accepted certificates into the
field.
This section describes how to browse the various types of log messages on SSB and exactly what kind of information do they contain.
For the general use of the search interfaces, see Section 6.1, Using the search interface. Some of the search interfaces has certain special features, these are described in their respective sections.
Accounting information about the configuration changes performed on the SSB web interface: Shows the activity of the SSB users and administrators. Available at . For the list of displayed parameters, see Section 6.2, Changelogs of SSB.
Collected log messages: Log messages stored in a local log space or a remote database destination. To browse these messages, select and select the destination (that is, the logspace or database destination) from the field. For the list of displayed parameters, see Section 6.3, Log messages collected on SSB.
Peer configuration change: Peers (client computers) that use syslog-ng Premium Edition 3.0 or newer send a special log message to SSB when their configuration is modified. These messages are located at . For the list of displayed parameters, see Section 6.4, Configuration changes of syslog-ng peers.
Alerts on the log messages: If you use the pattern database of SSB to alert on certain log messages, then a history of the alerts is available at . For the list of displayed parameters, see Section 6.6, Log message alerts.
Backup and archive notifications: Notifications and errors encountered during backup or archiving are stored at . For the list of displayed parameters, see Section 6.5, Notifications on archiving and backups.
SSB reports: PDF reports about the configuration changes, system health parameters, and other activities of SSB. Available at . For the list of displayed parameters, see Section 6.8, Reports.
SSB has a uniform interface for browsing log messages, SSB configuration changes, reports, . This search interface consists of two main parts: a calendar bar and a table.
The calendar bar displays the number of log messages in the selected interval. Use the
,
icons to zoom, and the arrows to display the previous or the next intervals.
To explicitly select a date, select and set the date in the
calendar. To select the length of the displayed interval use the
option.
Hovering the mouse above a calendar bar displays the number of entries and the start and end date of the period that the bar represents. Click a calendar bar to display the entries of that period in the table. Use Shift+Click to select multiple calendar bars. The field shows the starting and ending date of the period listed in the table.
6.1.1. Procedure – Customizing columns
Purpose:
SSB records several parameters of every log message. To select the data displayed, complete the following steps:
Steps:
Navigate to the database you want to browse, for example .
Click . A popup window containing the list of visible and available columns and dynamic columns is displayed.
The displayed parameters are enlisted in the field. All other available parameters are enlisted in the field.
To add parameters to the field, select the desired parameter(s) and click .
To remove parameters from the field, select the desired parameter(s) and click .
To freeze columns (to make them permanently visible, even when scrolling), enable the option next to the desired parameter.
![]() |
Note |
|---|---|
To select multiple parameters, press Ctrl while clicking the items. |
Click . The selected information is displayed.
6.1.2. Procedure – Adding and removing dynamic columns
Purpose:
Dynamic columns are created from name-value pairs. These columns are enlisted in the window (for details, see Procedure 6.1.1, Customizing columns ), and can be searched with the help of the autocomplete function. To create (and remove) dynamic columns from name-value pairs, complete the following steps:
Steps:
Name-value pairs are separated by commas in the column. Hover the mouse over a desired key in the name-value pair.
Click
.
The selected name generates a new, separate dynamic column with heading (where is the name of the key) before the column. The relevant values are displayed in the cells of the respective column.
To remove a dynamic column from the table, click
next to the heading. The key-value pair is moved back into
the column.
If data is too long to fit on one line, it is automatically wrapped and only the first
line is displayed. To expand a row, click
. To shrink the row back to its original size, click
. To expand/shrink all rows, click the respective button on the
header of the table. The rows can also be expanded/shrunk by double clicking on the
respective row.
The table can be filtered for any parameter, or a combination of parameters. To filter the list, enter the filter expression into the text box and press Enter, or click on an entry in the table. For example, to display only changes performed by a specific user, enter the username into the text box and press Enter — or just click on the specific username in the table.
![]() |
Note |
|---|---|
When you use filters, the calendar bar displays the statistics of the filtered results. |
Filtering displays also partial matches: for example filtering
for adm will display all changes
performed by users whose username contains the adm string.
![]() |
Note |
|---|---|
Partial matching does not work in logstores; you can only search for complete tokens. |
To save the table of search results as a file, click .
This saves the table as a text file containing comma-separated values. Note that if an
error occurs when exporting the data, the exported CSV file will include a line (usually
as the last line of the file) starting with a zero and the details of the problem, for
example 0;description_of_the_error.
To restore the original table, click .
SSB automatically records the activity of its users and administrators. These activities are displayed at . The following information is available:
Timestamp: The date when the modification was committed
in YEAR-MONTH-DAY HOUR:MINUTE:SECOND format.
Author: The SSB user who performed the modification.
Page: The main menu item that was modified (for example
Basic Settings > Management).
Field name: The name of the field on the page that was modified.
New value: The new value of the field after the modification.
Description: The changelog entered by the SSB administrator. Changelogs are available only if the option was enabled at the time of the change.
Old value: The original value of the field.
Swap: Signs if the order of objects was modified on the page (for example the order of two policies in the list).
Log messages stored locally on SSB or in a remote database can be browsed at . Select the destination storing the logs you want to browse from the field.
For a description about the available columns, see Section 6.3.1, Metadata collected about log messages.
For details about how to use and save filters, see Section 6.3.2, Using and managing search filters.
For details about how to display statistics about your search results, see Procedure 6.3.3, Displaying statistics on search results.
For details about how to browse and search log messages that are stored in an encrypted logstore, see Section 6.3.4, Browsing encrypted log spaces.
The following information is available about the log messages:
The columns that are indexed and can be searched are marked with a darker blue table heading.
Received: The date when SSB has received the log
message in YEAR-MONTH-DAY HOUR:MINUTE:SECOND
format.
Timestamp: The timestamp received in the message
— the time when the log message was created in
YEAR-MONTH-DAY HOUR:MINUTE:SECOND format.
Facility: The facility that sent the message.
Priority: The priority value of the message.
Program: The application that created the message.
Pid: The program identifier of the application that created the message.
Host: The IP address or hostname of the client that sent the message to SSB.
Message: The text of the log message.
Tags: Tags assigned to the message matching certain pattern database rules.
Rule ID: ID of the pattern database rule that matched the message.
Details: Name/value pairs.
Rule description: Description of the pattern database rule that matched the message.
When typing search expressions, you can create complex searches by using the AND,
OR, and NOT operations. Note that whitespace is interpreted as AND, and NOT can be
used only together with other operators (for example adm AND NOT
admin). Also, you can search in the various fields using the
fieldname:keyword method, for example to search the
field for entries of the CRON
application, use program:CRON.
You can even save your filters on SSB and reuse them later.
6.3.2.1. Procedure – Creating and saving a filter for later use
Purpose:
To create and save a filter for later use, complete the following steps:
Steps:
Navigate to , and select a destination.
Create the filter you need, then select . A popup window is displayed.
Enter a name for the filter into the field.
If you want the filter to be available for other SSB users as well, select . To restrict the availability of the filter to a set of specific users, use the field. filters are visible only for you.
If you want to display only messages from a particular period, select and set the beginning and ending date for the filter. This is useful when you want to display only the logs of a specific event. Note that you must always set an interval for global filters.
Click .
To apply a predefined filter, select the filter from the field. To delete a predefined filter, select the filter from the field and click . Note that you need the privilege to delete global filters.
![]() |
Note |
|---|---|
When searching log messages, the capabilities of the search engine depend on
the delimiters used to index the particular log space. Starting with SSB
1.0.2, it is possible to configure the delimiters used for indexing, but it is
not possible to re-index messages already received. This means that prior to
version 1.0.2, IP addresses, MAC addresses, and similar information cannot be
automatically retrieved from the text of the log message, because the
|
6.3.3. Procedure – Displaying statistics on search results
Purpose:
SSB can create statistics (bar, pie and list) from various information about the search results, for example, the distribution of the sender hosts, and so on. To display statistics about the log messages, complete the following steps:
Steps:
Navigate to , and select a destination.
Create the filter you need, then click a pie chart icon in the header of the table. A popup window is displayed.
Select the type of metadata you want to create statistics on from the
field. Currently you can create
statistics from the Facility,
Priority, Program,
Pid, Host,
Tags, and .classifier.class
fields.
![]() |
Note |
|---|---|
The .classifier.class data is the class assigned to the message when
pattern database is used. For details, see Chapter 7, Classifying messages with pattern databases The pattern databases provided by BalaBit currently use the following
message classes by default: |
Select the type of chart to display, that is, , or . The chart will be displayed in the same popup window.
![]() |
Note |
|---|---|
In view, percentages add up to 100%. The only exception to this is when statistics are based on . Since it provides statistics for tags rather than messages, it is possible that if messages have multiple tags, the percentages will add up to more than 100%. |
By default, the statistics start with the largest number of entries. To start statistics with the least number of entries, select .
Select the number of data groups to display from the field. For example, if you want to display the statistics of the ten hosts that send the most messages (the "top talkers"), select . That way the top ten talkers will be displayed individually, while the amount of messages sent by the other hosts will be aggregated and labeled as .
![]() |
Note |
|---|---|
For pie and bar charts you can select , and , for the list , , , and . |
Optional step: To export statistics data to a CSV file,
select , set the number of entries and click
. SSB compiles the selected data
into a results.csv file.
![]() |
Note |
|---|---|
This action exports all rows, not only the currently displayed ones. |
Optional step: You can also save these statistics and include them in reports as a report subchapter. You can include these subchapters into your reports in the menu.
To save these statistics as custom statistics for reporting, click .
Add a name for the statistics in the field.
Select a group from the already existing groups in the field. The autocomplete function helps you with the selection.
Optional step: The function enables you to instantly add this statistics as a subchapter to the selected report.
Click . This action includes the saved statistics as a selectable subchapter into . For details on how to add this subchapter to a selected report, see Procedure 6.9, Configuring custom reports.
By default, you cannot browse encrypted logstores from the SSB web interface, because the required decryption keys are not available on SSB. To make browsing and searching encrypted logstores possible, SSB provides the following options:
Upload the required decryption keys and make them available to every SSB user: It is possible to upload the private key (or set of keys) to SSB, and use these keys to decrypt the logstore files. That way anyone who has the right to search the particular log space can search the messages, but that also means that the decryption keys are directly stored unencrypted in the SSB configuration file. As this may raise security concerns, avoid this solution unless absolutely necessary. For details, see Procedure 6.3.4.1, Assigning decryption keys to a logstore.
Upload the decryption keys for a single user: It is possible to upload decryption keys and bind them to a user account. That way, only this particular user can search the logstores encrypted with the certificate corresponding to the private key. The decryption keys will be stored on SSB but they are only available for the particular user, and can be encrypted (requiring a passphrase to access). For details, see Procedure 6.3.4.2, Assigning decryption keys to a user account.
Upload keys temporarily: Users can upload decryption keys to SSB temporariliy: they upload the keys, browse the log messages, and the keys are automatically deleted when the user logs out from SSB. For details, see Procedure 6.3.4.3, Using temporal decryption keys.
6.3.4.1. Procedure – Assigning decryption keys to a logstore
Steps:
To upload the decryption keys, navigate to and select the encrypted logspace you want to make searchable for every user via the SSB web interface.
Select . A popup window is displayed.
Paste or upload the private key of the certificate used to encrypt the logstore.
Repeat Steps 2-3 to upload additional keys if needed.
Click .
6.3.4.2. Procedure – Assigning decryption keys to a user account
Steps:
To upload the decryption keys to a specific user account, login to SSB, and select . A popup window is displayed.
Select , then select . A popup window is displayed.
Paste or upload the certificate used to encrypt the logstore.
Select . A popup window is displayed.
Paste or upload the private key of the certificate used to encrypt the logstore.
Repeat Steps 2-5 to upload additional keys if needed.
Select , and enter a passphrase to protect the private keys.
Click .
6.3.4.3. Procedure – Using temporal decryption keys
Steps:
To upload the decryption keys temporarily, login to SSB, and select . A popup window is displayed.
Select , then select . A popup window is displayed.
Paste or upload the certificate used to encrypt the logstore.
Select . A popup window is displayed.
Paste or upload the private key of the certificate used to encrypt the logstore.
Repeat Steps 2-5 to upload additional keys if needed.
Click .
Peers running syslog-ng Premium Edition 3.0 or later automatically send a notification to SSB when their configuration has changed since the last configuration reload or restart. These log messages are available at . Note that the log messages do not contain the actual modification; only indicate that the configuration was modified. The following information is available:
Timestamp: The timestamp received in the message —
the time when the log message was created in YEAR-MONTH-DAY
HOUR:MINUTE:SECOND format.
Hostname: The hostname or IP address of the client whose configuration has been changed.
Validity: .
Version: Version number of the syslog-ng application that sent the message.
Sender address: The IP address of the client or relay that sent the message directly to SSB.
Signature: The signature of the syslog-ng client.
Fingerprint: The SHA-1 hash of the new configuration file.
Notifications and error messages of the archiving, cleanup and backup procedures are available at . The following information is available:
Timestamp: The date of the message in in
YEAR-MONTH-DAY HOUR:MINUTE:SECOND format.
Logspace: Name of the archived of backed up logspace.
Directory name: .
Policy: Name of the archive or backup policy used.
Archive target: Address of the remote server used in the policy.
Manual archiving: Indicates if the archiving or backup process was started manually.
When using the pattern database, SSB raises alerts for messages that are
classified as Violation. The
history of these alerts is available at . The
following information is available about the alerts:
Timestamp: The date of the alert in
YEAR-MONTH-DAY HOUR:MINUTE:SECOND format.
Sender address: The IP address of the client or relay that sent the message directly to SSB.
Hostname: The hostname or IP address of the client that sent the message.
Program: The application that generated the message.
Message: The content of the message.
Rule ID: The ID of the classification rule in the pattern database that matched the message. For details, see Chapter 7, Classifying messages with pattern databases.
Rule description: The description of the classification rule that matched the message. For details, see Chapter 7, Classifying messages with pattern databases.
To control the quantity and quality of the statistics collected to the (for details, see Section 4.5.4.5, Status history and statistics, set the statistics collection options.
Navigate to .
: the default setting is .
: Statistics unchanged (not present
in syslog-ng statistics output any more) for this number of days will be cleaned
up from the system. Enter 0 here to keep them forever. To
start the cleanup process immediately, click .
: Enter the number of
statistics files to keep on the system. Enter 0 here to
store unlimited number of statistics files. Statistics over this limit will be
dropped, and SSB sends an error message containing the number of entries dropped
and the first dropped entry. This setting needs to be increased only if you have
more than 10000 hosts.
: the default setting is and all checkboxes are enabled. This allows you to select which options to collect statistics for. To display the collected statistics for an option, navigate to , select and select the desired option.
: Select the sampling interval for the statistics
here. A more frequent sampling interval results in more precise graphs at the cost of
heavier system load. The default setting is 5 minutes. The
possible parameters are 5 minutes, 10
minutes, 30 minutes, 60
minutes, 2 hours, 4 hours,
8 hours, 1 day.
![]() |
Warning |
|---|---|
Hazard of data loss! When changing the Sampling interval, the already existing statistics are not converted to the new sampling rate, but are deleted. |
To clear all statistics, click . It is advised to clear statistics if you have changed the number of the statistics files to keep, or if you have disabled the time-based statistics collection.
SSB periodically creates reports on the activity of the administrators, the system-health information of SSB, as well as the processed traffic. These reports are available in Portable Document (PDF) format by selecting from the Main Menu. The reports are also sent to the e-mail address set at , unless specified otherwise in the configuration of the report.
To access the reports from the SSB web interface, the user must have the appropriate privileges.
![]() |
Note |
|---|---|
If the address is not set, the report is sent to the SSB administrator's e-mail address. |
Reports are generated as follows:
Daily reports are generated every day at 00:01.
Weekly reports are generated every week on Monday at 00:01.
Monthly reports are generated on the first day of every month at 00:01.
![]() |
Tip |
|---|---|
Use the time bar to find reports that contain a particular period. If you select a period (for example click on a bar), only those reports will be displayed that contain information about the selected period. |
The reports are available in Adobe Portable Document Format (PDF), and contain the following information for the given period:
Configuration changes: Lists the number of SSB configuration changes per page and per user. The frequency of the configuration changes is also displayed on a chart.
Peer configuration: Lists the number of times the configuration of a syslog-ng client was changed per client, as well as the version number of the syslog-ng application running on the client (if this information is available).
Alerts: Various statistics about the alerts received from classifying messages using the pattern database (if pattern databases have been uploaded to SSB.
syslog-ng traffic statistics: Displays the rate of incoming, forwarded, stored, and dropped messages in messages/second.
System health information: Displays information about the filesystem and network use of SSB, as well as the average load.
The following information is available about the reports:
Download: A link to download the report.
Name: Name of the report.
Interval: The length of the reported period, for example week, month, and so on.
Report from: The start of the reported interval.
Report to: The end of the reported interval.
Generate time: The date when the report was created.
![]() |
Tip |
|---|---|
To create a report for the current day, select . The report will contain data for the |
6.9. Procedure – Configuring custom reports
Purpose:
To configure SSB to create custom reports, complete the following steps.
Steps:
Login to the SSB web interface, and navigate to Reports > Configuration.
Click
and enter a name for the custom report.
Reports are organized into chapters and subchapter. Select Table of contents > Add Chapter, enter a name for the chapter, then click . Repeat this step to create further chapters if needed.
Select to add various reports and statistics to the chapter. The available reports will be displayed in a popup window; the reports created from custom statistics are listed at the end.
Use the arrows to change the order of the subchapters if needed.
Select how often shall SSB create the report from the Generate this report every field. Weekly reports are created on Mondays, while monthly reports on the first day of the month. If you want to generate the report only manually, leave this field empty.
By default, members of the search group can access the
custom reports via the SSB web interface. To change this, enter the name of
a different group into the Reports are accessible by the following
groups field, or click
to grant access to other groups.
![]() |
Note |
|---|---|
Members of the listed groups will be able to access only these custom reports even if their groups does not have read access to the Reporting > Reports page. However, only those reports will be listed, to which their group has access to. |
By default, SSB sends out the reports in e-mail to the address set in the Basic Settings > Management > Mail settings > Send reports to field.
![]() |
Note |
|---|---|
If this address is not set, the report is sent to the SSB administrator's e-mail address. |
To disable e-mail sending, unselect the Send reports in e-mail option.
To receive e-mails only when at least one audit trail matching the search criteria was found, unselect the Send even empty reports option.
To e-mail the reports to a different address, select Recipient > Custom address, and enter the e-mail address where the reports should be sent.
Click .
Using the pattern database allows you to classify messages into various categories, receive alerts on certain messages, and to collect unknown messages using artificial ignorance.
![]() |
Note |
|---|---|
|
Note that the classification of messages is always performed; but its results are used only if you specifically enable the relevant options on the page.
|
The pattern database is organized as follows:
The pattern database consists of rulesets. A ruleset consists of a Program Pattern and a set of rules: the rules of a ruleset are applied to log messages if the name of the application that sent the message matches the Program Pattern of the ruleset. The name of the application (the content of the $PROGRAM macro) is compared to the Program Patterns of the available rulesets, and then the rules of the matching rulesets are applied to the message.
The Program Pattern can be a string that specifies the name of the appliation or the beginning of its name (for example to match for sendmail, the program pattern can be sendmail, or just send), and the Program Pattern can contain pattern parsers. Note that pattern parsers are completely independent from the syslog-ng parsers used to segment messages. Additionally, every rule has a unique identifier: if a message matches a rule, the identifier of the rule is stored together with the message.
Rules consist of a message pattern and a class. The Message Pattern is similar to the Program Pattern, but is applied to the message part of the log message (the content of the $MESSAGE macro). If a message pattern matches the message, the class of the rule is assigned to the message (for example Security, Violation, and so on).
Rules can also contain additional information about the matching messages, such as the description of the rule, an URL, name-value pairs, or free-form tags. This information is displayed by the syslog-ng Premium Edition in the e-mail alerts (if alerts are requested for the rule), and are also displayed on the search interface.
Patterns can consist of literals (keywords, or rather, keycharacters) and pattern parsers.
![]() |
Note |
|---|---|
|
If the $PROGRAM part of a message is empty, rules with an empty Program Pattern are used to classify the message. If the same Program Pattern is used in multiple rulesets, the rules of these rulesets are merged, and every rule is used to classify the message. Note that message patterns must be unique within the merged rulesets, but the currently only one ruleset is checked for uniqueness. |
The followings describe how patterns work. This information applies to program patterns and message patterns alike, even though message patterns are used to illustrate the procedure.
Patterns can consist of literals (keywords, or rather, keycharacters) and pattern parsers. Pattern parsers attempt to parse a sequence of characters according to certain rules.
![]() |
Note |
|---|---|
Wildcards and regular expressions cannot be used in patterns. The
|
When a new message arrives, syslog-ng attempts to classify it using the pattern database. The available patterns are organized alphabetically into a tree, and syslog-ng inspects the message character-by-character, starting from the beginning. This approach ensures that only a small subset of the rules must be evaluated at any given step, resulting in high processing speed. Note that the speed of classifying messages is practically independent from the total number of rules.
For example, if the message begins with the Apple string, only
patterns beginning with the character A are considered. In the
next step, syslog-ng selects the patterns that start with Ap, and
so on, until there is no more specific pattern left.
Note that literal matches take precedence over pattern parser matches: if at a step
there is a pattern that matches the next character with a literal, and another pattern
that would match it with a parser, the pattern with the literal match is selected. Using
the previous example, if at the third step there is the literal pattern
Apport and a pattern parser
Ap@STRING@, the Apport pattern is matched. If the literal does not match the incoming string (foe example, Apple), syslog-ng attempts to match the pattern with the parser. However, if there are two or more parsers on the same level, only the first one will be applied, even if it does not perfectly match the message.
If there are two parsers at the same level (for example Ap@STRING@
and Ap@QSTRING@), it is random which pattern is applied
(technically, the one that is loaded first). However, if the selected parser cannot
parse at least one character of the message, the other parser is used. But having two
different parsers at the same level is extremely rare, so the impact of this limitation
is much less than it appears.
To display the rules of a ruleset, enter the name of the ruleset into the field, and click . If you do not know the name of the ruleset, type the beginning letter(s) of the name, and the names of the matching rulesets will be displayed. If you are looking for a specific rule, enter a search term into the or field and select . The rulesets that contain matching rules will be displayed.
![]() |
Note |
|---|---|
Rulesets containing large number of rules may not display correctly. |
7.4. Procedure – Creating new rulesets and rules
Purpose:
To create a new ruleset and new rules, complete the following steps:
Steps:
Select .
![]() |
Tip |
|---|---|
If you search for a ruleset that does not exist, SSB offers you to create a new ruleset with the name you were searching for. |
Enter a name for the ruleset into the field.
Enter the name of the application or a pattern that matches the applications into the field. For details, see Section 7.7, Using pattern parsers.
Optionally, add a description to the ruleset.
Add rules to the class.
Click
in the section.
Enter the beginning of the log message or a pattern that matches the log message into the field. For details, see Section 7.7, Using pattern parsers. Note that only messages sent by applications matching the will be affected by this pattern.
Select the type of the message from the field.
This class will be assigned to messages matching the pattern of this rule.
The following classes are available: Violation,
Security, and System.
If alerting is enabled at , SSB automatically sends an alert if a message is classified as Violation.
Optionally, you can add a description, custom tags, and name-value pairs to the rule. Note that the values of name-value pairs can contain macros. For details on pattern databases and macros, see The syslog-ng Premium Edition Administrator Guide, available at the BalaBit Documentation Page.
Repeat the previous step to add more rules.
Click .
To export the entire pattern database, navigate to and select .
To export a ruleset, enter the name of the ruleset into the field, click , and select . If you do not know the name of the ruleset, enter a search term into the or field and select . The rulesets that contain matching rules will be displayed.
You can upload official databases distributed by BalaBit or pattern databases that you have exported from SSB. Official databases are available at the BalaBit website. The official database currently includes patterns for various Linux/Unix applications, and is essentially a conversion of the database used by the logcheck application. Other databases for Cisco devices and Microsoft Windows applications are under development.
To import a ruleset, navigate to and select . Then locate the database file to upload, and click .
![]() |
Note |
|---|---|
|
Imported rules are effective immediately after the upload is finished. If you have modified a rule that was originally part of an official database, then the update will not modify this rule. |
Pattern parsers attempt to parse a part of the message using rules specific to the type of the parser. Parsers are enclosed between @ characters. The syntax of parsers is the following:
a beginning @ character;
the type of the parser written in capitals;
optionally a name;
parameters of the parser, if any;
a closing @ character.
![]() |
Example 7.1. Pattern parser syntax |
|---|---|
|
A simple parser: @STRING@ A named parser: @STRING:myparser_name@ A named parser with a parameter: @STRING:myparser_name:*@ A parser with a parameter, but without a name: @STRING::*@ |
The following parsers are available:
@ANYSTRING@: Parses everything to the end of the message;
you can use it to collect everything that is not parsed specifically to a single
macro. In that sense its behavior is similar to the
greedy() option of the CSV parser.
@DOUBLE@: An obsolete alias of the
@FLOAT@ parser.
@ESTRING@: This parser has a required parameter that acts
as the stopcharacter: the parser parses everything until it find the
stopcharacter. For example to stop by the next " (double
quote) character, use @ESTRING::"@. As of syslog-ng 3.1,
it is possible to specify a stopstring instead of a single character, for example
@ESTRING::stop_here.@.
@FLOAT@: A floating-point number that may contain a dot
(.) character. (Up to syslog-ng 3.1, the name of this parser was
@DOUBLE@.)
@IPv4@: Parses an IPv4 IP address (numbers separated with a maximum of 3 dots).
@IPv6@: Parses any valid IPv6 IP address.
@IPvANY@: Parses any IP address.
@NUMBER@: A sequence of decimal (0-9) numbers (for example 1, 0687, and so on). Note that if the number starts with the 0x characters, it is parsed as a hexadecimal number, but only if at least one valid character follows 0x.
@QSTRING@: Parse a string between the quote characters
specified as parameter. Note that the quote character can be different at the
beginning and the end of the quote, for example: @QSTRING::"@
parses everything between two quotation marks ("), while
@QSTRING:<>@ parses from an opening
bracket to the closing bracket.
@STRING@: A sequence of alphanumeric characters (0-9,
A-z), not including any whitespace. Optionally, other accepted characters can be
listed as parameters (for example to parse a complete sentence, add the whitespace as
parameter, like: @STRING:: @). Note that the
@ character cannot be a parameter, nor can line-breaks or
tabs.
Patterns and literals can be mixed together. For example, to parse a message that
begins with the Host: string followed by an IP address (for example
Host: 192.168.1.1), the following pattern can be used:
Host:@IPv4@.
![]() |
Note |
|---|---|
Note that using parsers is a CPU-intensive operation. Use the ESTRING and QSTRING parsers whenever possible, as these can be processed much faster than the other parsers. |
![]() |
Example 7.2. Using the STRING and ESTRING parsers |
|---|---|
|
For example, if the message is Of course, usually it is better to parse the different values separately, like
this: If the username or the group may contain non-alphanumeric characters, you can
either include these in the second parameter of the parser (as shown at the
beginning of this example), or use an ESTRING parser to parse the message till the
next whitespace: |
7.8. Procedure – Using parser results in filters and templates
Purpose:
The results of message classification and parsing can be used in custom filters and
file and database templates as well. There are two built-in macros in SSB that
allow you to use the results of the classification: the
.classifier.class macro contains the class assigned to the
message (for example violation, security, or unknown), while the
.classifier.rule_id macro contains the identifier of the
message pattern that matched the message.
![]() |
Note |
|---|---|
ID of the message pattern is automatically inserted into the template if the messages are forwarded to an SQL database. |
To use these macros as filters in a log path, complete the following procedure:
Steps:
Navigate to and select the log path to use.
To filter on a specific message class, select , select
, then select the class to match
(for example Violation) from the
field.
To filter on messages matching a specific classification rule, , select
, then enter the unique
identifier of the rule (for example
e1e9c0d8-13bb-11de-8293-000c2922ed0a) into the
field.
![]() |
Note |
|---|---|
To filter messages based on other classification data like tags, you have to use Custom filters. For details, see Section 5.4.3, Filtering messages. |
Click .
Similarly, the results of pattern parsers can be used as well. To accomplish this, you have to add a name to the parser, and then you can use this name as a macro that refers to the parsed value of the message.
For example, you want to parse messages of an application that look like
"Transaction: <type>.", where
<type> is a string that has different values (for example
refused, accepted, incomplete, and so on). To parse these messages, you can use the
following pattern:
'Transaction: @ESTRING::.@'
Here the @ESTRING@ parser parses the message until the next full stop character. To use the results in a filter or a filename template, include a name in the parser of the pattern, for example:
'Transaction:
@ESTRING:TRANSACTIONTYPE:.@'
After that, add a custom template to the logpath that uses this template. For example, to
select every accepted transaction, use the following custom filter in
the log path:
match("accepted" value("TRANSACTIONTYPE"));
![]() |
Note |
|---|---|
The above macros can be used in database columns and filename templates as well, if you create custom templates for the destination or logspace. |
Carefully unpack all server components from the packing cartons. The following items should be packaged with the syslog-ng Store Box:
A syslog-ng Store Box appliance, preinstalled with the latest syslog-ng Store Box firmware.
syslog-ng Store Box accessory kit, including the following:
Delivery note
syslog-ng Store Box License Agreement
syslog-ng Store Box Certificate (includes the purchased license and support options, BIOS and IPMI passwords, and support contact details)
syslog-ng Store Box Hardware Installation Guide
Rackmount
Power cable
This leaflet describes how to set up the syslog-ng Store Box (SSB) hardware. Refer to the following documents for step-by-step instructions:
syslog-ng Store Box SSB1000: For details on installing SSB into a rack, see the SC811 CHASSIS Series User's Manual, Chapter 6: Rack Installation. For details on connecting the cables to SSB see the X8SIE/X8SIE-F/X8SIE-LN4/X8SI6-F User's Manual, Section 2-5 Connectors/IO Ports.
syslog-ng Store Box SSB1000d and SAN Connect: For details on installing SSB into a rack, see the SC825M CHASSIS Series User's Manual, Chapter 5: Rack Installation. For details on connecting the cables to SSB see the X8DT3/X8DTi/X8DT3-F/X8DTi-F/X8DT3-LN4F/X8DTi-LN4F User's Manual, Section 2-5 Control Panel Connectors/IO Ports.
syslog-ng Store Box SSB5000, and SSB10000 : For details on installing SSB into a rack, see the SC826 CHASSIS Series User's Manual, Chapter 6: Rack Installation. For details on connecting the cables to SSB see the X8DT3/X8DTi/X8DT3-F/X8DTi-F/X8DT3-LN4F/X8DTi-LN4F User's Manual, Section 2-5 Control Panel Connectors/IO Ports.
The manuals are available online at the BalaBit Hardware Documentation page.
For details on how to install a single SSB unit, see Procedure 2.1, Installing the SSB hardware.
For details on how to install a two SSB units in high availability mode, see Procedure 2.2, Installing two SSB units in HA mode.
If you have an external storage module, and you have purchased the SSB SAN Connect edition, see Procedure 2.3, Installing a SAN storage module to SSB.
2.1. Procedure – Installing the SSB hardware
Purpose:
To install a single SSB unit, complete the following steps.
Steps:
Unpack SSB.
Optional step: Install SSB into a rack with the slide rails. Slide rails are available for all SSB appliances.
Connect the cables.
Connect the Ethernet cable facing your LAN to the Ethernet connector
labeled as EXT. This is the external interface of
SSB and is used to configure SSB. (For details on the roles of the different interfaces, see Section 2.5, Network interfaces.)
Connect an Ethernet cable that you can use to remotely support the SSB hardware to the IPMI interface of SSB. For details, see the following documents:
The Onboard BMC/IPMI User's Guide, available at the BalaBit Hardware Documentation page.
It is not necessary for the IPMI interface to be accessible from the Internet, but the administrator of SSB must be able to access it for support and troubleshooting purposes in case vendor support is needed.
![]() |
Warning |
|---|---|
Access to information available only via the IPMI interface is a not mandatory, but highly recommended to speed up the support and troubleshooting processes. |
Optional step: Connect the Ethernet cable to be used
for managing SSB after its initial configuration to the Ethernet
connector labeled as MGMT. This is the management
interface of SSB. (For details on the roles of the
different interfaces, see Section 2.5, Network interfaces.)
Optional step: Connect the Ethernet cable connecting
SSB to another SSB node to the Ethernet connector labeled
as HA. This is the high availability (HA) interface
of SSB. (For details on the roles of the different
interfaces, see Section 2.5, Network interfaces.)
Power on the hardware.
Change the BIOS and IPMI passwords on the syslog-ng Store Box. The original passwords are printed on the syslog-ng Store Box Certificate received from BalaBit.
Connect to the SSB web interface from a client machine and complete the Welcome Wizard. This might require you to configure an alias interface on the client machine. Step 5 is described in detail in Chapter 3, The Welcome Wizard and the first login.
![]() |
Note |
|---|---|
The syslog-ng Store Box Administrator Guide is available on the SSB on the BalaBit Documentation page. |
2.2. Procedure – Installing two SSB units in HA mode
Purpose:
To install SSB with high availability support, complete the following steps.
Steps:
For the first SSB unit, complete Procedure 2.1, Installing the SSB hardware.
For the second SSB unit, complete Steps 1-2 of Procedure 2.1, Installing the SSB hardware.
Connect the two units with an Ethernet cable via the Ethernet connectors labeled
as HA.
Power on the second unit.
Connect to the SSB web interface of the first unit from a client machine and enable the high availability mode. Navigate to . Click , then reload the page in your browser.
Reboot the slave unit, then reboot the master unit. Wait a few minutes until the master unit boots, then reload the page in your browser.
Wait until the slave unit synchronizes its disk to the master unit. Depending on the size of the hard disks, this may take several hours. You can increase the speed of the synchronization via the SSB web interface at .
2.3. Procedure – Installing a SAN storage module to SSB
Purpose:
If you have an external storage module, and you have purchased the SSB SAN Connect edition, complete the following steps.
Steps:
Install the SSB unit(s) as described in Procedure 2.1, Installing the SSB hardware. If you have purchased two units for high availability, complete Procedure 2.2, Installing two SSB units in HA mode.
Connect iSCSI port of SSB to the storage module with a crosslink cable.
![]() |
Warning |
|---|---|
If you have two SSB SAN Connect units in high availability mode, and your storage module has multiple iSCSI controllers, connect both units to the same controller, otherwise the second SSB unit might not be able to access the storage module after a failover. |
Power on the storage module hardware.
Configure the storage module to accept connections from SSB. Refer the manual of your storage module for details.
Power on the SSB hardware.
Configure SSB to access the storage module. For details, see Procedure 3.3, Configuring storage access in SSB and Section 4.6, Managing SAN access in SSB.
Refer to the Setup Troubleshooting chapter of the respective guide if you encounter any problems. If you still experience problems, contact the BalaBit Support Team via phone or e-mail:
Support e-mail address: <support@balabit.com>.
Support hotline: +36 1 371 0540 (available from 9 AM to 5 PM CET on weekdays)
If you have already registered your product on the MyBalaBit website, submit your support request using the BalaBit Online Support System. This online support service is available 24 hours a day.
This tutorial describes the possibilities and limitations of installing syslog-ng Store Box (SSB) 2 F1 as a virtual appliance under a VMware ESXi server.
Version 2 F1 of SSB has no special support for running under VMware. While the basic functionality of SSB is not affected by running as a virtual appliance, the following limitations apply:
SSB can use only the fixed disk space assigned to the virtual host during its installation: it is not possible to modify the size of the disks later, neither can SSB be used in on-demand disk allocation scenarios.
SSB currently does not comply with the VMware Ready program and does not have vmware-tools installed. As a result, SSB does not support VMotion and it is not possible to integrate it into an existing VMware infrastructure.
High availability mode is not supported in VMware.
Hardware-related alerts and status indicators of SSB may display inaccurate information, for example, display degraded RAID status.
3.2. Procedure – Installing SSB under VMware ESXi
Purpose:
To install a new SSB under VMware ESXi, complete the following steps:
![]() |
Warning |
|---|---|
SSB can be installed under VMware ESXi 4.0 or later, earlier VMware versions are not supported. |
Steps:
Create the virtual machine for SSB using the following settings:
Guest operating system:
Allocate memory for the virtual machine. SSB requires a minimum of 512MB of memory. The recommended size for the memory depends on the exact environment, but consider the following:
The base system requires 256MB
The syslog-ng server running on SSB requires about 128MB-1GB of memory, depending on the message load and on the configuration of SSB.
For every log space, SSB requires memory to index the incoming messages. The amount of memory allocated for the indexer can be set individually for every log space.
Using more than 8GB of memory is not supported under VMware, with 4GB being adequate for most tasks.
The hard disk controller must be .
Do not use RAID for the hard disk, a single hard disk is sufficient for the system.
SSB uses a single fixed-sized disk. About 5GB is required for the base system, the remaining disk space is used to store data. Use one of the following disk sizes (in GB): 8, 12, 68, 160, 230, 250, 465, 500, 925, 1029, 2053, 3077, 4101, 4645, 5125, 6149, 7173, 8197, 9205.
SSB network cards must be .
After creating the virtual machine, edit the settings of the machine. Set the following options:
Under enable the options, otherwise the SSB administrator will not be able to access these functions from the SSB web interface.
Under enable the option. This is required to be able to check the system time (and modify it if needed) before installing SSB.
Under enable the option.
Login to your MyBalaBit account and download the latest syslog-ng Store Box installation ISO file. Note that you need to have purchased SSB as a virtual appliance or have partner access to download syslog-ng Store Box ISO files. If you are a partner but do not see the ISO files, you can request partner access within MyBalaBit.
Mount the ISO image and boot the virtual machine. Follow the on-screen instructions to install SSB.
BalaBit IT Security Ltd.
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 Preimium Edition under this License Contract.
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 Store Box License Contract. |
| Product Documentation | Any documentation referring to the BalaBit syslog-ng Store Box or any module thereof, with special regard to the administration guide, the product description, the installation guide, user guides and manuals. |
| Protected Servers | Host computers located in the zones protected by BalaBit syslog-ng Store Box that have their administrative traffic controlled or audited by BalaBit syslog-ng Store Box. |
| Protected Objects | The entire BalaBit syslog-ng Store Box software including all of its modules, all the related Product Documentation; the source code, the structure of the databases, all registered information reflecting the structure of the BalaBit syslog-ng Store Box and all the adaptation and copies of the Protected Objects that presently exist or that are to be developed in the future, or any product falling under the copyright of BalaBit. |
| BalaBit syslog-ng Store Box | The BalaBit Product designed for controlling and auditing server administration traffic as defined by the Product Description. |
| Warranty Period | The period of twelve (12) months from the date of delivery of the BalaBit syslog-ng Store Box to Licensee. |
| Territory | The countries or areas specified above in respect of which Licensee shall be entitled to install and/or use BalaBit syslog-ng Store Box. |
| End-user Certificate | The document signed by Licensor which contains a) identification data of Licensee; b) configuration of BalaBit syslog-ng Store Box, number of Protected Servers and designation of Licensed modules thereof; c) designation of the Territory; d) declaration of the parties on accepting the terms and conditions of this License Contract; and e) declaration of Licensee that is in receipt of the install media and the hardware appliance. |
Table 4.1. Words and expressions
For the BalaBit syslog-ng Store Box licensed 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 Store Box in the in the configuration and in the quantities specified in the End-user Certificate within the Territory.
On the install media (firmware CD-ROM) all modules of the BalaBit syslog-ng Store Box will be presented, however, Licensee shall not be entitled to use any module which was not Licensed to it. Access rights to modules and IP connections are controlled by an “electronic key” accompanying the BalaBit syslog-ng Store Box.
Licensee shall be entitled to make one back-up copy of the install media containing the BalaBit syslog-ng Store Box.
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 Store Box that may differ or allegedly differs from the License conditions.
Licensee shall not modify the BalaBit syslog-ng Store Box in 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 Store Box according to the provisions defined for it by BalaBit. Licensee may not modify or cancel such codes. Configuration settings of the BalaBit syslog-ng Store Box in 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 Store Box exceeding the limits and restrictions defined in this License Contract shall qualify as material breach of the License Contract.
The Number of Protected Servers 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 Store Box under the terms and conditions of this License Contract. Any Authorized Subsidiary utilizing any service of the BalaBit syslog-ng Store Box will 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 Store Box and 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 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.
In case of negligent infringement of BalaBit’s rights with respect to the BalaBit syslog-ng Store Box, 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 BalaBit Product or (iii) use of the BalaBit Product in an unauthorized manner for which it was not designed.
The number of the Protected Servers, 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 Store Box, 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 Store Box. 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 Store Box 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 Store Box 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 Store Box 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 (for example 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 auditing policy determines which events are logged on host running Microsoft Windows operating systems.
The process of verifying the authenticity of a user or client before allowing access to a network system or service.
The old syslog protocol standard described in RFC 3164 The BSD syslog Protocol. 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 logspace or a remote database or server where the log messages are stored.
A communication method that syslog-ng uses to send log messages to a destination, for example to a remote server or to the hard disk.
A destination that sends log messages to a remote host (that is, a syslog-ng relay or server) using a network connection.
A destination that transfers log messages to a logspace.
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, for example
balabit.com.
The external interface (labeled EXT)
is used for general communication between the clients and the servers. If the management
interface is not configured, the external interface is used for management
purposes as well.
An expression that selects only those message from a source that match the conditions set in the filter.
A firmware is a collection of the software components running on SSB. Individual software components cannot be upgraded on SSB, only the entire firmware. SSB contains two firmwares, an external (or boot) firmware and an internal (or core) firmware. These can be upgraded separately.
A device that connect two or more parts of the network, for example your local intranet and the external network (the Internet). Gateways act as entrances into other networks.
High Availability (HA) uses a second SSB unit (called slave node) to ensure that the services are available even if the first unit (called master node) breaks down.
A computer connected to the network.
A name that identifies a host on the network. Hostnames can contain only alphanumerical characters (A-Z, a-z, 0-9) and the hyphen (-) character.
The HA interface (labeled HA) is an
interface reserved for communication between the nodes of SSB
clusters.
The syslog-protocol standard developed by the Internet Engineering Task Force (IETF), described in RFC 5424 The BSD syslog Protocol.
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 Lightweight Directory Access Protocol (LDAP), is an application protocol for querying and modifying data using directory services running over TCP/IP.
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, sign, compress, and timestamp log messages.
A host or network device (including syslog-ng clients and relays) that sends logs to the syslog-ng Store Box. Log source hosts can be servers, routers, desktop computers, or other devices capable of sending syslog messages or running syslog-ng.
See log source host.
The management interface (labeled
MGMT) is used exclusively for communication between
SSB and the auditor or the administrator of the syslog-ng Store Box.
The active SSB unit that is collecting the log messages when SSB is used in High Availability mode.
A network computer storing the IP addresses corresponding to domain names.
An SSB unit running in High Availability mode.
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 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. For example: SSH commonly uses port 22, web servers (HTTP) use port 80, and so on.
An authentication method that uses encryption key pairs to verify the identity of a user or a client.
A redundant Heartbeat interface is a virtual interface that uses an existing interface of the SSB device to detect that the other node of the SSB cluster is still available. The virtual interface is not used to synchronize data between the nodes, only Heartbeat messages are transferred.
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.
An abbreviation of the syslog-ng Store Box name.
The passive SSB unit that replaces the active unit (the master node) if the master becomes unavailable.
A way for SSB to receive syslog messages.
A source that receives log messages from a remote host using a network connection. The UDP, TCP, and TLS methods are supported using the BSD-syslog and the IETF-syslog protocols.
A source that receives log messages locally from SSB.
A communication method used to receive log messages.
Simple Network Management Protocol (SNMP) is an industry standard protocol used for network management. SSB can receive SNMP messages from remote hosts and convert them to syslog messages, and can also send its own SNMP traps to a central SNMP server.
A split brain situation occurs when for some reason (for example the loss of connection between the nodes) both nodes of a SSB cluster become active (master). This might cause that new data (for example log messages) is created on both nodes without being replicated to the other node. Thus, it is likely in this situation that two diverging sets of data are created, which cannot be trivially merged.
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 SSB 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, like SSB.
Transport Layer Security (TLS) and its predecessor, Secure Sockets Layer (SSL), are cryptographic protocols which provide secure communications on the Internet. The syslog-ng application can encrypt the communication between the clients and the server using TLS to prevent unauthorized access to sensitive log messages.
A user-defined structure that can be used to restructure log messages or automatically generate file names.
A command that shows all routing steps (the path of a message) between two hosts.
© 2007-2011 BalaBit IT Security
Please send your comments or documentation bugs to: documentation@balabit.com