Skip to content

Commit 3161952

Browse files
ahmatarokkk
authored andcommitted
Fluentbit input Docker_Mode_Parser parameter support
1 parent 3edd39c commit 3161952

File tree

4 files changed

+20
-2
lines changed

4 files changed

+20
-2
lines changed

charts/logging-operator/crds/logging.banzaicloud.io_loggings.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1387,6 +1387,8 @@ spec:
13871387
type: string
13881388
Docker_Mode_Flush:
13891389
type: string
1390+
Docker_Mode_Parser:
1391+
type: string
13901392
Exclude_Path:
13911393
type: string
13921394
Ignore_Older:
@@ -7408,6 +7410,8 @@ spec:
74087410
type: string
74097411
Docker_Mode_Flush:
74107412
type: string
7413+
Docker_Mode_Parser:
7414+
type: string
74117415
Exclude_Path:
74127416
type: string
74137417
Ignore_Older:
@@ -9334,6 +9338,8 @@ spec:
93349338
type: string
93359339
Docker_Mode_Flush:
93369340
type: string
9341+
Docker_Mode_Parser:
9342+
type: string
93379343
Exclude_Path:
93389344
type: string
93399345
Ignore_Older:
@@ -15355,6 +15361,8 @@ spec:
1535515361
type: string
1535615362
Docker_Mode_Flush:
1535715363
type: string
15364+
Docker_Mode_Parser:
15365+
type: string
1535815366
Exclude_Path:
1535915367
type: string
1536015368
Ignore_Older:

config/crd/bases/logging.banzaicloud.io_loggings.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1387,6 +1387,8 @@ spec:
13871387
type: string
13881388
Docker_Mode_Flush:
13891389
type: string
1390+
Docker_Mode_Parser:
1391+
type: string
13901392
Exclude_Path:
13911393
type: string
13921394
Ignore_Older:
@@ -7408,6 +7410,8 @@ spec:
74087410
type: string
74097411
Docker_Mode_Flush:
74107412
type: string
7413+
Docker_Mode_Parser:
7414+
type: string
74117415
Exclude_Path:
74127416
type: string
74137417
Ignore_Older:
@@ -9334,6 +9338,8 @@ spec:
93349338
type: string
93359339
Docker_Mode_Flush:
93369340
type: string
9341+
Docker_Mode_Parser:
9342+
type: string
93379343
Exclude_Path:
93389344
type: string
93399345
Ignore_Older:
@@ -15355,6 +15361,8 @@ spec:
1535515361
type: string
1535615362
Docker_Mode_Flush:
1535715363
type: string
15364+
Docker_Mode_Parser:
15365+
type: string
1535815366
Exclude_Path:
1535915367
type: string
1536015368
Ignore_Older:

pkg/sdk/api/v1beta1/fluentbit_types.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,8 @@ type InputTail struct {
177177
ParserN []string `json:"Parser_N,omitempty"`
178178
// 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)
179179
DockerMode string `json:"Docker_Mode,omitempty"`
180+
// Specify an optional parser for the first line of the docker multiline mode.
181+
DockerModeParser string `json:"Docker_Mode_Parser,omitempty"`
180182
//Wait period time in seconds to flush queued unfinished split lines. (default:4)
181183
DockerModeFlush string `json:"Docker_Mode_Flush,omitempty"`
182184
}

pkg/sdk/static/gen/crds/generated.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)