-
-
- {{input
- type="text"
- value=item.endpoint
- classNames="form-control"
- placeholder=(t "loggingPage.kafka.endpoint.broker.placeholder")
- }}
-
-
-
-
+ {{#if (eq brokerType "zookeeper")}}
+
+
+ {{input
+ type="text"
+ value=config.zookeeperEndpoint
+ classNames="form-control"
+ placeholder=(t "loggingPage.kafka.endpoint.zookeeper.placeholder")
+ id="kafka-endpoint"
+ }}
- {{/each}}
-
- {{t "loggingPage.kafka.brokerHelpText"}}
-
-
-
-
- {{/if}}
+
+ {{t "loggingPage.kafka.zookeeperHelpText"}}
+
+ {{else}}
+ {{#each brokerEndpoints as |item idx|}}
+
+
+
+ {{input
+ type="text"
+ value=item.endpoint
+ classNames="form-control"
+ placeholder=(t "loggingPage.kafka.endpoint.broker.placeholder")
+ }}
+
+
+
+
+
+ {{/each}}
+
+ {{t "loggingPage.kafka.brokerHelpText"}}
+
+
+
+
+ {{/if}}
@@ -126,8 +126,9 @@
{{logging/form-log-format
logPreview=logPreview
model=model
+ loggingModel=parentModel
}}
{{!--
- {{#advanced-section advanced=showAdvanced}}
- {{logging/form-log-docker model=model parentModel=parentModel}}
- {{/advanced-section}} --}}
+{{#advanced-section advanced=showAdvanced}}
+{{logging/form-log-docker model=model parentModel=parentModel}}
+{{/advanced-section}} --}}
diff --git a/lib/logging/addon/components/logging/target-splunk/template.hbs b/lib/logging/addon/components/logging/target-splunk/template.hbs
index d4de9c3a9..d9ef004a0 100644
--- a/lib/logging/addon/components/logging/target-splunk/template.hbs
+++ b/lib/logging/addon/components/logging/target-splunk/template.hbs
@@ -1,7 +1,7 @@
{{t "loggingPage.splunk.header"}}
- {{t "loggingPage.splunk.helpText" htmlSafe=true}}
+ {{t "loggingPage.splunk.helpText" htmlSafe=true}}
@@ -9,11 +9,11 @@
{{input
- type="text"
- value=config.endpoint
- classNames="form-control"
- placeholder=(t "loggingPage.splunk.endpoint.placeholder")
- id="splunk-endpoint"
+ type="text"
+ value=config.endpoint
+ classNames="form-control"
+ placeholder=(t "loggingPage.splunk.endpoint.placeholder")
+ id="splunk-endpoint"
}}
@@ -21,10 +21,10 @@
{{input
- type="text"
- value=config.token
- classNames="form-control"
- placeholder=(t "loggingPage.splunk.tokenPlaceholder")
+ type="text"
+ value=config.token
+ classNames="form-control"
+ placeholder=(t "loggingPage.splunk.tokenPlaceholder")
}}
{{t "loggingPage.splunk.tokenHelpText" htmlSafe=true}}
@@ -35,10 +35,10 @@
{{input
- type="text"
- value=config.source
- classNames="form-control"
- placeholder=(t "loggingPage.splunk.sourcePlaceholder")
+ type="text"
+ value=config.source
+ classNames="form-control"
+ placeholder=(t "loggingPage.splunk.sourcePlaceholder")
}}
{{t "loggingPage.splunk.sourceHelpText" htmlSafe=true}}
@@ -47,10 +47,10 @@
{{input
- type="text"
- value=config.index
- classNames="form-control"
- placeholder=(t "loggingPage.splunk.indexPlaceholder")
+ type="text"
+ value=config.index
+ classNames="form-control"
+ placeholder=(t "loggingPage.splunk.indexPlaceholder")
}}
{{t "loggingPage.splunk.indexHelpText" htmlSafe=true}}
@@ -60,16 +60,17 @@
{{logging/form-log-ssl
- config=config
- targetType=targetType
- disabled=(not enableSSLConfig)
+ config=config
+ targetType=targetType
+ disabled=(not enableSSLConfig)
}}
{{logging/form-log-format
- logPreview=logPreview
- model=model
+ logPreview=logPreview
+ model=model
+ loggingModel=parentModel
}}
{{!--
- {{#advanced-section advanced=showAdvanced}}
- {{logging/form-log-docker model=model parentModel=parentModel}}
- {{/advanced-section}} --}}
+{{#advanced-section advanced=showAdvanced}}
+{{logging/form-log-docker model=model parentModel=parentModel}}
+{{/advanced-section}} --}}
diff --git a/lib/logging/addon/components/logging/target-syslog/template.hbs b/lib/logging/addon/components/logging/target-syslog/template.hbs
index 447f154d7..37f6b5c21 100644
--- a/lib/logging/addon/components/logging/target-syslog/template.hbs
+++ b/lib/logging/addon/components/logging/target-syslog/template.hbs
@@ -1,57 +1,57 @@
-
{{t 'loggingPage.syslog.header'}}
+
{{t "loggingPage.syslog.header"}}
-
-
-
+
{{input
- type="text"
- value=config.program
- classNames="form-control"
- placeholder=(t 'loggingPage.syslog.programPlaceholder')
+ type="text"
+ value=config.program
+ classNames="form-control"
+ placeholder=(t "loggingPage.syslog.programPlaceholder")
}}
-
{{t 'loggingPage.syslog.programHelpText'}}
+
{{t "loggingPage.syslog.programHelpText"}}
-
+
{{input
- type="text"
- value=config.token
- classNames="form-control"
- placeholder=(t 'loggingPage.splunk.tokenPlaceholder')
+ type="text"
+ value=config.token
+ classNames="form-control"
+ placeholder=(t "loggingPage.splunk.tokenPlaceholder")
}}
- {{t 'loggingPage.syslog.tokenHelpText' htmlSafe=true}}
+ {{t "loggingPage.syslog.tokenHelpText" htmlSafe=true}}
@@ -64,18 +64,22 @@
{{t item.label}}
{{/each}}
- {{t 'loggingPage.syslog.severityHelpText' htmlSafe=true}}
+ {{t "loggingPage.syslog.severityHelpText" htmlSafe=true}}
{{logging/form-log-ssl
- config=config
- targetType=targetType
- disabled=(or (not enableSSLConfig) (not config.enableTls))
+ config=config
+ targetType=targetType
+ disabled=(or (not enableSSLConfig) (not config.enableTls))
}}
-{{logging/form-log-format logPreview=logPreview model=model}}
+{{logging/form-log-format
+ logPreview=logPreview
+ model=model
+ loggingModel=parentModel
+}}
{{!--
- {{#advanced-section advanced=showAdvanced}}
- {{logging/form-log-docker model=model parentModel=parentModel}}
- {{/advanced-section}} --}}
+{{#advanced-section advanced=showAdvanced}}
+{{logging/form-log-docker model=model parentModel=parentModel}}
+{{/advanced-section}} --}}