Logstash Collector (logstashCollector)

Logstash collector gathers data from various sources and forwards the data to a logstash server using Lumberjack protocol.

NameTypeDefaultDescription

hostName

string
Required

Host name of the logstash server.

jsonAccessLogFields

  • default

  • logFormat

default

Use this attribute to choose between using access log fields specified in the accessLogging logFormat property or the default access log fields.
default
Use the default set of access log fields.
logFormat
Use the set of access log fields that match logFormat.

maxEvents

int
Min: 0
Max: 2147483647

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
Min: -1

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
Required
Min: 1
Max: 65535

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.