1 heat_template_version: pike
3 description: Fluentd logging configuration
8 description: Dictionary packing service data
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.
21 description: Role name on which the service is applied
25 description: Parameters specific to the role
30 Mapping of service endpoint -> protocol. Typically set
31 via parameter_defaults in the resource registry.
35 Default format used to parse messages from log files.
38 /(?<time>\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}.\d+)
44 Directory in which to place fluentd pos_file files (used to track
45 file position for the 'tail' input type).
47 default: /var/cache/fluentd
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
58 Make fluentd user a member of these groups (in addition to
59 LoggingDefaultGroups and the groups provided by individual
61 type: comma_delimited_list
65 A list of destinations to which fluentd will forward log messages. Expects
66 a list of dictionaries of the form:
68 - host: loghost1.example.com
70 - host: loghost2.example.com
74 LoggingDefaultFilters:
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.
83 type: record_transformer
87 - tag_pattern: 'openstack.**'
88 type: record_transformer
90 component: '${tag_parts[1]}'
93 A list of additional fluentd filters. This will be passed
94 verbatim to the 'filter' key of a fluentd::config resource.
99 A boolean value indicating whether or not we should forward log messages
100 use the secure_forward plugin.
103 LoggingSSLCertificate:
105 PEM-encoded SSL CA certificate for fluentd.
110 PEM-encoded key for fluentd CA certificate (used by in_secure_forward).
113 LoggingSSLKeyPassphrase:
115 Passphrase for LoggingSSLKey (used by in_secure_forward).
120 Shared secret for fluentd secure-forward plugin.
123 LoggingDefaultSources:
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.
132 A list of additional logging sources for fluentd. These will be combined
133 with the LoggingDefaultSources and any logging sources defined by
139 LoggingDefaultFormat:
140 value: {get_param: LoggingDefaultFormat}
141 LoggingDefaultFilters:
142 value: {get_param: LoggingDefaultFilters}
144 value: {get_param: LoggingExtraFilters}
145 LoggingDefaultGroups:
146 value: {get_param: LoggingDefaultGroups}
148 value: {get_param: LoggingExtraGroups}
150 value: {get_param: LoggingPosFilePath}
151 LoggingSSLCertificate:
152 value: {get_param: LoggingSSLCertificate}
154 value: {get_param: LoggingSSLKey}
155 LoggingSSLKeyPassphrase:
156 value: {get_param: LoggingSSLKeyPassphrase}
158 value: {get_param: LoggingServers}
160 value: {get_param: LoggingSharedKey}
162 value: {get_param: LoggingUsesSSL}
163 LoggingDefaultSources:
164 value: {get_param: LoggingDefaultSources}
166 value: {get_param: LoggingExtraSources}