You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Uncaught TypeError: dgram.createSocket is not a function #49
// Main.jsconstgraylog2=require("graylog2");constlogger=newgraylog2.graylog({servers: [{'host': {myHost}',port: {myPort}}],hostname: 'myProjectName',// the name of this host// (optional, default: os.hostname())facility: 'Node.js',// the facility for these log messages// (optional, default: "Node.js")bufferSize: 1400// max UDP packet size, should never exceed the// MTU of your system (optional, default: 1400)});logger.on('error',function(error){console.error('Error while trying to write to graylog2:',error);});logger.log("Graylog test");
Activity
denwist commentedon Nov 16, 2021
Hello!
Faced a similar issue #50
How did you solve it?
erkansivas35 commentedon Nov 16, 2021
Hello!
I couldn't solve it.
denwist commentedon Nov 16, 2021
It is a pity that this module cannot be used yet due to errors.