Logging
Browse all articles, tutorials, and guides about Logging
Posts
Your Logs Cost More Than the Service That Emits Them
Log ingestion is priced per gigabyte and indexing is priced per event, which means a service emitting small lines pays far more than its byte count suggests. Here is the arithmetic on a real server, why the usual advice to "log less" misses, and the five levers that actually move the bill.
How Do I Get Logs from All Pods of a Kubernetes Replication Controller?
Learn how to retrieve logs from all Pods managed by a Kubernetes replication controller. Understand the commands and best practices for effective logging.
How to Configure CloudWatch Logs Subscription Filter to Lambda With Terraform
Learn how to stream CloudWatch Logs to a Lambda function using Terraform, including proper permissions and error handling.
How to Grep a Continuous Stream in Real-Time
Learn how to filter live log streams with grep, including line-buffering for immediate output, following log files, and monitoring command output as it happens.
How to Redirect and Append Both stdout and stderr to a File in Bash
Learn different methods to capture both standard output and error streams in Bash, including appending to files and separating streams for better logging.