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
Yes, if we can provide a way to add the label like docker daemon.json it would be great.
Else if we can have another filter IO_KUBERNETES_CONTAINER_NAME with only the container name (c.config.Metadata.Name) then it would help filter logs with it.
Is there a way to plug your filters in before we send out to journald?
With docker, the below
daemon.json
forjournald
:We can filter journalctl logs by
IO_KUBERNETES_CONTAINER_NAME=<container-name>
. Wherecontainer-name
is the one defined in the k8s manifest.In crio, when logging to journald, the
CONTAINER_NAME
filter outputs the pod name instead along with some hash:Is there a way to configure the fields we send to journald like docker does? So that we can have only
kafka
returned when doing the filter match?The text was updated successfully, but these errors were encountered: