-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Description
Elasticsearch version: master (v5.0.0)
JVM version: n/a
OS version: n/a
Describe the feature:
Recently a deprecation warning response header was added as part of #17804 and //issues/17687
The prefix used is Warning: however this is not really granular enough to make it useful.
For example to really get the full benefit of this running packetbeat on Elasticsearch nodes indexing the rest requests would be ideal. Then dashboards could be built in Kibana showing the top X URL paths that have deprecations, etc. However since these are grouped under the common/generic Warning: header it is less than ideal as one would need to do a query on the word "deprecation" in the text of the header. If something like X-Elasticsearch-Deprecation was used it would make it very easy to filter and also future proofs if other non-deprecation warnings are added in the future.