Graylog to Grafana   ![Build Status] ![Latest Version]

This tool can convert Graylog dashboards into Grafana dashboards.

``` graylog-to-grafana 0.1.1 jan.jansen jan.jansen@gdata.de This tool can convert Graylog dashboards into Grafana dashboards.

USAGE: graylog-to-grafana [OPTIONS]

FLAGS: -h, --help Prints help information -V, --version Prints version information

OPTIONS: --datasource [default: graylog]

ARGS: Graylog content pack to process

SUBCOMMANDS: 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.

Automatically import dashboards into Grafana

cmd graylog-to-grafana dashboards.json add --token [bearer-token] --url [grafana-url] --folder [folder-id]

Just convert dashboard into Grafana Json

cmd graylog-to-grafana dashboards.json generate dashboard

You can import these dashboard into grafana using the default user interface, see here Import dashboards.

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 to build everything:

cargo install graylog-to-grafana