1 heat_template_version: 2016-10-14
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.
18 Mapping of service endpoint -> protocol. Typically set
19 via parameter_defaults in the resource registry.
23 Default format used to parse messages from log files.
26 /(?<time>\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}.\d+)
32 Directory in which to place fluentd pos_file files (used to track
33 file position for the 'tail' input type).
35 default: /var/cache/fluentd
38 Make fluentd user a member of these groups. Only override this parameter
39 if you want to modify the default list of groups. Use
40 LoggingExtraGroups to add the fluentd user to additional groups.
41 type: comma_delimited_list
46 Make fluentd user a member of these groups (in addition to
47 LoggingDefaultGroups and the groups provided by individual
49 type: comma_delimited_list
53 A list of destinations to which fluentd will forward log messages. Expects
54 a list of dictionaries of the form:
56 - host: loghost1.example.com
58 - host: loghost2.example.com
62 LoggingDefaultFilters:
64 A list of fluentd default filters. This will be passed verbatim
65 to the 'filter' key of a fluentd::config resource. Only override this
66 if you do not want the default set of filters; use LoggingExtraFilters
67 if you just want to add additional servers.
71 type: record_transformer
73 nodename: '${hostname}'
75 - tag_pattern: 'openstack.**'
76 type: record_transformer
78 component: '${tag_parts[1]}'
81 A list of additional fluentd filters. This will be passed
82 verbatim to the 'filter' key of a fluentd::config resource.
87 A boolean value indicating whether or not we should forward log messages
88 use the secure_forward plugin.
91 LoggingSSLCertificate:
93 PEM-encoded SSL CA certificate for fluentd.
98 PEM-encoded key for fluentd CA certificate (used by in_secure_forward).
101 LoggingSSLKeyPassphrase:
103 Passphrase for LoggingSSLKey (used by in_secure_forward).
108 Shared secret for fluentd secure-forward plugin.
111 LoggingDefaultSources:
113 A list of default logging sources for fluentd. You should only override
114 this parameter if you wish to disable the default logging sources. Use
115 LoggingExtraSources to define additional source configurations.
120 A list of additional logging sources for fluentd. These will be combined
121 with the LoggingDefaultSources and any logging sources defined by
127 LoggingDefaultFormat:
128 value: {get_param: LoggingDefaultFormat}
129 LoggingDefaultFilters:
130 value: {get_param: LoggingDefaultFilters}
132 value: {get_param: LoggingExtraFilters}
133 LoggingDefaultGroups:
134 value: {get_param: LoggingDefaultGroups}
136 value: {get_param: LoggingExtraGroups}
138 value: {get_param: LoggingPosFilePath}
139 LoggingSSLCertificate:
140 value: {get_param: LoggingSSLCertificate}
142 value: {get_param: LoggingSSLKey}
143 LoggingSSLKeyPassphrase:
144 value: {get_param: LoggingSSLKeyPassphrase}
146 value: {get_param: LoggingServers}
148 value: {get_param: LoggingSharedKey}
150 value: {get_param: LoggingUsesSSL}
151 LoggingDefaultSources:
152 value: {get_param: LoggingDefaultSources}
154 value: {get_param: LoggingExtraSources}