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:
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.
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:
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.