mirror of
https://github.com/fluent/fluentd-ui.git
synced 2026-05-10 21:36:09 +02:00
Add Fluentd::Setting::FilterGrep.permit_params
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
This commit is contained in:
parent
a740ff9334
commit
c7b82cf23b
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user