logscli

Convert logs to json or CSV formats


Install
pip install logscli==0.2.0

Documentation

### Example run

$ logscli --format json --logs-path tmp/ --out-path out/ --config-path config.yml

Will take all gziped logs from *tmp/* path relative to current directory and output them into *out/* in *json* format.

### Install

$ pip3 install logscli

or

$ git clone https://github.com/zenedge/logs_cli.git
$ cd logs_cli/
$ pip3 install .

### Running

Usage: logscli [OPTIONS]

Options:
  -f, --format [json|csv]
  -l, --logs-path TEXT     [required]
  -o, --out-path TEXT      [required]
  -c, --config_path TEXT   [required]

### Requirements

* Python 3