Skip to content

Commit

Permalink
chore: 🤖 add cri parser
Browse files Browse the repository at this point in the history
  • Loading branch information
jaskaransarkaria committed Dec 20, 2023
1 parent 3394de4 commit 60538df
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions configmap.tf
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,14 @@ resource "kubernetes_config_map" "fluent-bit-config" {
Format json
Time_Key time
Time_Keep On
# CRI-containerd Parser
[PARSER]
# https://rubular.com/r/DjPmoX5HnQMesk
Name cri-containerd
Format regex
Regex ^(?<time>[^ ]+) (?<stream>stdout|stderr) (?<logtag>[^ ]*) (?<log>.*)$
Time_Key time
Time_Format %Y-%m-%dT%H:%M:%S.%L%z
[PARSER]
Name generic-json
Expand Down

0 comments on commit 60538df

Please sign in to comment.