32a4cadac9
Add cron image and playbook for logrotate. The "common" Ansible playbook includes configuration files for logrotate. At this point the operator cannot customize/override the logrotate configuration. Closes-Bug: #1553244 Change-Id: Ic9fdda9a273c9ccd90502f0acc7614d2c7157dca
19 lines
499 B
Django/Jinja
19 lines
499 B
Django/Jinja
[rabbitmq_log_decoder]
|
|
type = "SandboxDecoder"
|
|
filename = "lua_decoders/os_rabbitmq_log.lua"
|
|
|
|
[rabbitmq_log_splitter]
|
|
type = "RegexSplitter"
|
|
delimiter = '\n\n(=[^=]+====)'
|
|
delimiter_eol = false
|
|
deliver_incomplete_final = true
|
|
|
|
[rabbitmq_logstreamer_input]
|
|
type = "LogstreamerInput"
|
|
decoder = "rabbitmq_log_decoder"
|
|
splitter = "rabbitmq_log_splitter"
|
|
log_directory = "/var/log/kolla"
|
|
file_match = 'rabbitmq/(?P<Service>rabbit.*)\.log\.?(?P<Seq>\d*)$'
|
|
priority = ["^Seq"]
|
|
differentiator = ["Service"]
|