Skip to content

Commit

Permalink
papertrail: add CRI parser fallback (#1541)
Browse files Browse the repository at this point in the history
Closes: #1537

When parser is replaced to CRI parser in tail_container_parse.conf,
parsed output stored into message not log.
As a result, blank message will be omitted.

Signed-off-by: Kentaro Hayashi <[email protected]>
  • Loading branch information
kenhys authored Oct 28, 2024
1 parent 8b58482 commit 0c74cd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/conf/kubernetes.conf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
program ${record["kubernetes"]["container_name"]}
severity info
facility local0
message ${record['log']}
message ${record['log'] || record['message']}
</record>
</filter>
<% end %>

0 comments on commit 0c74cd2

Please sign in to comment.