elk 的报错和优化

 
参数调整

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/

原文地址:https://www.cnblogs.com/smail-bao/p/7234651.html