搭建elk日志收集,两台es服务做集群。
logstash的配置为
output
{
if [type] =="union_user" {
elasticsearch {
hosts => ["10.10.1.167:9200","10.10.1.166:9200"]
index => "union_user-%{+YYYY-MM-dd}"
}
stdout
{
codec => "json"
}
}
}
出现了无法同步日志的情况,抛出的异常日志为
{:timestamp=>"2016-04-12T18:42:17.075000+0800", :message=>"retrying failed action with response code: 429", :level=>:warn}
{:timestamp=>"2016-04-12T18:42:17.131000+0800", :message=>"retrying failed action with response code: 429", :level=>:warn}
造成这种现象的原因是什么呢,如何解决?