Graylog API client and mock server for Golang and terraform provider for Graylog.
Graylog provides very various APIs so we can't support all of them yet. Please check the following godoc's Client methods.
https://godoc.org/github.com/suzuki-shunsuke/go-graylog/client
Download a binary from the release page.
$ graylog-mock-server --help
graylog-mock-server - Run Graylog mock server.
USAGE:
graylog-mock-server [options]
VERSION:
0.1.0
OPTIONS:
--port value port number. If you don't set this option, a free port is assigned and the assigned port number is outputed to the console when the mock server runs.
--log-level value the log level of logrus which the mock server uses internally. (default: "info")
--data value data file path. When the server runs data of the file is loaded and when data of the server is changed data is saved at the file. If this option is not set, no data is loaded and saved.
--help, -h show help
--version, -v print the version
We use the graylog's official Docker Image for development.
The version is 2.5.0
.
See CONTRIBUTING.md .