How limit CPU usage of Logstash?

Viewed 22

I use Logstash version 8.4.0 and java version 11.0.6 and Ubuntu version 22.04. My system has 8 cores and when I run logstash with a supervisor with 2 workers, all cores of the system use 100%. I want to know how can I limit CPU usage of logstash.

Here I uploaded a picture of my htop system.

picture1

0 Answers
Related