You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The source label is actually always added if it has a value from docker. To remove it you need to use pipeline stages, which are run at last on every lines.
The relabeling phase is happening only once per container and it is applied on the container metadata once it starts, at this point the label doesn't yet exist.
Describe the bug
loki-relabel-config
does not remove the source labelTo Reproduce
Steps to reproduce the behavior:
logcli query --tail '{job="docker"}'
Got:
Expected behavior
I expected the
source
label to be removed.Please note that the
filename
label was removed as expected.The text was updated successfully, but these errors were encountered: