mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
create node_config measurement for nodes to be used for grafana dashboard vars
This commit is contained in:
@@ -832,19 +832,18 @@
|
||||
# ## more about them here:
|
||||
# ## https://github.com/influxdata/telegraf/blob/master/docs/DATA_FORMATS_INPUT.md
|
||||
# data_format = "influx"
|
||||
{% if salt['pillar.get']('healthcheck:enabled', 'False') %}
|
||||
{%- if salt['pillar.get']('healthcheck:enabled', 'False') %}
|
||||
[[inputs.file]]
|
||||
files = ["/host/nsm/zeek/logs/zeek_restart.log"]
|
||||
data_format = "influx"
|
||||
{% endif %}
|
||||
{% if grains.role in ['so-manager', 'so-managersearch', 'so-standalone', 'so-eval'] %}
|
||||
{%- endif %}
|
||||
[[inputs.file]]
|
||||
files = ["/etc/telegraf/nodes_config.json"]
|
||||
name_override = "nodes_config"
|
||||
files = ["/etc/telegraf/node_config.json"]
|
||||
name_override = "node_config"
|
||||
data_format = "json"
|
||||
interval = "5m"
|
||||
{% endif %}
|
||||
|
||||
json_string_fields = ['manint', 'monint']
|
||||
tag_keys = ['role']
|
||||
|
||||
# # Count files in a directory
|
||||
# [[inputs.filecount]]
|
||||
|
||||
Reference in New Issue
Block a user