Grafanactl config
grafanactl config🔗
View or manipulate configuration settings
Synopsis🔗
View or manipulate configuration settings.
The configuration file to load is chosen as follows:
- If the --config flag is set, then that file will be loaded. No other location will be considered.
- If the $XDG_CONFIG_HOME environment variable is set, then it will be used: $XDG_CONFIG_HOME/grafanactl/config.yaml Example: /home/user/.config/grafanactl/config.yaml
- If the $HOME environment variable is set, then it will be used: $HOME/.config/grafanactl/config.yaml Example: /home/user/.config/grafanactl/config.yaml
- If the $XDG_CONFIG_DIRS environment variable is set, then it will be used: $XDG_CONFIG_DIRS/grafanactl/config.yaml Example: /etc/xdg/grafanactl/config.yaml
Options🔗
--config string Path to the configuration file to use
--context string Name of the context to use
-h, --help help for config
Options inherited from parent commands🔗
--no-color Disable color output
-v, --verbose count Verbose mode. Multiple -v options increase the verbosity (maximum: 3).
SEE ALSO🔗
- grafanactl -
- grafanactl config check - Check the current configuration for issues
- grafanactl config current-context - Display the current context name
- grafanactl config list-contexts - List the contexts defined in the configuration
- grafanactl config set - Set an single value in a configuration file
- grafanactl config unset - Unset an single value in a configuration file
- grafanactl config use-context - Set the current context
- grafanactl config view - Display the current configuration