log2splunk:Splunk HTTP事件收集器(HEC)的记录器 源码
log2splunk 登录到Splunk 用法 const Log2Splunk = require ( 'log2splunk' ) ; const logger = new Log2Splunk ( { token : "your-token" , host : "splunk-hec.example.com" } ) ; // Send string logger . send ( "Hello World" ) ; // Send json logger . send ( { message : "Hello World" ; } ) ; // Send with met
用户评论