graylog-labs / graylog-plugin-internal-logs

Graylog plugin to record internal logs of Graylog efficiently instead of sending them over the network
GNU General Public License v3.0
12 stars 4 forks source link
graylog graylog-plugin internal-logs

Internal Logs Input Plugin for Graylog

Github Downloads GitHub Release Build Status

This plugin provides an input for recording Graylog's internal log messages in Graylog itself in an efficient way.

Caveats

Since this input is only started after Graylog has been initialized, it will currently not record log messages which have been emitted before the input has been started.

Installation

Download the plugin and place the JAR file in your Graylog plugin directory. By default the plugin directory is the plugins/ directory relative to your Graylog installation directory and can be configured in your graylog.conf file.

Restart Graylog and you are done.

Build

This project is using Maven and requires Java 8 or higher.

You can build the plugin (JAR) with mvn package.

DEB and RPM packages can be build with mvn jdeb:jdeb and mvn rpm:rpm respectively.

Plugin Release

In order to release a new version of the plugin, run the following commands:

$ mvn release:prepare
$ mvn release:perform

This sets the version numbers, creates a tag and pushes to GitHub.

Travis CI will build the release artifacts and upload to GitHub automatically.

License

Copyright (c) 2016-2018 Graylog, Inc.

This library is licensed under the GNU General Public License, Version 3.0.

See https://www.gnu.org/licenses/gpl-3.0.html or the LICENSE.txt file in this repository for the full license text.