How to Install and Uninstall syslog-ng-mod-mongodb Package on Ubuntu 20.10 (Groovy Gorilla)

Last updated: May 15,2024

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

This guide covers the steps necessary to install syslog-ng-mod-mongodb on Ubuntu 20.10 (Groovy Gorilla)

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

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

Please follow the instructions below to uninstall syslog-ng-mod-mongodb on Ubuntu 20.10 (Groovy Gorilla):

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

3. Information about the syslog-ng-mod-mongodb package on Ubuntu 20.10 (Groovy Gorilla)

Package: syslog-ng-mod-mongodb
Architecture: amd64
Version: 3.27.1-3build1
Multi-Arch: foreign
Priority: extra
Section: universe/admin
Source: syslog-ng
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: syslog-ng maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 108
Depends: libbson-1.0-0 (>= 1.16.1), libc6 (>= 2.14), libmongoc-1.0-0 (>= 1.16.1), syslog-ng-core (>= 3.27.1-3build1), syslog-ng-core (<< 3.27.1-3build1.1~)
Suggests: mongodb-server
Filename: pool/universe/s/syslog-ng/syslog-ng-mod-mongodb_3.27.1-3build1_amd64.deb
Size: 18240
MD5sum: 3837e1a3b6ffb1e33797cb0f797f45db
SHA1: 6086714d5babf1339259a50056719f14ca8ffbef
SHA256: 63b2afdf0b23f02d489f0a4ce8cf9d39baf5873ea5fbe231c7ccad59b28b169f
SHA512: 9111074fefd2b52f3d99fc78c5c0334a3333c0c357d74f151de718764febc6fc6ed7aa184669d4a863d9ff35913b599d3422a182e9106b9c1b598fef6f40dff8
Homepage: https://www.syslog-ng.com/
Description-en: Enhanced system logging daemon (MongoDB 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 MongoDB destination plugin, which allows
one to log system messages to MongoDB.
Description-md5: de6c1b88ea6811df480727d4384e1207