Writing html form data to mysql database

Using the html/text panel , i have created a html form . On clicking the submit button , i need to insert the data to the database .

Can this be done in grafana ?

Replying to self : this can be achieved by invoking the grafana http api using ajax…

Hi, can you share what you did?

I need to insert data in a mysql from grafana too.

Thank You

1 Like

Hello,
Anyone have an idea how this was done? I’d like to be able to insert data also.

1 Like

I made it doing a html form and then send it to a .php script on nginx, but is too much work I think, maybe the way with ajax is more easy.