参数调整

elasticsearch.yml配置文件里面,调整http.max_content_length: 500mb 这个默认就100m 建议调大 之前有过报错

 #如果队列满了logstash就会报错LogStash::Inputs::Beats::InsertingToQueueTakeTooLong,解决办法

curl -XPUT 'http://10.19.192.69:9200/_cluster/settings' -d '{
    "transient": {
        "threadpool.index.type": "fixed",
        "threadpool.index.size": 100,
        "threadpool.index.queue_size": 3000
    }
}'


或者在配置文件里添加
 threadpool.index.type: fixed
 threadpool.index.size: 100
 threadpool.index.queue_size: 3000

 文章转载http://niubidian.top/blog/show/27/

相关文章:

  • 2021-08-19
  • 2021-12-14
  • 2022-12-23
  • 2021-09-07
  • 2021-12-16
  • 2022-12-23
猜你喜欢
  • 2021-12-28
  • 2021-10-02
  • 2022-12-23
  • 2022-03-05
  • 2022-03-09
  • 2021-11-29
  • 2021-08-08
相关资源
相似解决方案