Openwire Graylog Plugin

Provides an Openwire input for Graylog using the ActiveMQ client library

Лицензия

Лицензия

Категории

Категории

Wire Данные Data Structures Graylog Библиотеки уровня приложения Logging
Группа

Группа

com.github.exabrial
Идентификатор

Идентификатор

graylog-plugin-openwire
Последняя версия

Последняя версия

1.3.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

Openwire Graylog Plugin
Provides an Openwire input for Graylog using the ActiveMQ client library
Ссылка на сайт

Ссылка на сайт

https://github.com/exabrial/graylog-plugin-openwire
Система контроля версий

Система контроля версий

https://github.com/exabrial/graylog-plugin-openwire/tree/master

Скачать graylog-plugin-openwire

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/com.github.exabrial/graylog-plugin-openwire/ -->
<dependency>
    <groupId>com.github.exabrial</groupId>
    <artifactId>graylog-plugin-openwire</artifactId>
    <version>1.3.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.exabrial/graylog-plugin-openwire/
implementation 'com.github.exabrial:graylog-plugin-openwire:1.3.0'
// https://jarcasting.com/artifacts/com.github.exabrial/graylog-plugin-openwire/
implementation ("com.github.exabrial:graylog-plugin-openwire:1.3.0")
'com.github.exabrial:graylog-plugin-openwire:jar:1.3.0'
<dependency org="com.github.exabrial" name="graylog-plugin-openwire" rev="1.3.0">
  <artifact name="graylog-plugin-openwire" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.exabrial', module='graylog-plugin-openwire', version='1.3.0')
)
libraryDependencies += "com.github.exabrial" % "graylog-plugin-openwire" % "1.3.0"
[com.github.exabrial/graylog-plugin-openwire "1.3.0"]

Зависимости

compile (1)

Идентификатор библиотеки Тип Версия
org.apache.activemq : activemq-client jar 5.16.0

provided (3)

Идентификатор библиотеки Тип Версия
com.google.auto.value : auto-value jar 1.7.4
com.google.auto.service : auto-service jar 1.0-rc7
org.graylog2 : graylog2-server jar 3.1.4

Модули Проекта

Данный проект не имеет модулей.

Graylog Plugin Openwire

Bridges ActiveMQ->Graylog

Provides an input for Graylog using the ActiveMQ client library. Openwire is the native protocol for ActiveMQ, but all valid client ActiveMQ URLs can be used.

If you use Logback inside your Java [possibly EE] applications, I have two logback appenders you can use:

Acknowledgements

The Graylog MQTT plugin lays the groundwork on how to accomplish writing your own inputs for Graylog. The code is well organized and very readable. https://github.com/graylog-labs/graylog-plugin-mqtt

License

Since Upsteam Graylog and the MQTT plugin are GPL, this project is GPL to conform with the terms of the license.

Installation

Download the plugin and place the .jar file in your Graylog plugin directory, which is usually called plugins.

cd ~
gpg --keyserver pool.sks-keyservers.net --recv-keys 871638A21A7F2C38066471420306A354336B4F0D
wget https://github.com/exabrial/graylog-plugin-openwire/releases/download/graylog-plugin-openwire-1.3.0/graylog-plugin-openwire-1.3.0.jar.asc
wget https://github.com/exabrial/graylog-plugin-openwire/releases/download/graylog-plugin-openwire-1.3.0/graylog-plugin-openwire-1.3.0.jar
gpg --verify graylog-plugin-openwire-1.3.0.jar.asc graylog-plugin-openwire-1.3.0.jar
rm graylog-plugin-openwire-1.3.0.jar.asc
sudo mv graylog-plugin-openwire-1.3.0.jar /usr/share/graylog-server/plugin/
sudo chown root:root /usr/share/graylog-server/plugin/graylog-plugin-openwire-1.3.0.jar
sudo systemctl restart graylog-server

After that step is completed, restart your server and you should have the new input options available.

Configuration

Property Name Example Purpose
brokerUrl failover:(ssl://activemq-1.example.com:61616,ssl://activemq-2.example.com:61616)?randomize=false&backup=true The ActiveMQ client URL. Any valid ActiveMQ client URL can be used.
queueName ch.qos.logback The Queue name to read logs off of.
username loguser The username to use to establish the connection to ActiveMQ.
password myPassw0rd The password to use to establish the connection to ActiveMQ.
throttling_allowed true If the graylog server gets busy, slow down this input. Recommend checking this box.

Версии библиотеки

Версия
1.3.0
1.2.0
1.1.0
1.0.2
1.0.1
1.0.0