mirror of
https://github.com/fluent/fluentd-ui.git
synced 2025-08-09 07:47:07 +02:00
23 lines
339 B
Ruby
23 lines
339 B
Ruby
class Fluentd
|
|
module Setting
|
|
class ParserCsv
|
|
include Fluentd::Setting::Plugin
|
|
|
|
register_plugin("parser", "csv")
|
|
|
|
def self.initial_params
|
|
{
|
|
keys: nil,
|
|
delimiter: ","
|
|
}
|
|
end
|
|
|
|
def common_options
|
|
[
|
|
:keys, :delimiter
|
|
]
|
|
end
|
|
end
|
|
end
|
|
end
|