This message filter plugin can be used to do DNS lookups for the source
field in Graylog messages.
Required Graylog version: 2.4.0 and later
Please use version 1.1.2 of this plugin if you are still running Graylog 1.x
Download the plugin
and place the .jar
file in your Graylog plugin directory. The plugin directory
is the plugins/
folder relative from your graylog-server
directory by default
and can be configured in your graylog.conf
file.
Restart graylog-server
and you are done.
The following configuration options can be added to the Graylog configuration file.
dns_resolver_enabled
-- Set totrue
if the message filter should be run. (defaultfalse
)dns_resolver_run_before_extractors
-- Set totrue
if the DNS lookup should be done before running extractors. (defaulttrue
)dns_resolver_timeout
-- The timeout for the DNS lookup. (default2s
)
This project is using Maven and requires Java 8 or higher.
You can build a plugin (JAR) with mvn package
.
DEB and RPM packages can be build with mvn jdeb:jdeb
and mvn rpm:rpm
respectively.
We are using the maven release plugin:
$ mvn release:prepare
[...]
$ mvn release:perform
This sets the version numbers, creates a tag and pushes to GitHub. TravisCI will build the release artifacts and upload to GitHub automatically.