Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dimitrovvlado/grafctl
Manage and automate Grafana
https://github.com/dimitrovvlado/grafctl
cli dashboards go grafana grafana-client
Last synced: about 1 month 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 (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-08-21T15:17:13.000Z (about 5 years ago)
- Last Synced: 2024-07-27T02:32:33.750Z (about 1 month 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
[![Travis CI](https://travis-ci.org/dimitrovvlado/grafctl.svg?branch=master)](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 grafctlFlags:
-h, --help help for grafctl
-v, --verbose Verbose outputUse "grafctl [command] --help" for more information about a command.
```