CloudFront
Ship logs from CloudFront to Logstash
Follow the steps below to send your observability data to Logit.io
Logs
Install Integration
Confirm S3 Bucket
Ensure your logs are being sent to an S3 bucket. The following guide from Amazon will help you achieve this if you are not doing so already:
Cloudwatch to S3 (opens in a new tab).
Ensure Adequate Bucket Permissions
The following permissions applied to the AWS IAM Policy being used:
s3:ListBucket
to check if the S3 bucket exists and list objects in it.s3:GetObject
to check object metadata and download objects from S3 buckets.
Below is how your permissions should appear:
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "SidID",
"Effect": "Allow",
"Action": [
"s3:GetObject",
"s3:ListBucket"
],
"Resource": [
"arn:aws:s3:::your-bucket/*"
]
}
]
}
Configure Logstash for Amazon Cloudfront
To start sending logs and metrics from AWS to your Stack you need to configure an AWS Input on your Logit.io Stack.
Go to DashboardLogit.io will verify your input before it is applied, we will contact you to confirm when this has been completed.
Check Logit.io for your logs
Data should now have been sent to your Stack.
View My DataIf you don't see take a look at How to diagnose no data in Stack below for how to diagnose common issues.
Cloudfront Logging Overview
Elevate your AWS CloudFront monitoring by sending data to Logit.io. Our robust integration empowers you to effortlessly collect, centralize, and analyze the logs generated by your CloudFront distribution.
Gain valuable insights into your application's performance, security, and user behaviour, all within a unified and user-friendly platform. The AWS ecosystem offers even more insights when paired with Logit.io.
Dive deeper into the world of Amazon VPC integration for comprehensive network security monitoring and compliance assurance. For advanced Kubernetes cluster management and containerized application visibility, explore AWS EKS logs with Logit.io's exceptional support. The beauty of Logit.io's AWS logging (opens in a new tab) is the fully scalable integration of these components.