Getting CPU spikes because of ElasticSearch

(Yoga Sarathi) #1

I have my ELK setup like
Filebeat => Logstash => Elasticsearch(single cluster with 1 node) => Kibana

My allocated memory as followed,
Logstash - 1gb
Elasticsearch - 9gb

I have added 8 CPU for this machine.My log count average is 2.5lacs/3 hrs. above 5000/5 min. My average CPU utilization 90%. While I stop this service it drops to below 10.

Initially I had 4 CPU ,Utilization went 90%.After I increased 8CPU then also it utilizing 90% of cpu.

Can we allocate/customize no of cpu for elasticsearch. If yes how to configure it? Guide me to get rid of this issue. Thanks in advance.

(system) #2

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