mirror of
https://github.com/fluent/fluentd-ui.git
synced 2025-08-13 17:57:10 +02:00
Add fluentd in/out setting area
This commit is contained in:
parent
c833682cc8
commit
d9c2fe9dc3
@ -1,3 +1,6 @@
|
||||
- page_title t(".page_title")
|
||||
|
||||
.well
|
||||
= raw t('fluentd.settings.out_mongo.option_guide')
|
||||
|
||||
= render "form"
|
||||
|
@ -1,15 +1,30 @@
|
||||
- page_title t('.page_title', label: @fluentd.label)
|
||||
|
||||
.row
|
||||
%h2
|
||||
= t(".edit_config")
|
||||
= link_to icon('fa-pencil') << t(".edit"), edit_fluentd_setting_path(@fluentd)
|
||||
%pre
|
||||
= preserve do
|
||||
= @config
|
||||
.col-lg-12
|
||||
%h2
|
||||
= t(".edit_config")
|
||||
= link_to icon('fa-pencil') << t(".edit"), edit_fluentd_setting_path(@fluentd)
|
||||
%pre
|
||||
= preserve do
|
||||
= @config
|
||||
|
||||
.row
|
||||
.col-lg-4.well
|
||||
= link_to(fluentd_setting_in_tail_path(@fluentd)) do
|
||||
= icon('fa-file-text-o fa-lg')
|
||||
= t("fluentd.common.setup_in_tail")
|
||||
.col-lg-6
|
||||
.panel.panel-default
|
||||
.panel-heading
|
||||
%h2= t('.in')
|
||||
.panel-body
|
||||
%p
|
||||
= link_to(fluentd_setting_in_tail_path(@fluentd)) do
|
||||
= icon('fa-file-text-o fa-lg')
|
||||
= t("fluentd.common.setup_in_tail")
|
||||
.col-lg-6
|
||||
.panel.panel-default
|
||||
.panel-heading
|
||||
%h2= t('.out')
|
||||
.panel-body
|
||||
%p
|
||||
= link_to(fluentd_setting_out_mongo_path(@fluentd)) do
|
||||
= icon('fa-file-text-o fa-lg')
|
||||
= t("fluentd.common.setup_out_mongo")
|
||||
|
@ -93,6 +93,7 @@ en:
|
||||
config_file: Config file
|
||||
page_title: "%{label}"
|
||||
setup_in_tail: Setting file reading
|
||||
setup_out_mongo: Setting MongoDB writing
|
||||
finish: Update config
|
||||
fluentd_info: Setting info
|
||||
recent_errors: "Recently %{days} days errors"
|
||||
@ -121,8 +122,16 @@ en:
|
||||
show:
|
||||
<<: *fluentd_common
|
||||
page_title: fluentd config
|
||||
in: Input source setting
|
||||
out: Output source setting
|
||||
edit:
|
||||
<<: *fluentd_common
|
||||
out_mongo:
|
||||
option_guide: |
|
||||
fluent-plugin-mongo install is required.<br />
|
||||
See also <a target="_blank" href="http://docs.fluentd.org/articles/out_mongo">out_mongo plugin</a>.
|
||||
show:
|
||||
page_title: Write to MongoDB setting
|
||||
in_tail_option_guide: |
|
||||
See <a target="_blank" href="http://docs.fluentd.org/articles/in_tail">in_tail Plugin</a> or
|
||||
<a target="_blank" href="http://fluentular.herokuapp.com/">Fluentular</a> for more details.
|
||||
|
@ -93,6 +93,7 @@ ja:
|
||||
config_file: 設定ファイル
|
||||
page_title: "%{label}"
|
||||
setup_in_tail: ファイル読み込みの設定
|
||||
setup_out_mongo: MongoDBへの書き出し設定
|
||||
finish: 設定する
|
||||
fluentd_info: 設定情報
|
||||
recent_errors: "直近 %{days} 日内のエラー"
|
||||
@ -122,8 +123,16 @@ ja:
|
||||
show:
|
||||
<<: *fluentd_common
|
||||
page_title: fluentd 設定
|
||||
in: 入力ソースの設定
|
||||
out: 出力ソースの設定
|
||||
edit:
|
||||
<<: *fluentd_common
|
||||
out_mongo:
|
||||
option_guide: |
|
||||
fluent-plugin-mongoプラグインのインストールが必要です。<br />
|
||||
<a target="_blank" href="http://docs.fluentd.org/ja/articles/out_mongo">out_mongoプラグインの解説</a>もご参照ください。
|
||||
show:
|
||||
page_title: MongoDB書き出し設定
|
||||
in_tail_option_guide: |
|
||||
<a target="_blank" href="http://docs.fluentd.org/ja/articles/in_tail">in_tailプラグインの解説ページ</a>や
|
||||
<a target="_blank" href="http://fluentular.herokuapp.com/">Fluentular</a>もご参照ください。
|
||||
|
Loading…
Reference in New Issue
Block a user