Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/segment-boneyard/monlog-cli

CLI for monlog
https://github.com/segment-boneyard/monlog-cli

Last synced: about 7 hours ago
JSON representation

CLI for monlog

Awesome Lists containing this project

README

        

# monlog-cli

CLI for [monlog](https://github.com/segmentio/monlog).

## Installation

```
$ npm install -g monlog-cli
```

## Usage

```

Usage: monlog-cli [options] [query]

Options:

-h, --help output usage information
-V, --version output the version number
-u, --url elastic search url

```

## Setup

Since manually specifying `--url` is annoying, you may want to alias this executable:

```
alias logs='monlog-cli --url

'
```

Allowing you to simply run:

```
$ logs level:error AND hostname:api6-1
```

# License

MIT