Logstash slow processing

Hey Hi Team,

Want to know the current number of queued events in logstash using an http server being introduced in logstash 5.0. Aside to this I can see my logstash processing slow. I want to know the reason behind this. Please see below is my jvm status.
curl -s localhost:9600/_node/jvm?pretty

  "host" : "ip-172-13-19-58",
  "version" : "5.1.1",
  "http_address" : "127.0.0.1:9600",
  "id" : "aca42774-1c03-4cd1-b93e-72e33cdd7401",
  "name" : "ip-172-31-9-158",
  "jvm" : {
    "pid" : 23951,
    "version" : "1.8.0_111",
    "vm_name" : "OpenJDK 64-Bit Server VM",
    "vm_version" : "1.8.0_111",
    "vm_vendor" : "Oracle Corporation",
    "start_time_in_millis" : 1490867448456,
    "mem" : {
      "heap_init_in_bytes" : 2147483648,
      "heap_max_in_bytes" : 2130051072,
      "non_heap_init_in_bytes" : 2555904,
      "non_heap_max_in_bytes" : 0
    },
    "gc_collectors" : [ "ParNew", "ConcurrentMarkSweep" ]
  }```

I also want to understand the difference between heap_init_in_bytes and heap_max_in_bytes. In jvm.options my conf is:-- -Xms2g
-Xmx2g

Want to know the current number of queued events in logstash

Not sure what you mean by this. Logstash doesn't queue events.

Aside to this I can see my logstash processing slow. I want to know the reason behind this.

How do you know that Logstash is your bottleneck? What kind of throughput are you getting? On what kind of hardware? What does your configuration look like?

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