This repository has been archived by the owner on Jun 6, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathspec
133 lines (124 loc) · 4.76 KB
/
spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
---
name: adapter
templates:
bpm.yml.erb: config/bpm.yml
drain.erb: bin/drain
ca.crt.erb: certs/ca.crt
adapter.crt.erb: certs/adapter.crt
adapter.key.erb: certs/adapter.key
indicators.yml.erb: config/indicators.yml
rlp_ca.crt.erb: certs/rlp_ca.crt
adapter_rlp.crt.erb: certs/adapter_rlp.crt
adapter_rlp.key.erb: certs/adapter_rlp.key
packages:
- adapter
consumes:
- name: reverse_log_proxy
type: reverse_log_proxy
optional: true
provides:
- name: adapter_addrs
type: addr
properties:
- scalablesyslog.adapter.port
properties:
scalablesyslog.enabled:
description: "Enable scalable syslog adapter"
default: true
scalablesyslog.adapter.health:
description: The port for the adapter health endpoint.
default: 8080
scalablesyslog.adapter.pprof:
description: The port for pprof on the adapter.
default: 0
scalablesyslog.adapter.port:
description: The port for the adapter to listen on gRPC.
default: 4443
scalablesyslog.adapter.logs.addr:
description: |
The address of the Reverse Log Proxy (RLP) if Bosh DNS is not enabled.
default: ""
scalablesyslog.adapter.bosh_dns:
description: Enable Bosh DNS. Disabling this implies Consul DNS.
default: true
scalablesyslog.adapter.keepalive:
description: |
The duration for sending keepalive packets for TCP and TLS syslog
drains. Setting this to zero disables keepalives.
default: 30s
scalablesyslog.adapter.syslog_dial_timeout:
description: The timeout duration for dialing syslog drains.
default: 5s
scalablesyslog.adapter.syslog_io_timeout:
description: The timeout duration for writing to syslog drains.
default: 1m
scalablesyslog.adapter.syslog_skip_cert_verify:
description: |
This disables TLS verification when connecting to a HTTPS or a Syslog TLS drain.
default: false
scalablesyslog.adapter.metrics_to_syslog_enabled:
description: |
By setting this value to true, the adapter will support writing
metrics into a syslog drain. Note, this feature requires Loggregator
v101 or higher.
default: true
scalablesyslog.adapter.max_bindings:
description: |
The maximum number of bindings that can be serviced by an adapter.
default: 500
scalablesyslog.adapter.logs_api_conn_ttl:
description: |
The TTL of connection to Logs API(s).
Each logs_api_conn_ttl interval adapter reconnects to Logs API(s) in sake of rebalancing.
WARNING: during the reconnection log lost is possible.
default: 600s
scalablesyslog.adapter.tls.ca:
description: |
When the adapter accepts connections via gRPC it must validate the
clients' certificates were signed by a trusted CA. This is the CA
trusted by the adapter.
scalablesyslog.adapter.tls.cert:
description: |
This certificate is sent to gRPC clients when they initiate a connection.
It must be signed by a CA that is trusted by the client.
scalablesyslog.adapter.tls.key:
description: |
This is the private key for the certificate sent to gRPC clients when
they initiate a connection.
scalablesyslog.adapter.tls.cn:
description: |
The common name for the adapters TLS certificate.
scalablesyslog.adapter_rlp.tls.ca:
description: |
When the adapter communicates with the RLP it must validate the
RLP's certificates were signed by a trusted CA. This is the CA
trusted by the adapter for that communication.
scalablesyslog.adapter_rlp.tls.cert:
description: |
This certificate is sent to the RLP when initiating a connection.
It must be signed by a CA that is trusted by the RLP.
scalablesyslog.adapter_rlp.tls.key:
description: |
This is the private key for the certificate sent to the RLP when
initiating a connection.
scalablesyslog.adapter_rlp.tls.cn:
description: |
When the adapter communicates with the RLP it must validate the RLP's
common name (CN) or subject alternative names (SANs) against the hostname
or IP address used to initiate the connection. Since we use a custom CN
for RLP this must be set to that value for validation to be successful.
scalablesyslog.metric_ingress_addr:
description: |
The address used to send metric data to metron.
default: localhost:3458
scalablesyslog.metric_ingress_cn:
description: |
When the adapter communicates with metron it must validate metron's
common name (CN) or subject alternative names (SANs) against the
hostname or IP address used to initiate the connection. Since we use a
custom CN for metron this must be set to that value for validation to be
successful.
default: metron
metric_emitter.interval:
description: The interval that metrics are emitted to metron.
default: 1m