-
Notifications
You must be signed in to change notification settings - Fork 57
/
Copy pathspec
109 lines (101 loc) · 4.02 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
---
name: ingestor_cloudfoundry-firehose
description: This job ingests log messages from Cloud Foundry via Firehose interface
packages:
- firehose-to-syslog
consumes:
- name: cloud_controller
type: cloud_controller
optional: true
- name: ingestor
type: ingestor
optional: true
templates:
bin/ingestor_cloudfoundry: bin/ingestor_cloudfoundry.sh
bin/pre-start.erb: bin/pre-start
config/bpm.yml.erb: config/bpm.yml
config/cert.pem.erb: config/cert.pem
properties:
ingestor_cloudfoundry-firehose.debug:
description: Debug level logging. This disables forwarding to syslog
default: false
ingestor_cloudfoundry-firehose.enable_stats_server:
description: "Will enable firehose-to-syslog stats server on port 8080"
default: false
logstash.metadata_level:
description: "Whether to include additional metadata throughout the event lifecycle. NONE = disabled, DEBUG = fully enabled"
default: "NONE"
cloudfoundry.api_endpoint:
description: "URI of the CF cloud controller"
cloudfoundry.doppler_endpoint:
description: "URI of the loggregator endpoint"
cloudfoundry.skip_ssl_validation:
description: "Set to true to skip SSL validation when connecting to CF (defaults to false)"
default: false
cloudfoundry.firehose_client_id:
description: "CF UAA client ID with 'doppler.firehose' permissions"
default: "firehose-to-syslog"
cloudfoundry.firehose_client_secret:
description: "CF UAA client secret with 'doppler.firehose' permissions"
cloudfoundry.firehose_events:
description: "List of events you would like to get. Valid options are ContainerMetric, CounterEvent, Error, HttpStartStop, LogMessage, ValueMetric."
default: ["LogMessage"]
cloudfoundry.firehose_subscription_id:
description: "ID for the firehose-to-syslog subscription"
default: "firehose"
cloudfoundry.firehose_cc_pull_interval:
description: "full app metadata update interval; defaults to 60s"
default: "60s"
cloudfoundry.ignore_missing_apps:
description: "Enable throttling on cache lookup for missing apps"
default: false
cloudfoundry.min_retry_delay:
description: "Doppler Cloud Foundry Doppler min. retry delay duration"
default: "500ms"
cloudfoundry.max_retry_delay:
description: "Doppler Cloud Foundry Doppler max. retry delay duration"
default: "1m"
cloudfoundry.max_retry_count:
description: "Doppler Cloud Foundry Doppler max. retry Count duration"
default: 1000
cloudfoundry.logs_buffer_size:
description: "Firehose message are bufferized before being send to syslog"
default: 10000
cloudfoundry.cc_polling_request:
description: "Cloud Controller polling requests by second"
default: 50
cloudfoundry.extra_fields:
description: "(Optional) Additional fields to add to syslog output"
example:
extra_fields:
env: dev
foo: bar
cloudfoundry.log_formatter_type:
description: "Log formatter type to use. Valid options are text, json, json-cee"
default: json
cloudfoundry.orgs:
description: "List of CF orgs to forward logs from"
cloudfoundry.app_name_suffixes_to_strip:
description: "List of suffixes that should be stripped from application names"
syslog.host:
description: IP or hostname of the syslog drain
default: "127.0.0.1"
syslog.port:
description: port of the syslog drain
default: 5514
syslog.protocol:
description: Syslog protocol (tcp/udp).
default: tcp
syslog.cert_pem:
description: Certificate PEM.
default: ~
syslog.skip_ssl_validation:
description: "Skip SSL validation for syslog"
default: false
create-uaa-client.cloudfoundry.system_domain:
description: "The Elastic Runtime system domain ( eg: system.10.244.0.34.xip.io )"
create-uaa-client.cloudfoundry.uaa_admin_client_id:
description: "The UAA admin client id (required scope is `uaa.admin`). The admin client is used to manage the UAA Kibana oauth2 client."
default: admin
create-uaa-client.cloudfoundry.uaa_admin_client_secret:
description: "The UAA admin client's secret"