Increasing the rate that log files are read by Promtail

I’m using a static_configs job to read log files and unlike, for instance Windows Events where a poll_interval can be set I cannot find the option to increase the rate which log files are read. It would appear they’re read every 60 seconds. Can this be increased somehow? Changing the sync_period of the positions file didn’t work.

file_watch_config might be what you are looking for: Configure Promtail | Grafana Loki documentation

1 Like