Logstash to es,Deprecated field [_routing] used, expected [routing] instead

I use logstash to es ,logstash output configuration is as follows but has been an error, Deprecated field [_routing] used, expected [routing] instead,why and how to solve ?
output {
elasticsearch {
hosts => ["elasticsearch:9200"]
index=>"xxxxxx"
document_id => "xxxxxxxx"
routing => "%{serverid}"
}
}

Does it actually fail, or just log a deprecation message? There is an issue for this. Not sure if an upgrade would fix it.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.