https://github.com/dimitrovvlado/grafctl
Manage and automate Grafana
https://github.com/dimitrovvlado/grafctl
cli dashboards go grafana grafana-client
Last synced: 11 months ago
JSON representation
Manage and automate Grafana
- Host: GitHub
- URL: https://github.com/dimitrovvlado/grafctl
- Owner: dimitrovvlado
- License: apache-2.0
- Created: 2018-08-08T17:22:25.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2019-08-21T15:17:13.000Z (almost 7 years ago)
- Last Synced: 2025-01-31T21:52:36.585Z (over 1 year ago)
- Topics: cli, dashboards, go, grafana, grafana-client
- Language: Go
- Size: 1.09 MB
- Stars: 7
- Watchers: 2
- Forks: 2
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# grafctl
[](https://travis-ci.org/dimitrovvlado/grafctl)
Command-line utility for managing Grafana
## Installation
### Linux
```sh
curl -L https://github.com/dimitrovvlado/grafctl/releases/download/$(curl -s https://raw.githubusercontent.com/dimitrovvlado/grafctl/master/VERSION.txt)/grafctl-linux-amd64 -o /usr/local/bin/grafctl && chmod +x /usr/local/bin/grafctl
```
### MacOS
```sh
curl -L https://github.com/dimitrovvlado/grafctl/releases/download/$(curl -s https://raw.githubusercontent.com/dimitrovvlado/grafctl/master/VERSION.txt)/grafctl-darwin-amd64 -o /usr/local/bin/grafctl && chmod +x /usr/local/bin/grafctl
```
## Features
* Written in portable go, binary is free of dependencies
* Import/export of dashboards
* Create/read/delete datasources, folders, users, organizations, teams
## Usage
```
Usage:
grafctl [flags]
grafctl [command]
Available Commands:
config Configure this command line tool
create Create a resource
delete Delete a resource by name or id
get Display one or many resources
help Help about any command
version Print the version number of grafctl
Flags:
-h, --help help for grafctl
-v, --verbose Verbose output
Use "grafctl [command] --help" for more information about a command.
```