愚者求师之过,智者从师之长。

filebeat 制作模块传输日志到es

Beats | 作者 getecho | 发布于2017年12月13日 | 阅读数:4455

小弟根据官方文档制作了一个模块,在使用这个模块的时候,终端报了奇怪的错误。大概是意思是解析“错误”出错。有点难以理解,希望能够讨论一下。
WARN Can not index event (status=400):
{
"type": "mapper_parsing_exception",
"reason": "failed to parse [error]",
"caused_by": {
"type": "illegal_state_exception",
"reason": "Can't get text on a START_OBJECT at 1:380"
}
}
已邀请:

getecho

赞同来自:

检查后是ingest下的json文件格式写的不对。写对了就行了

要回复问题请先登录注册