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

splunk-events

Package Overview
Dependencies
Maintainers
47
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.3.0-beta.0 to 1.3.0-beta.1

2

package.json
{
"name": "splunk-events",
"version": "1.3.0-beta.0",
"version": "1.3.0-beta.1",
"description": "Javascript lib to create Splunk Logs via HTTP",

@@ -5,0 +5,0 @@ "main": "SplunkEvents.js",

@@ -97,8 +97,8 @@ 'use strict';

var data = {
var data = _extends({
sourcetype: _this.source,
host: _this.host,
time: +new Date(),
host: _this.host
}, _this.injectTimestamp && { time: +new Date() }, {
event: parsedEvent
};
});

@@ -181,2 +181,3 @@ _this.events.push(data);

this.request = _config.request !== undefined ? _config.request : this.request || fetchRequest;
this.injectTimestamp = _config.injectTimestamp !== undefined ? _config.injectTimestamp : false;
this.headers = {

@@ -183,0 +184,0 @@ Authorization: 'Splunk ' + this.token

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