High cpu load, just a one node working on 100%

Hi everyone, i`m newbie an elastic.
I have cluster of 3 nodes with ES 7.15.0.
Problem is just 1 node working on indexing.

curl -s -XGET -u user:pass "mv-elk-data-01:9200/_cat/thread_pool" |grep " write "
mv-elk-data-02 write                                  0   0 0
mv-elk-data-03 write                                  0   0 0
mv-elk-data-01 write                                  8 390 0

I use filebeat send logs to 2 logstash instances.

  hosts: ["", ""]
  loadbalance: true

Logstash also have all my nodes in config.
xpack.monitoring.elasticsearch.hosts: ["", "", ""]

Nodes runs in this mode:

discovery.seed_hosts: ["mv-elk-data-01", "mv-elk-data-02", "mv-elk-data-03"]
cluster.initial_master_nodes: ["mv-elk-data-01", "mv-elk-data-02", "mv-elk-data-03"]

Also my problem node(mv-elk-data-01) have the minimal count of shards, in all of 3 nodes. Maybe is the reason?

Welcome to our community! :smiley:

What does Logstash have configured to talk to Elasticsearch?

Hi, thank you for replying.
My Logstash config:

grep -ve "#" /etc/logstash/logstash.yml
path.data: /var/lib/logstash
pipeline.workers: 64
pipeline.batch.size: 1024
pipeline.batch.delay: 10
pipeline.ordered: auto
queue.type: memory
log.level: info
path.logs: /var/log/logstash
xpack.monitoring.enabled: false
xpack.monitoring.elasticsearch.username: logstash_system
xpack.monitoring.elasticsearch.password: logstash_system
xpack.monitoring.elasticsearch.hosts: ["", "", ""]

P.S. == mv-elk-data-01-03

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