Skip to content

Support Query DSL metadata #19778

Closed
Closed
@PhaedrusTheGreek

Description

@PhaedrusTheGreek

It would be convenient if the query DSL had some metadata component, so that we could tag queries. This would be useful in the case where certain queries are identified as being problematic (such as in the slowlog), and the origin in unknown. e.g., if Kibana could tag a query with the name of the visualization, it would make it simple to ID when there are, say, hundreds of visualizations.

GET /traffic-logs/_search
{
   "query": {
   },
   "size": 0,
   "meta": {
        "kibana_instance_id": "some_id"
        "kibana_dashboard_label": "My Deep Aggregations"
        "kibana_vis_label": "Error Codes by Country"
   },
   "aggs": {
   }
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions