paint-brush
Serverless App: AWS CloudTrail Log Analytics using Amazon Elasticsearch Serviceby@kuldeep
3,988 reads
3,988 reads

Serverless App: AWS CloudTrail Log Analytics using Amazon Elasticsearch Service

by Kuldeep SinghFebruary 9th, 2018
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

In this article, I’m will talk about how you can build a <a href="https://hackernoon.com/tagged/serverless" target="_blank">Serverless</a> application using <a href="https://github.com/awslabs/serverless-application-model" target="_blank">AWS Serverless Application Model</a> (SAM) to perform Log Analytics on AWS <a href="https://aws.amazon.com/cloudtrail/" target="_blank">CloudTrail</a> data using <a href="https://aws.amazon.com/elasticsearch-service/" target="_blank">Amazon Elasticsearch Service</a>. The <a href="https://hackernoon.com/tagged/aws" target="_blank">AWS</a> Serverless Application will help you analyze <a href="https://hackernoon.com/tagged/aws" target="_blank">AWS</a> CloudTrail Logs using Amazon Elasticsearch Service. The application creates CloudTrail trail, sets the log delivery to an s3 bucket that it creates and configures SNS delivery whenever the CloudTrail log file has been written to s3. The app also<br>creates an Amazon Elasticsearch Domain and creates an Amazon Lambda Function which gets triggered by the SNS message, get the s3 file location, read the contents from the s3 file and write the data to Elasticsearch for analytics.
featured image - Serverless App: AWS CloudTrail Log Analytics using Amazon Elasticsearch Service
Kuldeep Singh HackerNoon profile picture
Kuldeep Singh

Kuldeep Singh

@kuldeep

L O A D I N G
. . . comments & more!

About Author

Kuldeep Singh HackerNoon profile picture
Kuldeep Singh@kuldeep

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite