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

Last updated: November 07,2024

1. Install "syslog-ng-mod-json" package

This is a short guide on how to install syslog-ng-mod-json on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install syslog-ng-mod-json

2. Uninstall "syslog-ng-mod-json" package

Please follow the guidance below to uninstall syslog-ng-mod-json on Ubuntu 16.04 LTS (Xenial Xerus):

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

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

Package: syslog-ng-mod-json
Priority: extra
Section: universe/admin
Installed-Size: 94
Maintainer: Ubuntu Developers
Original-Maintainer: syslog-ng maintainers
Architecture: amd64
Source: syslog-ng
Version: 3.5.6-2.1
Depends: syslog-ng-core (= 3.5.6-2.1), libc6 (>= 2.14), libjson-c2 (>= 0.10)
Filename: pool/universe/s/syslog-ng/syslog-ng-mod-json_3.5.6-2.1_amd64.deb
Size: 18020
MD5sum: 08ba992eb4751f8931c49bade7f6e40c
SHA1: 68537e6443e3b510a8bc2bd95f1d57b258495a9c
SHA256: f71f2695e72ec886410cd0d3a2f929e29be8020133acf951ae976a5e7b4a06c2
Description-en: Enhanced system logging daemon (JSON plugin)
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 provides the $(format-json) template function plugin,
which makes it possible to conveniently serialize system log messages
to JSON. Along with the template function, this module also provides
a json-parser plugin, allowing syslog-ng to parse JSON input.
Description-md5: e2ca14f18e41548ab347e7608e9d875e
Multi-Arch: foreign
Homepage: http://www.balabit.com/network-security/syslog-ng/opensource-logging-system
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu

5. The same packages on other Linux Distributions