rsyslog: Add missing logging sources for aodh services
Currently logs from aodh services are not captured by rsyslog. This change fixes the missing logging sources so that these logs are also detected by rsyslog. Change-Id: I8ab0a7f9ba5e9af47af549bac88180bde0d3c782
This commit is contained in:
parent
a170fc4c75
commit
e07098b534
@ -14,6 +14,11 @@ parameters:
|
||||
type: string
|
||||
tags:
|
||||
- role_specific
|
||||
AodhApiLoggingSource:
|
||||
type: json
|
||||
default:
|
||||
tag: openstack.aodh.api
|
||||
file: /var/log/containers/aodh/app.log
|
||||
EndpointMap:
|
||||
default: {}
|
||||
description: Mapping of service endpoint -> protocol. Typically set
|
||||
@ -222,7 +227,12 @@ outputs:
|
||||
aodh::expirer::month: {get_param: AodhExpirerMonth}
|
||||
aodh::expirer::weekday: {get_param: AodhExpirerWeekday}
|
||||
aodh::expirer::maxdelay: {get_param: AodhExpirerMaxDelay}
|
||||
service_config_settings: {get_attr: [AodhBase, role_data, service_config_settings]}
|
||||
service_config_settings:
|
||||
map_merge:
|
||||
- {get_attr: [AodhBase, role_data, service_config_settings]}
|
||||
- rsyslog:
|
||||
tripleo_logging_sources_aodh_api:
|
||||
- {get_param: AodhApiLoggingSource}
|
||||
# BEGIN DOCKER SETTINGS
|
||||
puppet_config:
|
||||
config_volume: aodh
|
||||
|
@ -14,6 +14,11 @@ parameters:
|
||||
type: string
|
||||
tags:
|
||||
- role_specific
|
||||
AodhEvaluatorLoggingSource:
|
||||
type: json
|
||||
default:
|
||||
tag: openstack.aodh.evaluator
|
||||
file: /var/log/containers/aodh/aodh-evaluator.log
|
||||
EndpointMap:
|
||||
default: {}
|
||||
description: Mapping of service endpoint -> protocol. Typically set
|
||||
@ -80,7 +85,12 @@ outputs:
|
||||
monitoring_subscription: {get_param: MonitoringSubscriptionAodhEvaluator}
|
||||
config_settings:
|
||||
get_attr: [AodhBase, role_data, config_settings]
|
||||
service_config_settings: {get_attr: [AodhBase, role_data, service_config_settings]}
|
||||
service_config_settings:
|
||||
map_merge:
|
||||
- {get_attr: [AodhBase, role_data, service_config_settings]}
|
||||
- rsyslog:
|
||||
tripleo_logging_sources_aodh_evaluator:
|
||||
- {get_param: AodhEvaluatorLoggingSource}
|
||||
# BEGIN DOCKER SETTINGS
|
||||
puppet_config:
|
||||
config_volume: aodh
|
||||
|
@ -14,6 +14,11 @@ parameters:
|
||||
type: string
|
||||
tags:
|
||||
- role_specific
|
||||
AodhListenerLoggingSource:
|
||||
type: json
|
||||
default:
|
||||
tag: openstack.aodh.listener
|
||||
file: /var/log/containers/aodh/aodh-listener.log
|
||||
EndpointMap:
|
||||
default: {}
|
||||
description: Mapping of service endpoint -> protocol. Typically set
|
||||
@ -81,7 +86,11 @@ outputs:
|
||||
config_settings:
|
||||
get_attr: [AodhBase, role_data, config_settings]
|
||||
service_config_settings:
|
||||
get_attr: [AodhBase, role_data, service_config_settings]
|
||||
map_merge:
|
||||
- {get_attr: [AodhBase, role_data, service_config_settings]}
|
||||
- rsyslog:
|
||||
tripleo_logging_sources_aodh_listener:
|
||||
- {get_param: AodhListenerLoggingSource}
|
||||
# BEGIN DOCKER SETTINGS
|
||||
puppet_config:
|
||||
config_volume: aodh
|
||||
|
@ -14,6 +14,11 @@ parameters:
|
||||
type: string
|
||||
tags:
|
||||
- role_specific
|
||||
AodhNotifierLoggingSource:
|
||||
type: json
|
||||
default:
|
||||
tag: openstack.aodh.notifier
|
||||
file: /var/log/containers/aodh/aodh-notifier.log
|
||||
EndpointMap:
|
||||
default: {}
|
||||
description: Mapping of service endpoint -> protocol. Typically set
|
||||
@ -81,7 +86,11 @@ outputs:
|
||||
config_settings:
|
||||
get_attr: [AodhBase, role_data, config_settings]
|
||||
service_config_settings:
|
||||
get_attr: [AodhBase, role_data, service_config_settings]
|
||||
map_merge:
|
||||
- {get_attr: [AodhBase, role_data, service_config_settings]}
|
||||
- rsyslog:
|
||||
tripleo_logging_sources_aodh_notifier:
|
||||
- {get_param: AodhNotifierLoggingSource}
|
||||
# BEGIN DOCKER SETTINGS
|
||||
puppet_config:
|
||||
config_volume: aodh
|
||||
|
Loading…
Reference in New Issue
Block a user