What would be the best heap space setting for Logstash?

Hi,

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

Thanks

@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?

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