一、報錯:buffer flush took longer time than slow_flush_log_thresholdspa
2019-01-09 16:37:59 +0800 [warn]: #16 buffer flush took longer time than slow_flush_log_threshold: elapsed_time=21.684925531037152 slow_flush_log_threshold=20.0 plugin_id="object:3fb71aba75a0"
解決方法:去掉buffer中的 time_key參數,restartrest
二、Could not push logs to Elasticsearch, resetting connection and trying again. Connection reset by peer (Errno::ECONNRESET)code
Could not push logs to Elasticsearch, resetting connection and trying again. Connection reset by peer (Errno::ECONNRESET)
解決方法:blog
三、io