-
Notifications
You must be signed in to change notification settings - Fork 50
/
cloudfoundry.yml
149 lines (132 loc) · 4.58 KB
/
cloudfoundry.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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
---
- type: replace
path: /instance_groups/name=maintenance/jobs/name=smoke_tests
value:
name: smoke-tests
release: logsearch-for-cloudfoundry
consumes:
cloud_controller: {from: cloud_controller, deployment: cf}
elasticsearch: {from: elasticsearch_master}
properties:
smoke_tests:
admin_password: "((cf_admin_password))"
elasticsearch_master:
app_index: 'logs-app-{{.Org}}-{{.Space}}-{{.Time.Format \"2006.01.02\"}}'
- type: replace
path: /instance_groups/name=maintenance/jobs/-
value:
name: upload-kibana-objects
release: logsearch-for-cloudfoundry
consumes:
cloud_controller: {from: cloud_controller, deployment: cf}
properties:
cloudfoundry:
user: admin
password: "((cf_admin_password))"
- type: replace
path: /instance_groups/name=ingestor/jobs/name=ingestor_syslog/properties/logstash_parser/elasticsearch?/index?
value: logs-%{[@metadata][index]}-%{+YYYY.MM.dd}
- type: replace
path: /instance_groups/name=maintenance/jobs/name=elasticsearch_config/properties/elasticsearch_config/templates/-
value:
index-mappings-lfc: /var/vcap/jobs/elasticsearch-config-lfc/index-mappings.json
- type: replace
path: /instance_groups/name=maintenance/jobs/name=elasticsearch_config/properties/elasticsearch_config/templates/-
value:
index-mappings-app-lfc: /var/vcap/jobs/elasticsearch-config-lfc/index-mappings-app.json
- type: replace
path: /instance_groups/name=maintenance/jobs/name=elasticsearch_config/properties/elasticsearch_config/templates/-
value:
index-mappings-platform-lfc: /var/vcap/jobs/elasticsearch-config-lfc/index-mappings-platform.json
- type: replace
path: /instance_groups/name=maintenance/jobs/-
value:
name: elasticsearch-config-lfc
release: logsearch-for-cloudfoundry
- type: replace
path: /instance_groups/name=ingestor/jobs/-
value:
name: parser-config-lfc
release: logsearch-for-cloudfoundry
- type: replace
path: /instance_groups/name=ingestor/jobs/name=ingestor_syslog/properties/logstash_parser/deployment_dictionary/-
value:
/var/vcap/jobs/parser-config-lfc/config/deployment_lookup.yml
- type: replace
path: /instance_groups/name=ingestor/jobs/name=ingestor_syslog/properties/logstash_parser/filters?
value:
- logsearch-for-cf: /var/vcap/packages/logsearch-config-logstash-filters/logstash-filters-default.conf
- type: replace
path: /instance_groups/name=ingestor/jobs/-
value:
name: ingestor_cloudfoundry-firehose
release: logsearch-for-cloudfoundry
consumes:
cloud_controller: {from: cloud_controller, deployment: cf}
ingestor: {from: ingestor_link}
properties:
cloudfoundry:
firehose_client_id: firehose-to-syslog
firehose_client_secret: "((firehose_client_secret))"
skip_ssl_validation: true
- type: replace
path: /instance_groups/name=kibana/jobs/-
value:
name: redis
release: logsearch-for-cloudfoundry
provides:
redis: {as: redis_link}
- type: replace
path: /instance_groups/name=kibana/jobs/-
value:
name: kibana-auth-plugin
release: logsearch-for-cloudfoundry
consumes:
cloud_controller: {from: cloud_controller, deployment: cf}
kibana: {from: kibana_link}
redis: {from: redis_link}
properties:
kibana-auth:
cloudfoundry:
client_secret: "((kibana_oauth2_client_secret))"
skip_ssl_validation: true
- type: replace
path: /instance_groups/name=kibana/jobs/-
value:
name: route_registrar
release: routing
consumes:
nats:
from: nats
deployment: cf
properties:
route_registrar:
routes:
- name: kibana
port: 5601
registration_interval: 60s
uris:
- "logs.((system_domain))"
- type: replace
path: /instance_groups/name=kibana/jobs/name=kibana/properties/kibana/plugins?
value:
- auth: /var/vcap/packages/kibana-auth-plugin/kibana-auth-plugin.zip
- type: replace
path: /instance_groups/name=kibana/jobs/name=kibana/properties/kibana/source_files?
value:
- /var/vcap/jobs/kibana-auth-plugin/config/config.sh
# Releases
- type: replace
path: /releases/-
value:
name: routing
version: 0.188.0
url: https://bosh.io/d/github.com/cloudfoundry-incubator/cf-routing-release?v=0.188.0
sha1: d3420851c470790e8980ff0c506f75e3e52c15d9
- type: replace
path: /releases/-
value:
name: logsearch-for-cloudfoundry
url: https://s3.amazonaws.com/logsearch-for-cloudfoundry/logsearch-for-cloudfoundry-211.1.0.tgz
version: 211.1.0
sha1: 72f1cb12f753f05f143526dc38c2c551b5c3097b