How I can execute an SQL QUERY using a button?

Grafana ver. 8.1.5
Plugin Button (dev. Speakyourcode)

Hello.
I’m trying to use a Button to execute an SQL query [INSERT INTO tablename (names) value ‘name1’].
I add the text on query field but the insertion doesn’t works.
This plugin works with SQL SERVER or just with Influx?

Thanks

Try

{
“rawSql”: “INSERT INTO tablename (names) value ‘name1’”,
“format”: “table”
}

This topic was automatically closed after 365 days. New replies are no longer allowed.