Add Fluentd::Setting::FilterGrep.permit_params

Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
This commit is contained in:
Kenji Okimoto 2018-09-12 16:07:03 +09:00
parent a740ff9334
commit c7b82cf23b

View File

@ -10,6 +10,14 @@ class Fluentd
}
end
def self.permit_params
[
:pattern, :log_level, :@log_level,
{ and: {regexp: [:key, :pattern], exclude: [:key, :pattern]} },
{ or: {regexp: [:key, :pattern], exclude: [:key, :pattern]} }
]
end
def common_options
[
:pattern