How to send variable in search and query request body


#1

Hello All,
I am using simple jason and have integrated my API as datasource in grafana.
I want to send some variables from dashboard in search and query requestbody but could not achieve.Request to kindly help.
I have already tried variables from settings in dashborad, it is sending those variables in referer.


#2

so what is the variable that represent your body field ? You might need to assign that to a variable probably


#3

I already tried setting variable from settings but it is coming in refer of request header but refer can be disabled so it would not be a reliable solution. i am looking for solution like we send payload in rest API under @RequestBody.

Thanks
Lavakush


#4

can you post some thing scren shot or graph or some representation of the data