mirror of
https://github.com/fluent/fluentd-ui.git
synced 2025-08-11 16:57:11 +02:00
23 lines
433 B
Ruby
23 lines
433 B
Ruby
class Fluentd::Settings::OutElasticsearchController < ApplicationController
|
|
include SettingConcern
|
|
|
|
private
|
|
|
|
def target_class
|
|
Fluentd::Setting::OutElasticsearch
|
|
end
|
|
|
|
def initial_params
|
|
{
|
|
host: "127.0.0.1",
|
|
port: 9200,
|
|
index_name: "via_fluentd",
|
|
type_name: "via_fluentd",
|
|
logstash_format: true,
|
|
include_tag_key: false,
|
|
tag_key: "tag",
|
|
utc_index: true,
|
|
}
|
|
end
|
|
end
|