You are troubleshooting a performance bottleneck in an ELK Stack deployment. Logstash is dropping events due to backpressure. Which configuration parameter in the Logstash pipeline file is best suited to manage the queue size and prevent memory overflow?
Trap 1: Set the log.level to error
This only affects logging output, not processing capacity.
Trap 2: Disable the Elasticsearch output plugin
Disabling output prevents log archival.
Trap 3: Change the time_zone parameter
Timezone affects metadata, not throughput.
- A
Increase the pipeline.batch.size
Batch sizing impacts throughput and memory usage during spike processing.
- B
Set the log.level to error
Why wrong: This only affects logging output, not processing capacity.
- C
Disable the Elasticsearch output plugin
Why wrong: Disabling output prevents log archival.
- D
Change the time_zone parameter
Why wrong: Timezone affects metadata, not throughput.