This message filter plugin can be used to do DNS lookups for the source
field in Graylog messages.
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 3 and requires Java 7 or higher. The plugin will require Graylog 1.0.0 or higher.
- Clone this repository.
- Run
mvn package
to build a JAR file. - Optional: Run
mvn jdeb:jdeb
andmvn rpm:rpm
to create a DEB and RPM package respectively. - Copy generated jar file in target directory to your Graylog2 server plugin directory.
- Restart the Graylog server.