@kipz/oak

0.0.5 • Public • Published

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)

Readme

Keywords

none

Package Sidebar

Install

npm i @kipz/oak

Weekly Downloads

0

Version

0.0.5

License

EPL-2.0

Unpacked Size

576 kB

Total Files

8

Last publish

Collaborators

  • kipzter