mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-06-22 10:18:09 +02:00
only set measurements if conditions are met
This commit is contained in:
@@ -13,7 +13,7 @@ influxdb:
|
|||||||
downsample:
|
downsample:
|
||||||
so_long_term:
|
so_long_term:
|
||||||
resolution: 5m
|
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:
|
measurements:
|
||||||
{% for measurement in measurements.splitlines() %}
|
{% for measurement in measurements.splitlines() %}
|
||||||
- {{ measurement }}
|
- {{ measurement }}
|
||||||
|
|||||||
Reference in New Issue
Block a user