Part 1: Collecting Logs With Grafana Alloy And Sending Them To Loki

Part 1: Collecting Logs With Grafana Alloy And Sending Them To Loki

3.996 Lượt nghe
Part 1: Collecting Logs With Grafana Alloy And Sending Them To Loki
📌 Welcome to the Grafana Alloy Course! Grafana Alloy is a powerful, vendor-neutral tool built on OpenTelemetry (OTel) that collects metrics, traces, and logs. In this video, we focus on log collection, showing you how to set up Grafana Alloy to send logs to Grafana Loki. Follow this course to master Alloy and learn how to collect metrics and traces in upcoming videos! --- 📋 What This Video Covers: Installing Grafana Alloy on Linux and Kubernetes. Collecting logs from: Local files. Systemd journals. Docker containers. Kubernetes pods. Customizing configurations for your setup. Exploring the Grafana Alloy UI. --- ⏰ Timestamps for Easy Navigation: 00:00 Course Overview 01:23 Installing Grafana Alloy on Linux 03:18 Overriding the Default Path for Alloy Configurations 05:15 Collecting Logs from Local Log Files 13:53 Collecting Logs from the Systemd Journal 26:18 Collecting Logs from Docker Containers 35:25 Exploring the Grafana Alloy UI 39:38 Installing Grafana Alloy on Kubernetes 50:56 Collecting Logs from Kubernetes Pods --- 📚 Learn More from the Official Documentation: For more in-depth details and advanced configuration options, make sure to check out the Grafana Alloy official documentation: 👉 https://grafana.com/docs/alloy/latest/ --- 🔗 Code and Resources: All the code explained in this video is available on the CodeOpsByMo GitHub organization: 👉 https://github.com/codeopsbymo The repository for this course can be found here: 👉 https://github.com/codeopsbymo/grafana-alloy --- 📢 Why Follow This Course? This video is part of a complete Grafana Alloy series. Future episodes will teach you how to: Collect metrics from your infrastructure. Trace requests across distributed systems. 📌 Subscribe to CodeOpsByMo for more hands-on DevOps tutorials. 👍 Like the video if you found it helpful, and let us know your thoughts in the comments!