Gathering detailed insights and metrics for winston-sumologic-transport
Gathering detailed insights and metrics for winston-sumologic-transport
Gathering detailed insights and metrics for winston-sumologic-transport
Gathering detailed insights and metrics for winston-sumologic-transport
npm install winston-sumologic-transport
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
8 Stars
55 Commits
10 Forks
2 Watching
3 Branches
6 Contributors
Updated on 10 May 2024
TypeScript (100%)
Cumulative downloads
Total Downloads
Last day
28.7%
1,091
Compared to previous day
Last week
-3.3%
5,090
Compared to previous week
Last month
11.5%
20,673
Compared to previous month
Last year
-32.9%
371,147
Compared to previous year
2
A transport for the Winston logger for logging to a SumoLogic endpoint
npm install --save winston-sumologic-transport
1const winston = require("winston"); 2const { SumoLogic } = require("winston-sumologic-transport"); 3 4const options = { 5 url: "http://example.com" 6}; 7 8winston.add(new SumoLogic(options)); 9winston.debug("Hello, world!");
After logging message appears in SumoLogic in following format:
1{ 2 level: "debug" 3 message: "Hello, world!", 4 meta: {} 5}
url : The SumoLogic HTTP collector URL. See https://help.sumologic.com/Send-Data/Sources/02Sources-for-Hosted-Collectors/HTTP-Source/zGenerate-a-new-URL-for-an-HTTP-Source
level : The minimum logging level to send to SumoLogic [default: 'info']
silent : A boolean flag to suppress output [default: false]
interval: The interval (in mills) between posts to SumoLogic [default: 1000]
label : A custom label associated with each message (prepended to message)
meta : Additional meta data with log message. Properties will be overriden if specified during logging.
onError : A function that will be called when there is an error sending the logs to sumo. It may return a promise.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
no dangerous workflow patterns detected
Reason
license file detected
Details
Reason
dependency not pinned by hash detected -- score normalized to 5
Details
Reason
8 existing vulnerabilities detected
Details
Reason
Found 3/20 approved changesets -- score normalized to 1
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2024-11-25
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