How to Install and Uninstall syslog-ng Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: November 07,2024

1. Install "syslog-ng" package

This tutorial shows how to install syslog-ng on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install syslog-ng

2. Uninstall "syslog-ng" package

In this section, we are going to explain the necessary steps to uninstall syslog-ng on Ubuntu 16.04 LTS (Xenial Xerus):

$ sudo apt remove syslog-ng $ sudo apt autoclean && sudo apt autoremove

3. Information about the syslog-ng package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: syslog-ng
Priority: extra
Section: universe/admin
Installed-Size: 41
Maintainer: Ubuntu Developers
Original-Maintainer: syslog-ng maintainers
Architecture: all
Version: 3.5.6-2.1
Depends: syslog-ng-core (>= 3.5.6), syslog-ng-mod-sql, syslog-ng-mod-mongodb, syslog-ng-mod-json
Recommends: syslog-ng-mod-smtp, syslog-ng-mod-amqp, syslog-ng-mod-geoip, syslog-ng-mod-redis, syslog-ng-mod-stomp
Filename: pool/universe/s/syslog-ng/syslog-ng_3.5.6-2.1_all.deb
Size: 4450
MD5sum: d3f047a0335e0b345f40f8a3cb4d4164
SHA1: 2694f09c3e767aecf96b8e98e049264c72553bdb
SHA256: 5faa501a00d7dcd721ea1f253eb88cca25326a8078209d4a41d4565c0bb85a58
Description-en: Enhanced system logging daemon (metapackage)
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(), etc.)
* 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).
.
This package is a metapackage, depending on the rest of syslog-ng,
including all available plugins. It can be safely removed, if only
parts of syslog-ng need to be installed.
Description-md5: 2498a80b4edf9c00bf85d5db8c845d60
Multi-Arch: foreign
Homepage: http://www.balabit.com/network-security/syslog-ng/opensource-logging-system
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu