insecure allows you to turn off Transport Layer Security (TLS) verification (insecure). Warning: Turning off TLS is a significant security risk. zip file containing a plugin from a local URL instead of downloading it from the default Grafana source.Įxample: grafana-cli -pluginUrl plugins install pluginUrl value allows you to download a. repo value allows you to download and install or update plugins from a repository other than the default Grafana repo.Įxample: grafana-cli -repo "" plugins install Įxample: grafana-cli -pluginsDir "/var/lib/grafana/devplugins" plugins install Use this option if you want to install, update, or remove a plugin somewhere other than the default directory ("/var/lib/grafana/plugins"). pluginsDir value overrides the path to where your local Grafana instance stores plugins. version or -v prints the version of Grafana CLI currently running. help or -h displays the help, including default paths and Docker configuration information. It only changes it for command in which you apply the option. For example, -pluginsDir value does not permanently change where Grafana saves plugins. Except for -help and -version, most global options are only used by developers.Įach global option applies only to the command in which it is used. Grafana CLI allows you to temporarily override certain Grafana default settings. The general syntax for commands in Grafana CLI is: grafana-cli command If you are on Windows, run Windows PowerShell as Administrator. Note: Some commands, such as installing or removing plugins, require sudo on Linux. For example, on Linux /usr/share/grafana/bin/grafana-cli and on Windows C:\Program Files\GrafanaLabs\grafana\bin\grafana-cli.exe. Otherwise, you can specify full path to the CLI. Alternately, if your current directory is the bin directory, use. To invoke Grafana CLI, add the path to the grafana binaries in your PATH environment variable. To list all commands and options: grafana-cli -h ![]() Grafana CLI has plugins and admin commands, as well as global options. ![]() It can be executed on the same machine Grafana server is running on. ![]() Grafana CLI is a small executable that is bundled with Grafana server.
0 Comments
Leave a Reply. |