Check specific queries for deprecations in ES 2.4?


(gskema) #1

Hello, we're using ES 2.4 and Migration Helper plugin. In the plugin, we see thousands of deprecation warnings. We'd like to check specific queries to see if they're generating the deprecation warning, then we would change our code.

In Kibana/Sense 5 server also returns "warning" header that contains the deprecation message, but this header is not present in Kibana/Sense 2. Is there any way to check specific queries for deprecations?

Update:

  • installed ES 2.4 on Vagrant
  • installed Kibana, Sense, Migration Helper plugins
  • tail -f /var/log/elasticsearch/elasticsearch_deprecation.log
  • run queries with deprecated syntax in Sense and check for new lines in console

(system) #2

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