Skip to content

Commit aee30d6

Browse files
committed
added scale out nozzle capability in the Tile
1 parent 8a9a30e commit aee30d6

File tree

1 file changed

+15
-10
lines changed

1 file changed

+15
-10
lines changed

tile/tile.yml

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
name: splunk-firehose-nozzle
2+
name: splunk-nozzle
33
label: Splunk Firehose Nozzle for PCF
44
description: Forward firehose logs & metrics to Splunk
55
icon_file: icon.png
@@ -26,25 +26,25 @@ forms:
2626
label: Splunk Settings
2727
description: Splunk HTTP Event Collector Settings
2828
markdown: |
29-
Configure your Splunk HTTP Event Collector
29+
Configure your Splunk HTTP Event Collector. See http://docs.splunk.com/Documentation/Splunk/latest/Data/UsetheHTTPEventCollector
3030
properties:
3131
- name: splunk_host
3232
type: string
3333
label: HTTP Event Collector Endpoint URL
34-
description: HTTP Event Collector endpoint. See https://example.cloud.splunk.com:8088 for an example.
34+
description: HTTP Event Collector endpoint URL.
3535
- name: splunk_token
3636
type: secret
3737
label: HTTP Event Collector Token
38-
description: Splunk HTTP Event Collector token. See http://docs.splunk.com/Documentation/Splunk/latest/Data/UsetheHTTPEventCollector for more information.
38+
description: Splunk HTTP Event Collector token.
3939
- name: skip_ssl_validation_splunk
4040
type: boolean
4141
label: Skip SSL Validation
4242
default: false
43-
description: Skip SSL certificate validation for connection to CF. Secure communications will not check SSL certificates against a trusted CA Authority.
43+
description: Skip SSL certificate validation for connection to Splunk. Secure communications will not check SSL certificates against a trusted Certificate Authority.
4444
- name: splunk_index
4545
type: string
4646
label: Index
47-
description: The name of the Splunk index that events will be sent to. Warning:-Setting an invalid index will cause events to be lost.
47+
description: The name of the Splunk index that events will be sent to. WARNING:Setting an invalid index will cause events to be lost.
4848
default: main
4949

5050
- name: cf-config
@@ -54,7 +54,7 @@ forms:
5454
- name: api_endpoint
5555
type: string
5656
label: API Endpoint
57-
description: Cloud Foundry API endpoint. See https://appseg.syseg.example.cfplatformeng.com for an example.
57+
description: Cloud Foundry API endpoint.
5858
- name: api_user
5959
type: string
6060
label: API User
@@ -67,7 +67,7 @@ forms:
6767
type: boolean
6868
label: Skip SSL Validation
6969
default: false
70-
description: Skip SSL certificate validation for connection to CF. Secure communications will not check SSL certificates against a trusted CA Authority. Do not set to true in production.
70+
description: Skip SSL certificate validation for connection to Cloud Foundry. Secure communications will not check SSL certificates against a trusted Certificate Authority. Do not set to true in production.
7171
- name: events
7272
type: multi_select_options
7373
label: Event Types
@@ -91,6 +91,11 @@ forms:
9191
label: Advanced
9292
description: Additional Nozzle Configuration
9393
properties:
94+
- name: scale_out_nozzle
95+
type: integer
96+
label: Scale Out Nozzle
97+
description: Scale out Splunk nozzle. Recommendation:Run 2 or more nozzles for high availability.
98+
default: 2
9499
- name: firehose_subscription_id
95100
type: string
96101
label: Firehose Subscription ID
@@ -118,8 +123,8 @@ packages:
118123
type: app
119124
label: Splunk-Firehose-Nozzle
120125
manifest:
121-
memory: 512M
122-
instances: 2
126+
memory: 512M
127+
instances: (( .properties.scale_out_nozzle.value ))
123128
buildpack: binary_buildpack
124129
path: ../splunk-firehose-nozzle
125130
command: ./splunk-firehose-nozzle

0 commit comments

Comments
 (0)