Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

splunk-events

Package Overview
Dependencies
Maintainers
5
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

splunk-events - npm Package Compare versions

Comparing version 1.1.1 to 1.2.0

yarn.lock

6

package.json
{
"name": "splunk-events",
"version": "1.1.1",
"version": "1.2.0",
"description": "Javascript lib to create Splunk Logs via HTTP",
"main": "SplunkEvents.js",
"scripts": {
"prepublish": "babel src/index.js -o SplunkEvents.js"
"build": "babel src/index.js -o SplunkEvents.js",
"postreleasy": "npm publish",
"prepublish": "npm run build"
},

@@ -9,0 +11,0 @@ "devDependencies": {

@@ -33,3 +33,3 @@ 'use strict';

}
};
}

@@ -96,3 +96,3 @@ var debounced = function debounced() {

this.autoRetryFlush = _config.autoRetryFlush !== undefined ? _config.autoRetryFlush : true;
this.source = _config.source !== undefined ? _config.source : 'splunkeventsjs';
this.source = _config.source !== undefined ? _config.source : 'log';
this.path = _config.path !== undefined ? _config.path : '/services/collector/event';

@@ -105,3 +105,3 @@ this.host = _config.host !== undefined ? _config.host : '-';

this.headers = {
'Authorization': 'Splunk ' + this.token
Authorization: 'Splunk ' + this.token
};

@@ -113,3 +113,10 @@ }

this.validateEvent(event);
var parsedEvent = level + ',' + type + ',' + workflowType + ',' + workflowInstance + ',' + account + ' ';
var parsedEvent = this.parseEventData({
level: level,
type: type,
workflowType: workflowType,
workflowInstance: workflowInstance,
account: account
});
parsedEvent += this.parseEventData(event);

@@ -116,0 +123,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc