ERR无法执行任何批量索引操作:filebeat到elasticsearch

时间:2018-04-11 11:55:11

标签: elasticsearch kibana filebeat

通过curl发送数据时我可以成功发送(从filebeat直接发送到aws elasticsearch)但是当我尝试用filebeat做类似的事情时我得到了这个错误:

2018/04/11 11:25:50.252835 reader.go:138: DBG  End of file reached: /var/log/Xorg.0.log; Backoff now.
2018/04/11 11:25:50.267537 client.go:112: ERR Failed to perform any bulk index operations: 406 Not Acceptable
2018/04/11 11:25:50.267617 single.go:77: INFO Error publishing events (retrying): 406 Not Acceptable
2018/04/11 11:25:50.267656 single.go:154: INFO send fail
2018/04/11 11:25:50.267682 single.go:161: INFO backoff retry: 1s
2018/04/11 11:25:50.270244 reader.go:138: DBG  End of file reached: /var/log/dpkg.log; Backoff now.
2018/04/11 11:25:50.311799 reader.go:138: DBG  End of file reached: /var/log/bootstrap.log; Backoff now.
2018/04/11 11:25:51.267953 client.go:297: DBG  ES Ping(url=http://x.x.x.x:80, timeout=1m30s)
2018/04/11 11:25:51.886802 client.go:306: DBG  Ping status code: 200
2018/04/11 11:25:51.889365 bulkapi.go:130: DBG  Sending bulk request to http://xx.xx.xx.xx:80/_bulk
2018/04/11 11:25:52.155389 reader.go:138: DBG  End of file reached: /var/log/apport.log; Backoff now.

我的Filebeat.yml是:

filebeat:
  prospectors:
    - 
      paths: 
        - /var/log/*.log
      enabled: false
output:
    elasticsearch:
      hosts: ["myelasticsearchip"]
      pipeline: test-pipeline

有人可以帮忙吗? 在此先感谢

0 个答案:

没有答案