The requested URL was not found on this server. 不管你信不信,反正我是没找到

一个redias,两个l,分别为l6.1和l7.0,两个e,分别为e6.1和e7.0,l6到e6.1, l7.0到 e7.0 ,两个l,两个e分别在同一机器上,l7报400错误。

Beats | 作者 helulu | 发布于2019年04月18日 | 阅读数:1577



一个redias 两个logstash,分别为logstah6.1和logstash7.0,两个elasticsearch,分别为e6.1和e7.0,logstahs6 output到e6.1, logstash7.0 output到 e7.0 ,两个logstash在一台机器上,两个elasticsearch 在一个机器上,logstash7起不起来,报400错误。

[WARN ][logstash.outputs.elasticsearch] Could not index event to Elasticsearch. {:status=>400, :action=>["index", {:_id=>nil, :_index=>"zznu-logstash", :_type=>"_doc", :routing=>nil}, #<LogStash::Event:0x58d9aa73>], :response=>{"index"=>{"_index"=>"zznu-logstash", "_type"=>"_doc", "_id"=>"oF6KMGoBc9j4XKNweVBa", "status"=>400, "error"=>{"type"=>"illegal_argument_exception", "reason"=>"mapper [message] of different type, current_type [text], merged_type [date]"}}}}
已邀请:

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

赞同来自:

看下索引mapping里message字段的类型,应该是和实际值类型不兼容导致400报错

要回复问题请先登录注册