mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-24 18:03:10 +01:00
jinja conf for influxdb
This commit is contained in:
@@ -1,7 +1,11 @@
|
||||
{% import_yaml 'influx.defaults.yaml' as influx %}
|
||||
{%- import_yaml 'influx/defaults.yaml' as influx %}
|
||||
|
||||
{%- for header in influx.influxdb.config.keys() %}
|
||||
{%- if header in ['graphite', 'collectd', 'opentsdb', 'udp'] %}
|
||||
[[{{header}}]]
|
||||
{%- else %}
|
||||
[{{header}}]
|
||||
{%- endif %}
|
||||
{%- for k, v in influx.influxdb.config[header].items() %}
|
||||
{#- is v a list? #}
|
||||
{%- if v is iterable and (v is not string and v is not mapping) %}
|
||||
|
||||
Reference in New Issue
Block a user