Don't drop unmatched Kolla service logs

Kolla service logs which don't match a Fluentd rewriterule get dropped.
This change prevents that by tagging them with 'unmatched'.

Change-Id: I0a2484d878d5c86977fb232a57c52f874ca7a34c
This commit is contained in:
Doug Szumski 2019-06-17 14:58:12 +00:00
parent cb404743be
commit cfeb9dd9ef
2 changed files with 6 additions and 0 deletions

View File

@ -35,4 +35,5 @@
rewriterule32 programname ^(blazar-api|blazar-manager)$ openstack_python
rewriterule33 programname ^(cyborg-api|cyborg-conductor|cyborg-agent)$ openstack_python
rewriterule34 programname ^(monasca-api|monasca-notification|monasca-persister|agent-collector|agent-forwarder|agent-statsd)$ openstack_python
rewriterule35 programname .+ unmatched
</match>

View File

@ -176,4 +176,9 @@
pattern ^(monasca-api|monasca-notification|monasca-persister|agent-collector|agent-forwarder|agent-statsd)$
tag openstack_python
</rule>
<rule>
key programname
pattern .+
tag unmatched
</rule>
</match>