Hi,
is there any best practice for using static_configs for multiple files. I want to tail multiple logfiles from various locations.
This one works:
scrape_configs:
- job_name: grafana
entry_parser: raw
static_configs:
- targets:
- localhost
labels:
__path__: var/log/{loki,promtail}.log
job: omd
But it does not work when i try to include folders like:
__path__: var/log/{loki,promtail,grafana/grafana}.log
Promtail simply ignores that entry completly.