Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gdatasoftwareag/graylog-to-grafana
This tool can convert Graylog dashboards into Grafana dashboards.
https://github.com/gdatasoftwareag/graylog-to-grafana
grafana graylog rust
Last synced: 22 days ago
JSON representation
This tool can convert Graylog dashboards into Grafana dashboards.
- Host: GitHub
- URL: https://github.com/gdatasoftwareag/graylog-to-grafana
- Owner: GDATASoftwareAG
- License: mit
- Created: 2019-05-27T13:42:14.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-05-28T14:28:26.000Z (over 5 years ago)
- Last Synced: 2024-10-14T11:13:21.324Z (23 days ago)
- Topics: grafana, graylog, rust
- Language: Rust
- Size: 25.4 KB
- Stars: 10
- Watchers: 11
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Graylog to Grafana [![Build Status]][travis] [![Latest Version]][crates.io]
[Build Status]: https://travis-ci.org/GDATASoftwareAG/graylog-to-grafana.svg?branch=master
[travis]: https://travis-ci.org/GDATASoftwareAG/graylog-to-grafana
[Latest Version]: https://img.shields.io/crates/v/graylog-to-grafana.svg
[crates.io]: https://crates.io/crates/graylog-to-grafanaThis tool can convert Graylog dashboards into Grafana dashboards.
```
graylog-to-grafana 0.2.1
jan.jansen
This tool can convert Graylog dashboards into Grafana dashboards.USAGE:
graylog-to-grafana [OPTIONS] --graylog-urlFLAGS:
-h, --help Prints help information
-V, --version Prints version informationOPTIONS:
--datasource [default: graylog]
--graylog-url Graylog urlARGS:
Graylog content pack to processSUBCOMMANDS:
add Allows to add automatically dashboards to Grafana
generate Allows to save Grafana dashboards into a directory
help Prints this message or the help of the given subcommand(s)
```## How to use
### Create a content pack
Create a Graylog [content pack](https://docs.graylog.org/en/3.0/pages/content_packs.html).### Automatically import dashboards into Grafana
```cmd
graylog-to-grafana dashboards.json --graylog-url add --token [bearer-token] --url [grafana-url] --folder [folder-id]
```
The Argument `--graylog-url` is used for drilldown links.### Just convert dashboard into Grafana Json
```cmd
graylog-to-grafana dashboards.json --graylog-url generate dashboard
```
The Argument `--graylog-url` is used for drilldown links.You can import these dashboard into grafana using the default user interface, see here [Import dashboards](https://grafana.com/docs/reference/export_import/).
## Installation
### From source
If you want to build `graylog-to-grafana` from source, you need Rust 1.31 or higher. You can then use [cargo](https://doc.rust-lang.org/cargo/getting-started/installation.html) to build everything:
```
cargo install graylog-to-grafana
```