@kipz/oak
Do humio searches from the command line
Last updated 3 months ago by kipzter .
EPL-2.0 · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @kipz/oak 
SYNC missed versions from official npm registry.

Humio CLI log viewer written in ClojureScript

CircleCI npm

Installation

npm i @kipz/oak -g

Running

Export an environment variable called HUMIO_API_KEY (or provided the api-key argument)

oak query -r <repo-name> [opts...] ["query string"]

Query sub-command options:

NAME:
 oak query - Query logs in humio via REST API

USAGE:
 oak query [command options] query ...

OPTIONS:
   -r, --repo S*             Repository
       --query S             Query expressions
   -u, --unix F    false     Unix timestamps instead of human readable ones
   -f, --fields S            Additional fields to display
   -s, --start S   2minutes  Relative time e.g. 1minute, 24hours etc
   -?, --help

Development

To connect a repl:

npm run watch

and in a different shell

node index.js

Connect an nrepl to 8778, and run

(shadow/repl :script)

Current Tags

  • 0.0.5                                ...           latest (3 months ago)

4 Versions

  • 0.0.5                                ...           3 months ago
  • 0.0.4                                ...           3 months ago
  • 0.0.2                                ...           3 months ago
  • 0.0.1                                ...           3 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 4
Last Month 4
Dependencies (1)
Dev Dependencies (2)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |