Forum Discussion
Karthikeyan_B_R
Apr 24, 2024Copper Contributor
Need to know if fluentd can be setup to filter logs from azure kubernetes service before sending it
Hi, I have a Kubernetes service setup in azure and have enabled insights for the same. I have created a log analytics workspace and a diagnostic setting to send all the logs to the log analytics wor...
Kidd_Ip
Jun 23, 2025MVP
You can deploy as a DaemonSet within your Azure Kubernetes Service (AKS) cluster, ensuring that each node operates a Fluentd pod for local log collection. This setup enables the configuration of Fluentd to filter, transform, and selectively route log data prior to ingestion by the Log Analytics workspace:
1. Deploy Fluentd as a DaemonSet in your AKS cluster.
2. Configure Fluentd with filters (e.g., grep, record_transformer, parser) to exclude unnecessary logs or metadata.
3. Use the appropriate output plugin (like azure_loganalytics) to send the filtered logs to your Log Analytics workspace.