![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
heroku-events
Advanced tools
This module will mine heroku dyno related events out of a syslog file.
This module will mined heroku dyno related events out of a syslog file.
To get started with this module you need to enable log sink on your heroku instance, this will send all the logs from your application to a syslog server, which will write this to a file.
To read the a syslog file and create a model representing the state of your application, while also consuming service related events.
var fs = require('fs')
var split = require('split')
var LogParser = require('heroku-events')
// model for dynos hosts
var model = {}
var logParser = new LogParser(model)
logParser
.on('app-discovered', function(app){
console.log('app-discovered', app)
})
.on('app-change', function(app){
console.log('app-change', app)
})
var st = fs.createReadStream('/var/log/heroku.log')
st.pipe(split()).pipe(logParser)
The events which are currently fired are:
app-discovered
- Fired when a new log sink identifier is detected indicating a new app was discovered.app-change
- Fired when a heroku dyno state change is read.dyno-up
- Fired when an up heroku dyno state change is read.dyno-down
- Fired when a down heroku dyno state change is read.dyno-starting
- Fired when a starting heroku dyno state change is read.dyno-crashed
- Fired when a crashed heroku dyno state change is read.Need to:
FAQs
This module will mine heroku dyno related events out of a syslog file.
The npm package heroku-events receives a total of 0 weekly downloads. As such, heroku-events popularity was classified as not popular.
We found that heroku-events 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.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.