Audit Logs forwarded using the syslog protocol show container name instead of node name
Issue
- How can we configure
LogForwarding
to sendlogs
with ahostname
of the originating node(where thefluentd
pod is running on)? - Logs are coming With the
fluentd
container name iffluentd
container gets recreated with a different name how we can track oldlogs
of the previousfluentd
.
Current log format:
--
<containername> fluentd
--
Expected log format:
--
<nodename> fluentd
--
Environment
- Red Hat Container Openshift Platform 4.6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.