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

---
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 with EC2-backed Kubernetes nodes...
canonical: https://daily.dev/posts/how-do-you-handle-logging-when-you-don-t-control-the-underlying-infrastructure--o4jlryxhd
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 with EC2-backed Kubernetes nodes...
og:url: https://daily.dev/posts/how-do-you-handle-logging-when-you-don-t-control-the-underlying-infrastructure--o4jlryxhd
og:image: https://api.daily.dev/og/posts/o4jLryxHD.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?

**[DevOps & Platform Engineering Hub](https://daily.dev/sources/sanjay)** · [@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 with EC2-backed Kubernetes nodes isn't available. The poster asks how other DevOps and platform teams manage log collection, filtering, and retention on Fargate, and links a walkthrough covering Fluent Bit and CloudWatch setup with the aws-observability namespace, aws-logging ConfigMap, Fargate profile, and IAM configuration.

## 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 approach 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 I'm curious how other DevOps and platform teams are 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
- [Building a Production Style Kubernetes Platform on AWS with Amazon EKS](https://daily.dev/posts/building-a-production-style-kubernetes-platform-on-aws-with-amazon-eks-dh3yqcvc2) · Medium · 3 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--o4jlryxhd)

```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--o4jlryxhd","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 with EC2-backed Kubernetes nodes isn't available. The poster asks how other DevOps and platform teams manage log collection, filtering, and retention on Fargate, and links a walkthrough covering Fluent Bit and CloudWatch setup with the aws-observability namespace, aws-logging ConfigMap, Fargate profile, and IAM configuration.","url":"https://daily.dev/posts/how-do-you-handle-logging-when-you-don-t-control-the-underlying-infrastructure--o4jlryxhd","datePublished":"2026-08-26T05:15:33.516Z","dateModified":"2026-08-26T05:15:50.605Z","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--fJO2NDjX--/f_auto/v1787721333/posts/o4jLryxHD?_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/sanjay","name":"DevOps \u0026 Platform Engineering Hub"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"DevOps \u0026 Platform Engineering Hub","item":"https://daily.dev/squads/sanjay"},{"@type":"ListItem","position":3,"name":"How do you handle logging when you don't control the underlying infrastructure?"}]}
```

