logstash从kafka取数往ES集群写入时候报错
我现在集群每天的日志量大概3T,55个节点,50个data node,2个client节点,3个master节点,用kafka做了缓冲,但是logstash从kafka取数写入到es的时候,总是有报错:"Attempted to send a bulk request to Elasticsearch configured at 、but an error occurred and it failed! Are you sure you can reach elasticsearch from this machine using the configuration provided?",、error_message=>"[503] {\"error\":{\"root_cause\":[{\"type\":\"cluster_block_exception\",\"reason\":\"blocked by: [SERVICE_UNAVAILABLE/2/no master];\"}],\"type\":\"cluster_block_exception\",\"reason\":\"blocked by: [SERVICE_UNAVAILABLE/2/no master];\"},\"status\":503}"
我的output配置的hosts=[这里配置了部分节点],看报错说是这个配置有问题,
不知道什么原因,大神们能帮忙看看吗?