serverless-es-proxy-logs
Advanced tools
Comparing version 3.0.8 to 3.0.9
{ | ||
"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; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
53336
664