
Product
Announcing Precomputed Reachability Analysis in Socket
Socket’s precomputed reachability slashes false positives by flagging up to 80% of vulnerabilities as irrelevant, with no setup and instant results.
good-logstash
Advanced tools
Logstash TCP/UDP broadcasting for Good process monitor.
good-logstash
is a write stream use to send event to remote TCP or UDP endpoints.
// server.js
const Hapi = require('hapi');
const server = new Hapi.Server();
server.connection();
const options = {
reporters: {
// Send only 'log' events to Logstash
logstash: [{
module: 'good-squeeze',
name: 'Squeeze',
args: [{ log: '*' }]
}, {
module: 'good-logstash',
args: [
'udp://prod.logs:8009',
{ tags: ['env:production', 'my-service'] }
]
}]
}
};
const init = async () => {
await server.register({
register: require('good'),
options
});
await server.start();
console.log(`Server running at: ${server.info.uri}`);
};
process.on('unhandledRejection', (err) => {
console.log(err);
process.exit(1);
});
init();
# logstash.conf
input {
udp {
port => 5000
codec => "json"
}
}
filter {
json {
source => "message"
}
if [codec] == "json" {
date {
match => ["timestamp", "UNIX_MS"]
remove_field => ["timestamp"]
}
}
}
output {
elasticsearch { hosts => "elasticsearch" }
stdout { codec => rubydebug }
}
Creates a new GoodLogstash object where:
endpoint
- TCP or UDP logging endpoint (defaults to tcp://localhost:8008
)options
:
tags
- Array of additional global tags send to Logstash (optional)FAQs
Logstash TCP/UDP broadcasting for Good process monitor
The npm package good-logstash receives a total of 4 weekly downloads. As such, good-logstash popularity was classified as not popular.
We found that good-logstash demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket’s precomputed reachability slashes false positives by flagging up to 80% of vulnerabilities as irrelevant, with no setup and instant results.
Product
Socket is launching experimental protection for Chrome extensions, scanning for malware and risky permissions to prevent silent supply chain attacks.
Product
Add secure dependency scanning to Claude Desktop with Socket MCP, a one-click extension that keeps your coding conversations safe from malicious packages.