odigos icon indicating copy to clipboard operation
odigos copied to clipboard

Log receivers should be from source namespace only

Open edwardwu opened this issue 1 year ago • 6 comments

Describe the bug When choose the source from e.g. default namespace, the filelog receciver should be use /var/log/pods/default_*/*/*.log instead of /var/log/pods/*/*/*.log receivers: filelog: exclude: - /var/log/pods/kube-system_*/*/*.log include: - /var/log/pods/default_*/*/*.log include_file_name: false include_file_path: true

To Reproduce Steps to reproduce the behavior:

  1. install v1.0.17
  2. select source from all pods from default namespace
  3. select log destination to use loki
  4. I will see the logs from all namespaces

Expected behavior the logs should be from default namespace only

Desktop (please complete the following information):

  • OS: Linux
  • Version: Ubuntu 22.04

edwardwu avatar Jan 09 '24 16:01 edwardwu