Hi,
There's one post similar to your problem closed 3 year ago so you maybe use the same version.
Take a look about the suggestions here:
Hi,
I am new to elasticsearch and logstash.
using elasticsearch-1.1.1 and logstash-1.4.2-1 with Kibana.
Its a single node with 4 vCPU and 30GB of physical memory.
Currently logstash (single node) receive logs from 40 jboss servers.
Most of the time elasticsearch use almost all the CPU resource.
Is there any way I can limit the CPU consumption by tuning?
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
12216 elastics 20 0 514g 19g 3.6g S 389.8 63.5 3224:32 /usr/b…
I also get some high CPU with recent version and reindexing monthly index in yearly help to fix.
I reduce the number of index.