Logstash Collector (logstashCollector)
Logstash collector gathers data from various sources and forwards the data to a logstash server using Lumberjack protocol.
Name | Type | Default | Description |
---|---|---|---|
hostName | string | Host name of the logstash server. | |
jsonAccessLogFields |
| default | Use this attribute to choose between using access log fields specified in the accessLogging logFormat property or the default access log fields. |
maxEvents | int | 0 | Specifies the maximum number of events to be sent per second. If you specify a value greater than zero, then it will be used for throttling the events. |
maxFieldLength | int | 2048 | Specifies maximum number of characters for the message field associated with the events for various sources. If you specify a value of 0 or -1, the maximum number of characters is unlimited. |
port | int | Port number of the logstash server. | |
source | string | message | Specifies a list of comma-separated sources that are used by the logstash collector. Valid values are message, trace, accessLog, ffdc, garbageCollection, and audit. To use the audit source, enable the Liberty audit feature. Enable access logs by setting an accessLogging element for your httpEndpoint. |
sslRef | A reference to top level ssl element (string). | Specifies an ID of the SSL repertoire that is used to connect to the logstash server. | |
tag | string | Specifies the tags that are associated with the events from various sources. |