Skip to content

Commit

Permalink
Fluentbit input Docker_Mode_Parser parameter support
Browse files Browse the repository at this point in the history
  • Loading branch information
ahma authored and tarokkk committed Jul 19, 2021
1 parent 3edd39c commit 3161952
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1387,6 +1387,8 @@ spec:
type: string
Docker_Mode_Flush:
type: string
Docker_Mode_Parser:
type: string
Exclude_Path:
type: string
Ignore_Older:
Expand Down Expand Up @@ -7408,6 +7410,8 @@ spec:
type: string
Docker_Mode_Flush:
type: string
Docker_Mode_Parser:
type: string
Exclude_Path:
type: string
Ignore_Older:
Expand Down Expand Up @@ -9334,6 +9338,8 @@ spec:
type: string
Docker_Mode_Flush:
type: string
Docker_Mode_Parser:
type: string
Exclude_Path:
type: string
Ignore_Older:
Expand Down Expand Up @@ -15355,6 +15361,8 @@ spec:
type: string
Docker_Mode_Flush:
type: string
Docker_Mode_Parser:
type: string
Exclude_Path:
type: string
Ignore_Older:
Expand Down
8 changes: 8 additions & 0 deletions config/crd/bases/logging.banzaicloud.io_loggings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1387,6 +1387,8 @@ spec:
type: string
Docker_Mode_Flush:
type: string
Docker_Mode_Parser:
type: string
Exclude_Path:
type: string
Ignore_Older:
Expand Down Expand Up @@ -7408,6 +7410,8 @@ spec:
type: string
Docker_Mode_Flush:
type: string
Docker_Mode_Parser:
type: string
Exclude_Path:
type: string
Ignore_Older:
Expand Down Expand Up @@ -9334,6 +9338,8 @@ spec:
type: string
Docker_Mode_Flush:
type: string
Docker_Mode_Parser:
type: string
Exclude_Path:
type: string
Ignore_Older:
Expand Down Expand Up @@ -15355,6 +15361,8 @@ spec:
type: string
Docker_Mode_Flush:
type: string
Docker_Mode_Parser:
type: string
Exclude_Path:
type: string
Ignore_Older:
Expand Down
2 changes: 2 additions & 0 deletions pkg/sdk/api/v1beta1/fluentbit_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,8 @@ type InputTail struct {
ParserN []string `json:"Parser_N,omitempty"`
// If enabled, the plugin will recombine split Docker log lines before passing them to any parser as configured above. This mode cannot be used at the same time as Multiline. (default:Off)
DockerMode string `json:"Docker_Mode,omitempty"`
// Specify an optional parser for the first line of the docker multiline mode.
DockerModeParser string `json:"Docker_Mode_Parser,omitempty"`
//Wait period time in seconds to flush queued unfinished split lines. (default:4)
DockerModeFlush string `json:"Docker_Mode_Flush,omitempty"`
}
Expand Down
4 changes: 2 additions & 2 deletions pkg/sdk/static/gen/crds/generated.go

Large diffs are not rendered by default.

0 comments on commit 3161952

Please sign in to comment.