What would be the best heap space setting for Logstash?


(Amruth) #1

Hi,

Can someone please suggest me the -Xms and -Xms heap space settings for Logstash should be?

Thanks


(Ry Biesemeyer) #2

@amruth unfortunately, the answer is "it depends", but we try to have sensible defaults for getting started; here are a few of the many things to consider:

  • Are you experiencing pain with your current settings (e.g., is the heap underutilised, are you running out of memory, are you experiencing frequent GC pauses)?
  • How big is each event (bytes, kilobytes, megabytes) ?
  • What is the volume of events (e.g., tens per second, tens of thousands per second)?
  • How much enrichment does your pipeline do to the events?

(system) #3

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.