BSD Ports

sysutils/syslog-ng 4.8.2_1 DragonFly

Powerful syslogd replacement

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
GPLv2+, LGPL21+
Categories
sysutils
Package size
1050.7 KiB, 5276.2 KiB installed

Description

syslog-ng is an enhanced log daemon, supporting a wide range of input and output methods: syslog, unstructured text, message queues, databases (SQL and NoSQL alike) and more.

Key features:

* receive and send RFC3164 and RFC5424 style syslog messages * work with any kind of unstructured data * receive and send JSON formatted messages * classify and structure logs with builtin parsers (csv-parser(), db-parser(), ...) * normalize, crunch and process logs as they flow through the system * hand on messages for further processing using message queues (like AMQP), files or databases (like PostgreSQL or MongoDB).

The official home page of syslog-ng is:

In the other systems

SystemPortVersion
DragonFlysysutils/syslog-ng4.8.2_1
FreeBSDsysutils/syslog-ng4.12.0_5
OpenBSDsysutils/syslog-ng3.38.1p2
NetBSDsysutils/syslog-ng3.38.1nb4
HardenedBSDsysutils/syslog-ng4.12.0_5
GhostBSDsysutils/syslog-ng4.12.0_5
OPNsensesysutils/syslog-ng4.12.0

Install

Binary package:

pkg install syslog-ng

From DPorts:

cd /usr/dports/sysutils/syslog-ng && make install clean

Dependencies

Run dependencies 8

No port depends on this one.

Configuration

No options to configure.

Service scripts
none

Message after installing

syslog-ng is now installed!  To replace FreeBSD's standard syslogd
(/usr/sbin/syslogd), complete these steps:

1. Create a configuration file named /usr/local/etc/syslog-ng.conf
   (a sample named syslog-ng.conf.sample has been included in
   /usr/local/etc). Note that this is a change in 2.0.2
   version, previous ones put the config file in
   /usr/local/etc/syslog-ng/syslog-ng.conf, so if this is an update
   move that file in the right place

2. Configure syslog-ng to start automatically by adding the following
   to /etc/rc.conf:

        syslog_ng_enable="YES"

3. Prevent the standard FreeBSD syslogd from starting automatically by
   adding a line to the end of your /etc/rc.conf file that reads:

        syslogd_enable="NO"

4. Shut down the standard FreeBSD syslogd:

     kill `cat /var/run/syslog.pid`

5. Start syslog-ng:

     /usr/local/etc/rc.d/syslog-ng start

When upgrading from before 3.29.1 these variables, if used, should be replaced:
* syslog_ng_flags replaces syslog_ng_config (syslog_ng_config still works),
* syslog_ng_pidfile replaces syslog_ng_pid (syslog_ng_pid still works).