找到问题的解决办法了么?

filebeat启动报错 pipeline/output.go:121 Failed to publish events: temporary bulk send failure

Beats | 作者 xiaolou | 发布于2019年04月02日 | 阅读数:7729


112.png


111.png

我在es添加了数据预处理,数据也无法导入es。
管道.jpg.png

ae4dc875fd88fdeb258c977e67f1558.png
已邀请:

bellengao - 博客: https://www.jianshu.com/u/e0088e3e2127

赞同来自:

启动filebeat时增加-e参数,进入debug模式,看看更详细的报错;或者看看es的日志

xiaolou - 超越昨天的自己

赞同来自:

111.png

 

bellengao - 博客: https://www.jianshu.com/u/e0088e3e2127

赞同来自:

grok pattern设置的不对导致解析失败,可以使用simulate api进行测试,如:
POST _ingest/pipeline/_simulate
{
  "pipeline": {
    "processors": [
      {
        "grok": {
          "field": "message",
          "patterns": [
            "%{IP:remote_ip} - -"
          ]
        }
      }
    ]
  },
  "docs": [
    {
      "_index": "index",
      "_id": "id",
      "_source": {
        "message": "222.111.111.111 - -"
      }
    }
  ]
}

xiaolou - 超越昨天的自己

赞同来自:

113.png

 

xiaolou - 超越昨天的自己

赞同来自:

123.png

这就是我测试的结果,但是filebeat启动就报错
111.png

哪位大神给点建议?

funnyx

赞同来自:

您好,请问现在这个问题您解决了么?我这边filebeat启动也有相同的问题。

要回复问题请先登录注册