graycli
TypeScript icon, indicating that this package has built-in type declarations

1.0.11 • Public • Published

graycli

graycli is a command line interface to query Graylog via the REST API. It tries emulate the "docker logs -f" behavior.

Installation

$ npm install -g graycli

Usage

Usage

Examples:

> graycli --url http://127.0.0.1:9000 -u john
...

graycli usage:

Usage: graycli [options]

Options:
  -v, --version                 Output the version number
  --url <url>                   Graylog URL
  -u, --username <username>     Graylog API Username
  -i, --interval <interval>     Polling interval in seconds (default: 3)
  -r, --range <range>           Relative timerange, specified as seconds from now (default: 60)
  -f, --filter <filter>         Search string
  -q, --query <query>           Query search string
  -d, --debug                   Show debug messages
  -h, --help                    Output usage information

Package Sidebar

Install

npm i graycli

Weekly Downloads

33

Version

1.0.11

License

MIT

Unpacked Size

54.8 kB

Total Files

45

Last publish

Collaborators

  • rafaelquines