Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sbadia/journalbeat-deb
Debian package for journalbeat
https://github.com/sbadia/journalbeat-deb
debian journalbeat journald log-shipping systemd
Last synced: about 2 months ago
JSON representation
Debian package for journalbeat
- Host: GitHub
- URL: https://github.com/sbadia/journalbeat-deb
- Owner: sbadia
- License: other
- Created: 2016-08-06T08:55:31.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-03-12T11:11:52.000Z (almost 7 years ago)
- Last Synced: 2024-10-19T19:42:02.636Z (3 months ago)
- Topics: debian, journalbeat, journald, log-shipping, systemd
- Language: Go
- Homepage: https://github.com/mheese/journalbeat
- Size: 887 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![Build Status](https://travis-ci.org/mheese/journalbeat.svg?branch=master)](https://travis-ci.org/mheese/journalbeat)
# Journalbeat
Journalbeat is the [Beat](https://www.elastic.co/products/beats) used for log
shipping from systemd/journald based Linux systems. It follows the system journal
very much like `journalctl -f` and sends the data to Logstash/Elasticsearch (or
whatever you configured for your beat).Journalbeat is targeting pure systemd distributions like CoreOS, Atomic Host, or
others. There are no intentions to add support for older systems that do not use
journald.## Use Cases and Goals
Besides from the obvious use case (log shipping) the goal of this project is also
to provide a common source for more advanced topics like:
- FIM (File Integrity Monitoring)
- SIEM
- Audit Logs / MonitoringThis is all possible because of the tight integration of the Linux audit events
into journald. That said _journalbeat_ can only provide the data source for
these more advanced use cases. We need to develop additional pieces for
monitoring and alerting - as well as hopefully a standardized Kibana dashboard
to cover these features.## Documentation
None so far. As of this writing, this is the first commit. There are things to
come. You can find a `journalbeat.yml` config file in the `etc` folder which
should be self-explanatory for the time being.## Install
You need to install `systemd` development packages beforehand. In a
RHEL or Fedora environment, you need to install the `systemd-devel` package, `libsystemd-dev` in debian-based systems, et al.`go get github.com/mheese/journalbeat`
**NOTE:** This is not the preferred way from Elastic on how to do it. Needs to
be revised (of course).## Caveats
A few current caveats with journalbeat
### cgo
The underlying system library [go-systemd](https://github.com/coreos/go-systemd) makes heavy usage of cgo and the final binary will be linked against all client libraries that are needed in order to interact with sd-journal. That means that
the resulting binary is not really Linux distribution independent (which is kind of expected in a way).