要不要再翻翻文档呢?

filebeat直接写数据到es,如何指定索引类型?

Beats | 作者 ewei001 | 发布于2023年04月25日 | 阅读数:2490

es版本是6.2.3,创建索引的时候指定的索引类型是query,但通过filebeat上报默认只能是doc,试了指定_type,document_type都不行,都报错说不能有2个类型:{"type":"illegal_argument_exception","reason":"Rejecting mapping update to [xxx_index] as the final mapping would have more than 1 type: [query, doc]"}
已邀请:

要回复问题请先登录注册