20 lines
521 B
YAML
20 lines
521 B
YAML
|
|
# Logstash node configuration.
|
||
|
|
# The pipeline itself lives in pipeline/logstash.conf.
|
||
|
|
|
||
|
|
http.host: "0.0.0.0"
|
||
|
|
node.name: logstash
|
||
|
|
|
||
|
|
# One worker per CPU is plenty for an application log stream; batching keeps
|
||
|
|
# the number of bulk requests to Elasticsearch low.
|
||
|
|
pipeline.workers: 2
|
||
|
|
pipeline.batch.size: 250
|
||
|
|
pipeline.batch.delay: 50
|
||
|
|
pipeline.ordered: false
|
||
|
|
|
||
|
|
# Persisted queue: a short Elasticsearch outage does not lose log events.
|
||
|
|
queue.type: persisted
|
||
|
|
queue.max_bytes: 256mb
|
||
|
|
|
||
|
|
log.level: info
|
||
|
|
xpack.monitoring.enabled: false
|