elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.8k stars 8.19k forks source link

[Console] Show path of object when hovering over a key #74981

Open dgieselaar opened 4 years ago

dgieselaar commented 4 years ago

Describe the feature:

When hovering over a key in a JSON structure in Console, show the full path of the object. Bonus points for making it selectable/copyable.

Here's an example of vscode's implementation:

image

I would prefer a .-separated flattened path, which is a more useful structure in the ES world.

Describe a specific use case for the feature:

There are situations where it's very helpful to be able to see the path of a deeply nested key in a JSON structure in console. For instance, when looking at telemetry data, some fields are often deeply nested and manually traversing the JSON structure to get the full path can be cumbersome. We might need those paths to build type definitions, use it in _source, aggregations or queries.

elasticmachine commented 4 years ago

Pinging @elastic/es-ui (Team:Elasticsearch UI)

elasticmachine commented 4 weeks ago

Pinging @elastic/kibana-management (Team:Kibana Management)