# @sendungverpasst/ecs2console

> Read JSON logs in ECS (Elastic Common Schema) format from stdin and pretty print to console

Latest version **1.0.0** (published 2022-12-22) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install @sendungverpasst/ecs2console
pnpm add @sendungverpasst/ecs2console
yarn add @sendungverpasst/ecs2console
bun add @sendungverpasst/ecs2console
```

Provides the command `ecs2console`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2022-12-22 |
| First published | 2022-12-22 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 30.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Florian Pahl |
| Maintainers | sendungverpasst |

## Links

- npm: https://www.npmjs.com/package/@sendungverpasst/ecs2console
- Repository: https://github.com/sendungverpasst/ecs2console
- Issues: https://github.com/sendungverpasst/ecs2console/issues
- npm.io page: https://npm.io/package/@sendungverpasst/ecs2console

## Dependencies (3)

- [chalk](https://npm.io/package/chalk.md) ^4.1.0
- [date-fns](https://npm.io/package/date-fns.md) ^2.16.1
- [commander](https://npm.io/package/commander.md) ^7.0.0

## Recent versions

- 1.0.0 (latest) — 2022-12-22

## README

# ecs2console

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

## Install

``` bash
npm install
npm link
```

On MacOS the folder  `/usr/local` might not be writeable for the current user. You ccan change this by executing:
``` bash
sudo chown -R $(whoami) $(npm config get prefix)/{lib/node_modules,bin,share}
```

## Usage

See if it works by running:
``` bash
more test/log.json | ecs2console
```

Only output logs with log level INFO or less:
``` bash
more test/log.json | ecs2console -l info
```

---
_Source: https://npm.io/package/@sendungverpasst/ecs2console · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
