# 50shades (of Graylog) [![Latest version](https://img.shields.io/crates/v/fifty-shades)](https://crates.io/crates/fifty-shades) [![License](https://img.shields.io/crates/l/fifty-shades)](https://www.apache.org/licenses/LICENSE-2.0) [![CI Status](https://img.shields.io/gitlab/pipeline/cmmc-systems/50shades?gitlab_url=https%3A%2F%2Fgitlab.communicatio.com)](https://gitlab.communicatio.com/cmmc-systems/50shades/pipelines) Log trail and query client written in Rust. 50shades interfaces with [Graylog]'s and [Elasticsearch]'s query APIs so that log message lookups can be performed from the command line. It supports storing logins in native OS keychains and following up on queries, so that logs can be viewed in a `tail -f` or `journalctl -f` manner. 50shades unterstands intuitive English expressions for timespans. Output can be controlled using [Handlebars] syntax. [Graylog]: https://www.graylog.org/ [Elasticsearch]: https://www.elastic.co/products/elasticsearch [Handlebars]: https://handlebarsjs.com/ ## Usage 50shades provides several subcommands which come with their own respective sets of options. Invoking the `help` subcommand on any of the other subcommands, or passing `--help` to any of the subcommands will print the respective help screen for that command. Invoking `help` or passing `--help` without a subcommand prints general help. ``` USAGE: 50shades [OPTIONS] FLAGS: -h, --help Prints help information -V, --version Prints version information OPTIONS: -c, --config Path to custom configuration file -n, --node Node to query [default: default] -t, --template