1 heat_template_version: pike
3 description: Fluentd logging configuration
8 description: Mapping of service_name -> network name. Typically set
9 via parameter_defaults in the resource registry. This
10 mapping overrides those in ServiceNetMapDefaults.
17 description: Role name on which the service is applied
21 description: Parameters specific to the role
26 Mapping of service endpoint -> protocol. Typically set
27 via parameter_defaults in the resource registry.
31 Default format used to parse messages from log files.
34 /(?<time>\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}.\d+)
40 Directory in which to place fluentd pos_file files (used to track
41 file position for the 'tail' input type).
43 default: /var/cache/fluentd
46 Make fluentd user a member of these groups. Only override this parameter
47 if you want to modify the default list of groups. Use
48 LoggingExtraGroups to add the fluentd user to additional groups.
49 type: comma_delimited_list
54 Make fluentd user a member of these groups (in addition to
55 LoggingDefaultGroups and the groups provided by individual
57 type: comma_delimited_list
61 A list of destinations to which fluentd will forward log messages. Expects
62 a list of dictionaries of the form:
64 - host: loghost1.example.com
66 - host: loghost2.example.com
70 LoggingDefaultFilters:
72 A list of fluentd default filters. This will be passed verbatim
73 to the 'filter' key of a fluentd::config resource. Only override this
74 if you do not want the default set of filters; use LoggingExtraFilters
75 if you just want to add additional servers.
79 type: record_transformer
83 - tag_pattern: 'openstack.**'
84 type: record_transformer
86 component: '${tag_parts[1]}'
89 A list of additional fluentd filters. This will be passed
90 verbatim to the 'filter' key of a fluentd::config resource.
95 A boolean value indicating whether or not we should forward log messages
96 use the secure_forward plugin.
99 LoggingSSLCertificate:
101 PEM-encoded SSL CA certificate for fluentd.
106 PEM-encoded key for fluentd CA certificate (used by in_secure_forward).
109 LoggingSSLKeyPassphrase:
111 Passphrase for LoggingSSLKey (used by in_secure_forward).
116 Shared secret for fluentd secure-forward plugin.
119 LoggingDefaultSources:
121 A list of default logging sources for fluentd. You should only override
122 this parameter if you wish to disable the default logging sources. Use
123 LoggingExtraSources to define additional source configurations.
128 A list of additional logging sources for fluentd. These will be combined
129 with the LoggingDefaultSources and any logging sources defined by
135 LoggingDefaultFormat:
136 value: {get_param: LoggingDefaultFormat}
137 LoggingDefaultFilters:
138 value: {get_param: LoggingDefaultFilters}
140 value: {get_param: LoggingExtraFilters}
141 LoggingDefaultGroups:
142 value: {get_param: LoggingDefaultGroups}
144 value: {get_param: LoggingExtraGroups}
146 value: {get_param: LoggingPosFilePath}
147 LoggingSSLCertificate:
148 value: {get_param: LoggingSSLCertificate}
150 value: {get_param: LoggingSSLKey}
151 LoggingSSLKeyPassphrase:
152 value: {get_param: LoggingSSLKeyPassphrase}
154 value: {get_param: LoggingServers}
156 value: {get_param: LoggingSharedKey}
158 value: {get_param: LoggingUsesSSL}
159 LoggingDefaultSources:
160 value: {get_param: LoggingDefaultSources}
162 value: {get_param: LoggingExtraSources}