Execute Python script From Grafana Dashboard

Hi ,

Is there any way to execute python script while clicking on Grafana dashboard and display the script o/p over the web.

Like in above snippet I want when I click on the Number under “Total_Jobs_Under_Consumed” column , It execute a python script and get the data on a new tab. We need to pass the Queue/User and time range as well to the script.

Ie: when I click on number 1085 , It should invoke a script let’s say a.py and pass the following argument to the script as well.

ie:
a.py --user chunmei --queue q16x128 --from x --to y (x,y are start and end date are time range