Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apis/fluentd/v1alpha1/plugins/input/tail.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ type Tail struct {
// Emits unmatched lines when <parse> format is not matched for incoming logs.
EmitUnmatchedLines *bool `json:"emitUnmatchedLines,omitempty"`
// If you have to exclude the non-permission files from the watch list, set this parameter to true. It suppresses the repeated permission error logs.
IgnoreRepatedPermissionError *bool `json:"ignoreRepeatedPermissionError,omitempty"`
IgnoreRepeatedPermissionError *bool `json:"ignoreRepeatedPermissionError,omitempty"`
// The in_tail plugin can assign each log file to a group, based on user defined rules.
// The limit parameter controls the total number of lines collected for a group within a rate_period time interval.
Group *Group `json:"group,omitempty"`
Expand Down
4 changes: 2 additions & 2 deletions apis/fluentd/v1alpha1/plugins/input/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -212,8 +212,8 @@ func (i *Input) tailPlugin(parent *params.PluginStore, loader plugins.SecretLoad
parent.InsertPairs("emit_unmatched_lines", fmt.Sprint(*tailModel.EmitUnmatchedLines))
}

if tailModel.IgnoreRepatedPermissionError != nil {
parent.InsertPairs("ignore_repeated_permission_error", fmt.Sprint(*tailModel.IgnoreRepatedPermissionError))
if tailModel.IgnoreRepeatedPermissionError != nil {
parent.InsertPairs("ignore_repeated_permission_error", fmt.Sprint(*tailModel.IgnoreRepeatedPermissionError))
}

return parent
Expand Down