项目作者: GDATASoftwareAG

项目描述 :
This tool can convert Graylog dashboards into Grafana dashboards.
高级语言: Rust
项目地址: git://github.com/GDATASoftwareAG/graylog-to-grafana.git
创建时间: 2019-05-27T13:42:14Z
项目社区:https://github.com/GDATASoftwareAG/graylog-to-grafana

开源协议:MIT License

下载


Graylog to Grafana   Build Status Latest Version

This tool can convert Graylog dashboards into Grafana dashboards.

  1. graylog-to-grafana 0.2.1
  2. jan.jansen <jan.jansen@gdata.de>
  3. This tool can convert Graylog dashboards into Grafana dashboards.
  4. USAGE:
  5. graylog-to-grafana [OPTIONS] <input> --graylog-url <graylog_url> <SUBCOMMAND>
  6. FLAGS:
  7. -h, --help Prints help information
  8. -V, --version Prints version information
  9. OPTIONS:
  10. --datasource <datasource> [default: graylog]
  11. --graylog-url <graylog_url> Graylog url
  12. ARGS:
  13. <input> Graylog content pack to process
  14. SUBCOMMANDS:
  15. add Allows to add automatically dashboards to Grafana
  16. generate Allows to save Grafana dashboards into a directory
  17. 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

  1. graylog-to-grafana dashboards.json --graylog-url <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

  1. graylog-to-grafana dashboards.json --graylog-url <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.

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:

  1. cargo install graylog-to-grafana