-
What Grafana version and what operating system are you using?
Grafana 8.2.1 on Linux with Docker -
What are you trying to achieve?
Dynamically control the dashboards and datasources using API/CLI. -
How are you trying to achieve it?
grafana-cli
, there might be a way with API but I’m not sure why. -
What happened?
The CLI tool is pretty limited. -
What did you expect to happen?
So I’ll be able to export/import dashboard and manipulate datasources. -
Can you copy/paste the configuration(s) that you are having problems with?
Irrelevant. -
Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.
Nope, I can do it in the UI, it’s useless. -
Did you follow any online instructions? If so, what is the URL?
Sure:
Grafana CLI | Grafana documentation
Thanks.