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.8 to 3.0.9

2

package.json
{
"name": "serverless-es-proxy-logs",
"version": "3.0.8",
"version": "3.0.9",
"license": "MIT",

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

@@ -78,10 +78,4 @@ // v1.1.2

payload.logEvents.forEach(function(logEvent) {
var timestamp = new Date(1 * logEvent.timestamp);
// index name format: cwl-YYYY.MM.DD
var indexName = [
indexPrefix + '-' + timestamp.getUTCFullYear(), // year
('0' + (timestamp.getUTCMonth() + 1)).slice(-2), // month
('0' + timestamp.getUTCDate()).slice(-2) // day
].join('.');
var indexName = indexPrefix;

@@ -88,0 +82,0 @@ var id = logEvent.id;

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