- Home›
- Amazon Web Services Solutions›
- Centralized Logging with OpenSearch
Centralized Logging with OpenSearch (Successor to Log Hub)
Build your own log analytics platform in 20 minutes
What does this solution do?
Use cases
Security and compliance regulations
Business operations and data analysis
Application and infrastructure troubleshooting
Solution overview
The diagram below presents the architecture you can automatically deploy using the solution's implementation guide and accompanying Amazon CloudFormation template.
Centralized Logging with OpenSearch
This solution deploys the Amazon CloudFormation template in your Amazon Web Services Cloud account and completes the following settings.
1. Amazon CloudFront distributes the frontend web UI assets hosted in Amazon S3 bucket.
2. Amazon Cognito user pool or OpenID Connector (OIDC) can be used for authentication.
3. Amazon AppSync provides the backend GraphQL APIs.
4. Amazon DynamoDB stores the solution related information as backend database.
5. Amazon Lambda interacts with other Amazon Services to process core logic of managing log pipelines or log agents, and obtains information updated in DynamoDB tables.
6. Amazon Step Functions orchestrates on-demand Amazon CloudFormation deployment of a set of predefined stacks for log pipeline management. The log pipeline stacks deploy separate Amazon Web Services resources and are used to collect and process logs and ingest them into Amazon OpenSearch Service for further analysis and visualization.
7. Service Log Pipelines or Application Log Pipelines are provisioned on demand via Centralized Logging with OpenSearch console.
8. Amazon Systems Manager and Amazon EventBridge manage log agents for collecting logs from Application Servers, such as installing log agents (Fluent Bit) for Application servers and monitoring the health status of the agents.
9. Amazon EC2 or Amazon EKS installs Fluent Bit agents, and uploads log data to Application Log Pipeline.
10. Application Log Pipelines read, parse, process application logs and ingest them into Amazon OpenSearch Service domains or Light Engine.
11. Service Log Pipelines read, parse, process Amazon service logs and ingest them into Amazon OpenSearch Service domains or Light Engine.
Centralized Logging with OpenSearch
Version 2.2.0
Released: 06/2024
Author: Amazon Web Services
Estimated deployment time: 15 min