Handle sequential rotating OpenStack logfiles
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StackLight |
Fix Released
|
Medium
|
Éric Lemoine |
Bug Description
Fuel uses logrotate to rotate logfiles, including OpenStack logfiles. For example, this is the logrotate configuration for nova (in /etc/logrotate.
/var/
daily
missingok
compress
}
With this, and the /etc/logrotate.conf configuration file, the following log structure is possible:
/var/
/var/
/var/
At this point our Heka logstreamer configuration for OpenStack logs (lma_collector:
The Heka logstreamer plugin includes specific support for sequential rotating logfiles. See http://
This is what the heka::input:
heka:
config_dir => $lma_collector:
log_directory => "/var/log/
decoder => 'openstack',
splitter => 'openstack',
file_match => '(?P<Service>
different
priority => "['^Seq']",
require => Class['
notify => Class['
}
Changed in lma-toolchain: | |
importance: | Undecided → Medium |
milestone: | none → 0.8.1 |
milestone: | 0.8.1 → 0.9.0 |
Changed in lma-toolchain: | |
status: | Fix Committed → Fix Released |
Fix proposed to branch: master /review. openstack. org/262171
Review: https:/