Skip to content

Change Deprecated REST Handler prefix to be more granular #19377

@djschny

Description

@djschny

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions