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

serverless-es-proxy-logs

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

serverless-es-proxy-logs - npm Package Compare versions

Comparing version 3.0.7-rc1 to 3.0.7-rc2

2

package.json
{
"name": "serverless-es-proxy-logs",
"version": "3.0.7-rc1",
"version": "3.0.7-rc2",
"license": "MIT",

@@ -5,0 +5,0 @@ "description": "A Serverless plugin to transport logs to ElasticSearch",

@@ -42,2 +42,3 @@ // v1.1.2

//socket data
console.log('connecting to socket ...');
const socket = io(endpoint);

@@ -50,2 +51,11 @@ socket.on('connect', () => {

});
socket.on('connect_failed', function() {
console.log("Sorry, there seems to be an issue with the connection!");
});
socket.on('error', function() {
console.log('Connection failed');
});
socket.on('connect_error', () => {
console.log('Error while connecting');
});
// post documents to the Amazon Elasticsearch Service

@@ -52,0 +62,0 @@ // put(elasticsearchBulkPayload, function(error, success, statusCode, failedItems) {

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