diff --git a/ansible/roles/monasca/templates/monasca-log-metrics/log-metrics.conf.j2 b/ansible/roles/monasca/templates/monasca-log-metrics/log-metrics.conf.j2 index bb05e9d488..ad651a20c2 100644 --- a/ansible/roles/monasca/templates/monasca-log-metrics/log-metrics.conf.j2 +++ b/ansible/roles/monasca/templates/monasca-log-metrics/log-metrics.conf.j2 @@ -19,7 +19,7 @@ input { filter { # Drop everything we don't want to create metrics for. - if ![log][dimensions][log_level] or [log][dimensions][log_level] in [ "debug", "trace", "info" ] { + if ![log][dimensions][log_level] or [log][dimensions][log_level] in [ "debug", "trace", "info", "notice", "note" ] { drop { } } diff --git a/releasenotes/notes/bug-1906796-e52b9e113f36ceed.yaml b/releasenotes/notes/bug-1906796-e52b9e113f36ceed.yaml new file mode 100644 index 0000000000..34aecd0cd7 --- /dev/null +++ b/releasenotes/notes/bug-1906796-e52b9e113f36ceed.yaml @@ -0,0 +1,6 @@ +--- +fixes: + - | + Fixes `LP#1906796 + `__ by adding + notice and note loglevels to monasca log-metrics drop configuration