-
Notifications
You must be signed in to change notification settings - Fork 0
/
logservice.yml
113 lines (106 loc) · 3.23 KB
/
logservice.yml
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
---
name: logservice
instance_groups:
- name: logservice
azs: [z1,z2,z3]
instances: 3
jobs:
- name: bpm
release: bpm
- name: logservice
release: logservice
properties:
logservice:
syslog_addresses:
- id: cada65a0-c972-4ccf-8eb2-bc58b0d147cb
name: loghost
company_id: apps@1368
description: Drain apps logs to loghost
default_drain_type: "" # can be logs (similar to empty), metrics or all
bullets:
- "Available create parameters:"
- "- s"
- "- env"
- "- audience"
urls:
- tcp://loghost.example.net:1512
tags:
s: "{{.Space}}"
env: "{{if hasSuffix .Org \"-staging\" }}dev{{ else }}prod{{ end }}"
audience: "mycompagny"
fmt: "json"
web:
tls:
cert: ((log_service_ssl.certificate))
key: ((log_service_ssl.private_key))
broker:
public_host: logservice.((system_domain))
drain_host: logservice.service.cf.internal
username: logservice-broker
password: ((logservice-broker-password))
db:
user: logservice
password: ((logservice-mysql-password))
host: database.service.cf.internal
database: logservice
forwarder:
allowed_hosts:
- logservice.service.cf.internal
- name: route_registrar
release: routing
consumes:
nats-tls:
from: nats-tls
deployment: cf
properties:
nats:
tls:
client_cert: ((nats_client_cert))
client_key: ((nats_client_key))
enabled: true
route_registrar:
routes:
- name: logservice
registration_interval: 20s
server_cert_domain_san: "logservice.service.cf.internal"
tls_port: 8089
uris:
- logservice.((system_domain))
vm_type: default
stemcell: default
networks:
- name: default
variables:
- name: logservice-broker-password
type: password
- name: log_service_ssl
update_mode: converge
options:
ca: /((director_name))/cf/service_cf_internal_ca
alternative_names:
# backward compatibility, to remove on next release
- logservice.service.cf.internal
- logservice.service.logservice.internal
- logserviceSSL
- "*.logservice.data-plane.logservice.bosh"
common_name: logserviceSSL
type: certificate
update:
canaries: 1
max_in_flight: 32
canary_watch_time: 1000-100000
update_watch_time: 1000-100000
serial: false
stemcells:
- alias: default
os: ubuntu-xenial
version: latest
manifest_version: v2.0.0
releases:
- name: logservice
version: 2.2.0
url: https://github.com/orange-cloudfoundry/logservice-release/releases/download/v2.0.0/logservice-2.0.0.tgz
- name: bpm
version: latest
- name: routing
version: latest