var aws = require('aws-sdk'); var zlib = require('zlib'); var elasticsearch = require('elasticsearch'); var ES_INDEX = 'cloudtrail'; // Elasticsearch index name var ES_TYPE = 'log'; // Elsticsearch index type name var ES_CLIENT = new elasticsearch.Client({ host: '<ELASTICSEARCH_URL:PORT_NUMBER>' //Elasticsearch URL:port }); //start lambda function exports.handler = function(event, context) { conso
{{#tags}}- {{label}}
{{/tags}}