Replies: 1 comment
-
Same for me. It populates my result with the text of the variable, not making it assume the correct sense as per JSONata syntax. Matteo |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, first of all thanks for sharing this project. I find it very useful.
My question is related to handling variable values within the Fields definition, with JSONata parser.
In particular, I would like to create a field as follows:
$.doc.history.$myVariable
where $myVariable is obviously a grafana dashboard variable.
As you can imagine it does not work, but the interesting bit is that it does note go in error, while instead it still polulates the table column but with all the rows with inside the value of the variable.
So for instance if the variable is "username", i expect the parser to work as:
$.doc.history.username
but actually, it creates a column where I find "username" in all the rows (which is not what I expect).
Any suggestion/idea?
Many thanks,
Sebastian
Beta Was this translation helpful? Give feedback.
All reactions