Better Json (custom) field query/visualization in table views #18533
MalfuncEddie
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Use Case:
I have a JSON custom field on VMs that contains various data (specifically, the Ansible facts of the VM). Currently, I use a custom script to extract specific data from this JSON using a jsonpath-ng query, which then generates an XLSX file.
Displaying the full JSON custom field directly in the table view is not particularly useful. Additionally, relying on a report for this purpose feels disconnected from the application.
Proposal:
Add the ability to apply a "JSONPath filter" directly within the filter tab of a table, specifically and exclusively for JSON fields. This feature would allow users to define a JSONPath query, enabling the table to display only the filtered output, rather than the entire JSON object.
For added flexibility, it would be beneficial if this functionality were also exposed through the API.
Beta Was this translation helpful? Give feedback.
All reactions