TLS everywhere/haproxy: Remove empty postsave command
[apex-tripleo-heat-templates.git] / puppet / services / logging / fluentd-config.yaml
1 heat_template_version: pike
2
3 description: Fluentd logging configuration
4
5 parameters:
6   ServiceData:
7     default: {}
8     description: Dictionary packing service data
9     type: json
10   ServiceNetMap:
11     default: {}
12     description: Mapping of service_name -> network name. Typically set
13                  via parameter_defaults in the resource registry.  This
14                  mapping overrides those in ServiceNetMapDefaults.
15     type: json
16   DefaultPasswords:
17     default: {}
18     type: json
19   RoleName:
20     default: ''
21     description: Role name on which the service is applied
22     type: string
23   RoleParameters:
24     default: {}
25     description: Parameters specific to the role
26     type: json
27   EndpointMap:
28     default: {}
29     description: >
30       Mapping of service endpoint -> protocol. Typically set
31       via parameter_defaults in the resource registry.
32     type: json
33   LoggingDefaultFormat:
34     description: >
35       Default format used to parse messages from log files.
36     type: string
37     default: >-
38       /(?<time>\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}.\d+)
39       (?<pid>\d+)
40       (?<priority>\S+)
41       (?<message>.*)$/
42   LoggingPosFilePath:
43     description: >
44       Directory in which to place fluentd pos_file files (used to track
45       file position for the 'tail' input type).
46     type: string
47     default: /var/cache/fluentd
48   LoggingDefaultGroups:
49     description: >
50       Make fluentd user a member of these groups. Only override this parameter
51       if you want to modify the default list of groups.  Use
52       LoggingExtraGroups to add the fluentd user to additional groups.
53     type: comma_delimited_list
54     default:
55       - root
56   LoggingExtraGroups:
57     description: >
58       Make fluentd user a member of these groups (in addition to
59       LoggingDefaultGroups and the groups provided by individual
60       composable services).
61     type: comma_delimited_list
62     default: []
63   LoggingServers:
64     description: |
65       A list of destinations to which fluentd will forward log messages.  Expects
66       a list of dictionaries of the form:
67
68           - host: loghost1.example.com
69             port: 24224
70           - host: loghost2.example.com
71             port: 24224
72     type: json
73     default: []
74   LoggingDefaultFilters:
75     description: >
76       A list of fluentd default filters. This will be passed verbatim
77       to the 'filter' key of a fluentd::config resource.  Only override this
78       if you do not want the default set of filters; use LoggingExtraFilters
79       if you just want to add additional servers.
80     type: json
81     default:
82       - tag_pattern: '**'
83         type: record_transformer
84         record:
85           host: '${hostname}'
86
87       - tag_pattern: 'openstack.**'
88         type: record_transformer
89         record:
90           component: '${tag_parts[1]}'
91   LoggingExtraFilters:
92     description: >
93       A list of additional fluentd filters. This will be passed
94       verbatim to the 'filter' key of a fluentd::config resource.
95     type: json
96     default: []
97   LoggingUsesSSL:
98     description: >
99       A boolean value indicating whether or not we should forward log messages
100       use the secure_forward plugin.
101     type: boolean
102     default: false
103   LoggingSSLCertificate:
104     description: >
105       PEM-encoded SSL CA certificate for fluentd.
106     type: string
107     default: ""
108   LoggingSSLKey:
109     description: >
110       PEM-encoded key for fluentd CA certificate (used by in_secure_forward).
111     type: string
112     default: ""
113   LoggingSSLKeyPassphrase:
114     description: >
115       Passphrase for LoggingSSLKey (used by in_secure_forward).
116     type: string
117     default: ""
118   LoggingSharedKey:
119     description: >
120       Shared secret for fluentd secure-forward plugin.
121     type: string
122     default: ""
123   LoggingDefaultSources:
124     description: >
125       A list of default logging sources for fluentd.  You should only override
126       this parameter if you wish to disable the default logging sources.  Use
127       LoggingExtraSources to define additional source configurations.
128     type: json
129     default: []
130   LoggingExtraSources:
131     description: >
132       A list of additional logging sources for fluentd.  These will be combined
133       with the LoggingDefaultSources and any logging sources defined by
134       composable services.
135     type: json
136     default: []
137
138 outputs:
139   LoggingDefaultFormat:
140     value: {get_param: LoggingDefaultFormat}
141   LoggingDefaultFilters:
142     value: {get_param: LoggingDefaultFilters}
143   LoggingExtraFilters:
144     value: {get_param: LoggingExtraFilters}
145   LoggingDefaultGroups:
146     value: {get_param: LoggingDefaultGroups}
147   LoggingExtraGroups:
148     value: {get_param: LoggingExtraGroups}
149   LoggingPosFilePath:
150     value: {get_param: LoggingPosFilePath}
151   LoggingSSLCertificate:
152     value: {get_param: LoggingSSLCertificate}
153   LoggingSSLKey:
154     value: {get_param: LoggingSSLKey}
155   LoggingSSLKeyPassphrase:
156     value: {get_param: LoggingSSLKeyPassphrase}
157   LoggingServers:
158     value: {get_param: LoggingServers}
159   LoggingSharedKey:
160     value: {get_param: LoggingSharedKey}
161   LoggingUsesSSL:
162     value: {get_param: LoggingUsesSSL}
163   LoggingDefaultSources:
164     value: {get_param: LoggingDefaultSources}
165   LoggingExtraSources:
166     value: {get_param: LoggingExtraSources}