Unable to get folder name with promtail regexp

You are using __path__ as source, so /var/logs/scrapyd/logs/grabbers/**/*.log is processed and you get ** in grabbers from it

filename should be used as source to get what you need.

See also this topic

1 Like