@sendungverpasst/ecs2console

1.0.0 • Public • Published

ecs2console

Convert JSON log output in ECS (Elastic Common Schema) format to pretty console readable output.

Install

npm install
npm link

On MacOS the folder /usr/local might not be writeable for the current user. You ccan change this by executing:

sudo chown -R $(whoami) $(npm config get prefix)/{lib/node_modules,bin,share}

Usage

See if it works by running:

more test/log.json | ecs2console

Only output logs with log level INFO or less:

more test/log.json | ecs2console -l info

Readme

Keywords

none

Package Sidebar

Install

npm i @sendungverpasst/ecs2console

Weekly Downloads

2

Version

1.0.0

License

Apache-2.0

Unpacked Size

30.8 kB

Total Files

7

Last publish

Collaborators

  • sendungverpasst