Jvm.options - elasticsearch and logstash?

@S_Chase

Elasticsearch and Logstash have different memory requirements.

You're correct that the recommended JVM Heap allocation for Elasticsearch is 50% of available memory (up to 32GB) and it will use the remaining memory for caching, which improves query performance.

Logstash uses memory differently and usually requires less than Elasticsearch. Logstash is essentially a data processing queue. It holds small batches of events in memory before processing them and shipping them to Elasticsearch. Many installations use the default 1GB. You may need to increase this if you plan to hold more events in the queue at once, or if you plan to use a large translation dictionary.

See also this discussion: Logstash OOM - understanding heap sizing