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

winston-transport-splunk

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

winston-transport-splunk - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

3

Changelog.md

@@ -5,2 +5,5 @@ # Changelog

#### [0.0.2] - 31-05-2019
- Use require instead of ES6 import/export.
#### [0.0.1] - 31-05-2019

@@ -7,0 +10,0 @@ - draft implementation.

5

package.json
{
"name": "winston-transport-splunk",
"version": "0.0.1",
"version": "0.0.2",
"description": "winston transport for Splunk Event API",
"main": "src/index.js",
"main": "src/lib/index.js",
"scripts": {

@@ -26,3 +26,2 @@ "test": "echo \"Error: no test specified\" && exit 0",

"dependencies": {
"esm": "^3.2.20",
"lodash": "^4.17.11",

@@ -29,0 +28,0 @@ "splunk-logging": "^0.10.1",

@@ -8,3 +8,3 @@ # winston-splunk

import winston from 'winston';
import { Splunk } from 'winston-splunk';
import { Splunk } from 'winston-transport-splunk';

@@ -11,0 +11,0 @@

@@ -8,8 +8,7 @@ /*

*/
import _ from 'lodash';
import os from 'os';
import util from 'util';
import Transport from 'winston-transport';
import winston from 'winston';
import { createLogger } from './splunk-logger';
const _ = require('lodash');
const util = require('util');
const Transport = require('winston-transport');
const winston = require('winston');
const { createLogger } = require('./splunk-logger');

@@ -53,5 +52,5 @@

source: opts.source,
sourcetype: opts.sourcetype || 'api_json',
index: opts.index || '',
host: opts.host || os.hostname()
sourcetype: opts.sourcetype,
index: opts.index,
host: opts.host
});

@@ -98,2 +97,2 @@

export { Splunk };
module.exports = { Splunk };

@@ -1,3 +0,3 @@

import _ from 'lodash';
import { Logger, utils } from 'splunk-logging';
const _ = require('lodash');
const { Logger, utils } = require('splunk-logging');

@@ -35,2 +35,2 @@

export { createLogger };
module.exports = { createLogger };
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