mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-01-25 01:13:28 +01:00
only set measurements if conditions are met
This commit is contained in:
@@ -13,7 +13,7 @@ influxdb:
|
||||
downsample:
|
||||
so_long_term:
|
||||
resolution: 5m
|
||||
{% if measurements is defined %}
|
||||
{% if 'jq: error' not in measurements and 'Error response from daemon' not in measurements and 'parse error:' not in measurements and measurements|length > 0 %}
|
||||
measurements:
|
||||
{% for measurement in measurements.splitlines() %}
|
||||
- {{ measurement }}
|
||||
|
||||
Reference in New Issue
Block a user