Skip to content

segment-boneyard/monlog-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

monlog-cli

CLI for 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 <url>  elastic search url

Setup

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

alias logs='monlog-cli --url <address>'

Allowing you to simply run:

$ logs level:error AND hostname:api6-1

License

MIT