<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/how-do-you-handle-logging-when-you-don-t-control-the-underlying-infrastructure--wnwejbaae" -->

---
title: How do you handle logging when you don't control the...
description: A discussion question about handling centralized logging on EKS Fargate, where the DaemonSet-based Fluent Bit approach used on EC2-backed clusters isn't...
canonical: https://daily.dev/posts/how-do-you-handle-logging-when-you-don-t-control-the-underlying-infrastructure--wnwejbaae
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: How do you handle logging when you don't control the underlying infrastructure? | daily.dev
og:description: A discussion question about handling centralized logging on EKS Fargate, where the DaemonSet-based Fluent Bit approach used on EC2-backed clusters isn't...
og:url: https://daily.dev/posts/how-do-you-handle-logging-when-you-don-t-control-the-underlying-infrastructure--wnwejbaae
og:image: https://api.daily.dev/og/posts/wNWeJBAaE.png
og:image:alt: How do you handle logging when you don't control the underlying infrastructure?
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# How do you handle logging when you don't control the underlying infrastructure?

**[Kubernetes & Cloud Native Community](https://daily.dev/sources/kubernetescloudnativecommunity)** · [@divyansh30](https://daily.dev/divyansh30) · 1 min read · 0 upvotes · 0 comments

## Summary

A discussion question about handling centralized logging on EKS Fargate, where the DaemonSet-based Fluent Bit approach used on EC2-backed clusters isn't available since node access is abstracted away. The poster asks the community how they collect logs, filter and retain them, and what limitations they've hit, while referencing a walkthrough covering Fluent Bit and CloudWatch configuration via the aws-observability namespace, aws-logging ConfigMap, Fargate profiles, and IAM setup.

## Content

One thing that changes when you move workloads to EKS Fargate is that you no longer manage the underlying nodes.

That sounds great from an operations perspective, but it also changes how you think about things like log collection.

With EC2-backed Kubernetes, you can run Fluent Bit as a DaemonSet and collect logs from the nodes. With Fargate, that approach isn't available.

So how are teams handling centralized logging?

- Are you using EKS Fargate in production?
- Are you sending logs to CloudWatch or another observability platform?
- How do you handle log filtering and retention?
- Have you run into any limitations with Fargate logging?

I came across a practical walkthrough showing how Fluent Bit and CloudWatch can be configured for EKS Fargate, including the `aws-observability` namespace, `aws-logging` ConfigMap, Fargate profile, and IAM setup.

[https://www.kubeblogs.com/how-to-set-up-centralized-logging-on-eks-fargate-with-fluent-bit-and-cloudwatch/](https://www.kubeblogs.com/how-to-set-up-centralized-logging-on-eks-fargate-with-fluent-bit-and-cloudwatch/)

Curious what logging setup you're using for your container workloads.

#DevOps #PlatformEngineering #AWS #Kubernetes #Observability

## Similar posts on daily.dev

- [One pod, one node: The architecture behind serverless Kubernetes on AWS](https://daily.dev/posts/one-pod-one-node-the-architecture-behind-serverless-kubernetes-on-aws-r5lybvbpm) · The New Stack · 1 upvotes · 0 comments
- [Running Production With Zero Stored Logs](https://daily.dev/posts/running-production-with-zero-stored-logs-1upaklvjj) · Cloud Native Now · 0 upvotes · 0 comments
- [Amazon EKS Auto Mode Announces Enhanced Logging for its Managed Kubernetes Capabilities](https://daily.dev/posts/amazon-eks-auto-mode-announces-enhanced-logging-for-its-managed-kubernetes-capabilities-cz6yy5ebn) · AWS · 0 upvotes · 0 comments
- [Kubernetes Auditing and Events: Monitoring Cluster Activity](https://daily.dev/posts/kubernetes-auditing-and-events-monitoring-cluster-activity-tx3h1mgqy) · The New Stack · 2 upvotes · 0 comments
- [Getting Started with EKS — GitOps with Flux, Helm, and Karpenter](https://daily.dev/posts/getting-started-with-eks-gitops-with-flux-helm-and-karpenter-pnppl8ccw) · AWS Fundamentals · 8 upvotes · 0 comments

---

Tags: [#kubernetes](https://daily.dev/tags/kubernetes), [#observability](https://daily.dev/tags/observability), [#aws-cloudwatch](https://daily.dev/tags/aws-cloudwatch)

[View this post on daily.dev](https://daily.dev/posts/how-do-you-handle-logging-when-you-don-t-control-the-underlying-infrastructure--wnwejbaae)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"DiscussionForumPosting","mainEntityOfPage":"https://daily.dev/posts/how-do-you-handle-logging-when-you-don-t-control-the-underlying-infrastructure--wnwejbaae","headline":"How do you handle logging when you don't control the underlying infrastructure?","text":"A discussion question about handling centralized logging on EKS Fargate, where the DaemonSet-based Fluent Bit approach used on EC2-backed clusters isn't available since node access is abstracted away. The poster asks the community how they collect logs, filter and retain them, and what limitations they've hit, while referencing a walkthrough covering Fluent Bit and CloudWatch configuration via the aws-observability namespace, aws-logging ConfigMap, Fargate profiles, and IAM setup.","url":"https://daily.dev/posts/how-do-you-handle-logging-when-you-don-t-control-the-underlying-infrastructure--wnwejbaae","datePublished":"2026-08-26T05:14:31.083Z","dateModified":"2026-08-26T05:14:51.087Z","author":{"@type":"Person","name":"Divyansh","url":"https://daily.dev/divyansh30","image":"https://media.daily.dev/image/upload/s--f9lbkpFv--/f_auto/v1744873189/avatars/avatar_JMQ4qarKTe7zPurSPRrzM","description":"Aspiring engineer with an interest in AI, tech and DevOps :)","interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"EndorseAction"},"userInteractionCount":1090}},"image":"https://media.daily.dev/image/upload/s--KyiZ6HLk--/f_auto/v1787721271/posts/wNWeJBAaE?_a=BAMAMicg0","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"isPartOf":{"@type":"WebPage","url":"https://daily.dev/squads/kubernetescloudnativecommunity","name":"Kubernetes \u0026 Cloud Native Community"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Kubernetes \u0026 Cloud Native Community","item":"https://daily.dev/squads/kubernetescloudnativecommunity"},{"@type":"ListItem","position":3,"name":"How do you handle logging when you don't control the underlying infrastructure?"}]}
```

