# 使用 Homebrew, apk, apt, dnf, MacPorts, pacman, zypper 安装 syslog-ng

查看 syslog-ng 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:syslog-ng
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install syslog-ng
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install syslog-ng
```

  证据: MacPorts ports tree: sysutils/syslog-ng/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add syslog-ng
```

  证据: Alpine Linux edge package indexes: syslog-ng from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install syslog-ng
```

  证据: Debian stable package indexes: syslog-ng from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install syslog-ng
```

  证据: Fedora Rawhide package metadata: syslog-ng from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- pacman (92%):

```sh
sudo pacman -S syslog-ng
```

  证据: Arch Linux sync databases: syslog-ng from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install syslog-ng
```

  证据: openSUSE Tumbleweed package metadata: syslog-ng from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## 软件包事实

- **软件包键:** brew:syslog-ng
- **软件包管理器:** Homebrew
- **版本:** 4.12.0
- **来源摘要:** Log daemon with advanced processing pipeline and a wide range of I/O methods
- **主页:** <https://www.syslog-ng.com>
- **仓库:** <https://github.com/syslog-ng/syslog-ng>
- **最后更新:** 2026-07-23T12:28:17Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- dqtool (别名)
- loggen (别名)
- pdbtool (别名)
- persist-tool (别名)
- syslog-ng (别名)
- syslog-ng-ctl (别名)
- syslog-ng-debun (别名)
- syslog-ng-update-virtualenv (别名)
- update-patterndb (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 4.12.0
## 项目历史与用法

syslog-ng is an enhanced syslog daemon for Unix-like systems, used to receive, filter, parse, transform, route, and store system and application logs.

### 项目历史

The project is associated with Balazs Scheidler, named by the upstream repository as the original creator and main developer. An official syslog-ng community post quotes Scheidler saying he began coding the first version in September 1998, after which the project grew from a syslogd replacement into a broader log-processing pipeline.

The upstream README describes syslog-ng as supporting classic syslog formats, JSON and unstructured input, parsers, files, message queues, SQL and NoSQL databases, and big-data destinations. It also notes Balabit as the original commercial sponsor and One Identity as the owner after Balabit's 2018 acquisition.

### 采用历史

The syslog-ng README says it is integrated into almost all Linux distributions and BSDs. The official community post says early adoption included Debian, Gentoo, SUSE, commercial Unix systems, default logging-daemon roles in some distributions, and embedding in commercial products.

The supplied package-manager facts list syslog-ng across Homebrew, Debian, Ubuntu, Fedora/dnf, Alpine/apk, Arch/pacman, MacPorts, and openSUSE/zypper, which matches its long-lived role as a portable logging component.

### 使用方式

Package users typically install the daemon, edit syslog-ng.conf, then run syslog-ng or service-manager integration to collect local logs, accept network syslog, and forward or store the resulting event stream.

Its companion commands such as loggen, pdbtool, persist-tool, and syslog-ng-ctl matter to operators because packaging the project gives more than a daemon: it gives test generators, pattern-database tooling, control commands, and migration helpers.

### 为什么软件包爱好者会关心

syslog-ng matters in package-manager culture because logging is infrastructure glue: distributions need a daemon with stable config paths, service integration, optional modules, and sane defaults.

It is also a classic example of a package whose value depends on compile-time feature detection and optional dependencies; packagers care about which destinations, parsers, TLS, database, and message-queue modules are enabled.

### 时间线

- 1998: Balazs Scheidler began coding the first version of syslog-ng.
- 2018: One Identity acquired Balabit, the original commercial sponsor named by the upstream README.
- 2026: The upstream README describes syslog-ng as integrated into almost all Linux distributions and BSDs.

### Related projects

- syslog-ng sits in the syslog/log-processing family alongside traditional syslogd-style daemons and modern telemetry pipelines; the upstream README explicitly points to destinations such as Elasticsearch, Kafka, Hadoop, PostgreSQL, and MongoDB.

### 来源

- <https://github.com/syslog-ng/syslog-ng>
- <https://www.syslog-ng.com/community/b/blog/posts/the-syslog-ng-insider-2022-01-reboot-sequence-monterey-centos-9>
- source_facts.package-manager


## 安全说明

broad file, network, media, or database tool signal.

- **Geiger 风险:** blue / 中
- broad file, network, media, or database tool signal


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: /etc/syslog-ng/syslog-ng.conf
## 其他软件包管理器记录

- Debian apt - syslog-ng - 4.8.1-5+deb13u1: normalized package name match | Debian stable package indexes: syslog-ng from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Enhanced system logging daemon (metapackage) | https://www.syslog-ng.com/
- Debian apt - syslog-ng-core - 4.8.1-5+deb13u1: normalized package name match | Debian stable package indexes: syslog-ng-core from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Enhanced system logging daemon (core) | https://www.syslog-ng.com/
- Debian apt - syslog-ng-dbg - 4.8.1-5+deb13u1: normalized package name match | Debian stable package indexes: syslog-ng-dbg from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Enhanced system logging daemon (debug symbols) | https://www.syslog-ng.com/
- Debian apt - syslog-ng-dev - 4.8.1-5+deb13u1: normalized package name match | Debian stable package indexes: syslog-ng-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Enhanced system logging daemon (development files) | https://www.syslog-ng.com/
- Debian apt - syslog-ng-mod-add-contextual-data - 4.8.1-5+deb13u1: normalized package name match | Debian stable package indexes: syslog-ng-mod-add-contextual-data from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Enhanced system logging daemon (add-contextual-data plugin) | https://www.syslog-ng.com/
- Debian apt - syslog-ng-mod-amqp - 4.8.1-5+deb13u1: normalized package name match | Debian stable package indexes: syslog-ng-mod-amqp from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Enhanced system logging daemon (AMQP plugin) | https://www.syslog-ng.com/
- Debian apt - syslog-ng-mod-examples - 4.8.1-5+deb13u1: normalized package name match | Debian stable package indexes: syslog-ng-mod-examples from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Enhanced system logging daemon (example plugins) | https://www.syslog-ng.com/
- Debian apt - syslog-ng-mod-extra - 4.8.1-5+deb13u1: normalized package name match | Debian stable package indexes: syslog-ng-mod-extra from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | transitional package | https://www.syslog-ng.com/
- Debian apt - syslog-ng-mod-geoip2 - 4.8.1-5+deb13u1: normalized package name match | Debian stable package indexes: syslog-ng-mod-geoip2 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Enhanced system logging daemon (GeoIP2 plugin) | https://www.syslog-ng.com/
- Debian apt - syslog-ng-mod-graphite - 4.8.1-5+deb13u1: normalized package name match | Debian stable package indexes: syslog-ng-mod-graphite from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Enhanced system logging daemon (graphite plugin) | https://www.syslog-ng.com/
- Debian apt - syslog-ng-mod-http - 4.8.1-5+deb13u1: normalized package name match | Debian stable package indexes: syslog-ng-mod-http from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Enhanced system logging daemon (HTTP destination) | https://www.syslog-ng.com/
- Debian apt - syslog-ng-mod-mongodb - 4.8.1-5+deb13u1: normalized package name match | Debian stable package indexes: syslog-ng-mod-mongodb from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Enhanced system logging daemon (MongoDB plugin) | https://www.syslog-ng.com/
- Debian apt - syslog-ng-mod-python - 4.8.1-5+deb13u1: normalized package name match | Debian stable package indexes: syslog-ng-mod-python from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Enhanced system logging daemon (Python plugin) | https://www.syslog-ng.com/
- Debian apt - syslog-ng-mod-rdkafka - 4.8.1-5+deb13u1: normalized package name match | Debian stable package indexes: syslog-ng-mod-rdkafka from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Enhanced system logging daemon (Kafka destination, based on librdkafka) | https://www.syslog-ng.com/
- Debian apt - syslog-ng-mod-redis - 4.8.1-5+deb13u1: normalized package name match | Debian stable package indexes: syslog-ng-mod-redis from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Enhanced system logging daemon (Redis plugin) | https://www.syslog-ng.com/
- Debian apt - syslog-ng-mod-riemann - 4.8.1-5+deb13u1: normalized package name match | Debian stable package indexes: syslog-ng-mod-riemann from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Enhanced system logging daemon (Riemann destination) | https://www.syslog-ng.com/


## Combined YAML source

View the package source record on GitHub. [combined/syslog-ng.yml](https://github.com/mxcl/pkgdb/blob/main/combined/syslog-ng.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
