Log Streaming and Dashboards
Real-time log pipelines with Amazon Data Firehose and OpenSearch Service, and Amazon Managed Grafana for dashboards.
The decision: which pipeline gives real-time search and dashboards over raw logs, and which tool gives one dashboard across accounts and data sources?
For real-time search and visualization of raw logs, stream them through Amazon Data Firehose into Amazon OpenSearch Service. For a single dashboard over many sources and accounts, use Amazon Managed Grafana.
Data Firehose and OpenSearch
| Item | What to remember |
|---|---|
| Firehose | Fully managed delivery of streaming data. Buffers, compresses, transforms, can encrypt at the destination |
| Former name | Kinesis Data Firehose |
| Transformation | A Lambda function turns unstructured lines (such as Apache logs) into structured JSON. Records for OpenSearch must be UTF-8 single-line JSON |
| Failure handling | Retry duration is 0 to 7,200 seconds for OpenSearch. After that skipped documents are written to S3 under AmazonOpenSearchService_failed/ |
| OpenSearch Service | Managed search and dashboards. Supports VPC or public endpoints, IAM and Cognito for users, encryption at rest and in transit |
| Delivery semantics | At least once, so duplicates are possible at OpenSearch |
Legacy
Firehose was called Kinesis Data Firehose, and the Elasticsearch Service name became OpenSearch Service. Older exam questions may use the old names.
Amazon Managed Grafana
| Item | What to remember |
|---|---|
| What | Managed Grafana workspaces. AWS runs, scales and patches them |
| Data sources | CloudWatch, Managed Service for Prometheus, X-Ray, OpenSearch Service, Timestream and others |
| Sign-in | Single sign-on only. IAM Identity Center or a SAML 2.0 identity provider, not IAM users |
| Roles in a workspace | Administrator, Editor, User (viewer) |
| Private data sources | Reach VPC resources over PrivateLink or VPC peering, no public exposure |
| Alerting | Grafana unified alerting rules with notifications |
| Audit | Management API calls appear in CloudTrail |
Shared responsibility. AWS secures the service infrastructure. You set workspace roles, data source permissions and network settings.
Exam signal
"Single dashboard across many accounts and data sources without running servers" is Managed Grafana. "Search raw logs in near real time with full-text queries" is Firehose to OpenSearch. "Query CloudTrail files already in S3" is Athena.