Forwarder Configuration Options
The Forwarder is a feature that is exclusively available for Graylog Cloud, Graylog Security, and Graylog Enterprise. To learn more about Graylog licenses, please contact the Graylog Sales team.
The forwarder supports the following configuration options.
Setting | Requirement | Description |
---|---|---|
|
optional - defaults to |
Enables the forwarder REST API. If enabled, the API will listen on a Unix Domain Socket using the file indicated with |
|
optional - defaults to |
If the Forwarder API is enabled, it will listen on a Unix domain socket using the file, unless a |
|
optional - defaults to |
The permissions for the forwarder API domain socket file. |
|
optional |
The host and optional port number to bind the forwarder API to, e.g. 192.168.1.10 or 192.168.1.10:9090. If a port number is not specified with the host name, the default port 9001 will be used. If specified, the API will no longer listen on a Unix Domain Socket. |
|
optional - defaults to |
The interval at which configuration is retrieved from Graylog. |
|
optional - defaults to |
The remote TCP port through which a configuration and control channel is established between the forwarder and Graylog. |
|
optional - defaults to |
The API Token for authenticating the forwarder. Provided in the Forwarder Setup Wizard in Graylog. |
|
optional - defaults to |
The timeout for forwarder log message forwarding communication. |
|
optional - defaults to |
Enables compression for forwarder communication. |
|
optional - defaults to |
Enables TLS for forwarder communication. Always enable for production use. |
|
optional - defaults to |
The time to allow ongoing log message forwarding requests to complete upon forwarder shutdown. |
|
optional - defaults to |
The maximum log message size permitted through the forwarder. Log messages exceeding this size will be discarded. This value must be smaller than the same property set on the Graylog server-side of the forwarder. |
|
optional - defaults to |
The size for batches of log messages that triggers sending from the Forwarder to Graylog. Once this batch size is reached, the batch is synchronously sent to Graylog. |
|
optional - defaults to |
The maximum time to wait before sending a batch to Graylog if the configured batch size is not yet reached. |
|
optional - defaults to |
The number of simultaneous batch sender threads. Each batch sender will attempt to send one batch at a time and wait for a server-side acknowledgment before proceeding. |
|
optional |
The full path to the trust chain certificate file (e.g. |
|
optional – defaults to |
The default is 2s and appropriate for most users. But installations with a large number of Forwarders may want to increase the interval to reduce the load on the server. |
|
optional - defaults to |
The interval at which the forwarder heartbeat is sent. This tells Graylog that the forwarder is connected. |
|
optional - defaults to |
The remote TCP port to send log messages through to Graylog. |
|
required |
The Graylog Forwarder ingest hostname (e.g. |
|
optional - defaults to |
The interval at which input states and metrics are reported to Graylog. |
|
optional - defaults to |
Maximum age of message in journal. Messages older than this time will be deleted/flushed from the journal even if they have not been sent to a Graylog cluster. |
|
optional - defaults to |
Maximum size of message journal. If journal fills up, oldest messages are deleted first. |