Hi there,
I’m wondering how I could test my promtail configuration.
My promtail.yml contains a few different jobs for different files and I’d like to echo some examples and ensure that the configuration of a specific job works fine.
I have seen the documentation but it seems to only apply the job: stdin
. Is there a way to select a specific job (i.e/ nginx in my case)
tail /var/log/nginx/access.log | promtail --stdin --dry-run --inspect --client.url http://127.0.0.1:3100/loki/api/v1/push
Thanks in advance