Gathering detailed insights and metrics for @htempest/ecs-pino-format
Gathering detailed insights and metrics for @htempest/ecs-pino-format
npm install @htempest/ecs-pino-format
Typescript
Module System
Min. Node Version
Node Version
NPM Version
JavaScript (96.99%)
Shell (2.09%)
Makefile (0.92%)
Verify real, reachable, and deliverable emails with instant MX records, SMTP checks, and disposable email detection.
Total Downloads
1,572
Last Day
1
Last Week
25
Last Month
144
Last Year
1,572
Apache-2.0 License
69 Stars
245 Commits
40 Forks
11 Watchers
6 Branches
248 Contributors
Updated on Mar 11, 2025
Minified
Minified + Gzipped
Latest Version
1.5.5
Package Id
@htempest/ecs-pino-format@1.5.5
Unpacked Size
24.60 kB
Size
8.10 kB
File Count
5
NPM Version
9.6.7
Node Version
18.17.1
Published on
Jul 08, 2024
Cumulative downloads
Total Downloads
Last Day
-75%
1
Compared to previous day
Last Week
-49%
25
Compared to previous week
Last Month
-1.4%
144
Compared to previous month
Last Year
0%
1,572
Compared to previous year
This Node.js package provides a formatter for the pino logger compatible with Elastic Common Schema (ECS) logging. In combination with the filebeat shipper, you can send your logs directly to Elasticsearch and leverage Kibana's Logs app to inspect all logs in one single place.
pino
6.x, 7.x, and 8.x versions are supported.
Please see the Node.js ECS pino documentation.
1npm install @elastic/ecs-pino-format
This package will configure Pino's formatters
, messageKey
and timestamp
options.
1const { ecsFormat } = require('@elastic/ecs-pino-format') 2const pino = require('pino') 3 4const log = pino(ecsFormat(/* options */)) 5log.info('Hello world') 6 7const child = log.child({ module: 'foo' }) 8child.warn('From child')
Running this will produce log output similar to the following:
1{"log.level":"info","@timestamp":"2023-10-16T18:08:02.601Z","process.pid":74325,"host.hostname":"pink.local","ecs.version":"8.10.0","message":"Hello world"} 2{"log.level":"warn","@timestamp":"2023-10-16T18:08:02.602Z","process.pid":74325,"host.hostname":"pink.local","ecs.version":"8.10.0","module":"foo","message":"From child"}
Please see the Node.js ECS pino documentation for more.
This software is licensed under the Apache 2 license.
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
all changesets reviewed
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
security policy file detected
Details
Reason
6 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 5
Reason
branch protection is not maximal on development and all release branches
Details
Reason
dependency not pinned by hash detected -- score normalized to 2
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
project is not fuzzed
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2025-03-10
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More