mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-07 01:32:47 +01:00
Update telegraf.conf
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
{%- set MASTER = grains['master'] %}
|
||||
{% set NODEIP = salt['pillar.get']('node:mainip', '') %}
|
||||
{% set HELIX_API_KEY = salt['pillar.get']('fireeye:helix:api_key', '') %}
|
||||
|
||||
{% set UNIQUEID = salt['pillar.get']('sensor:uniqueid', '') %}
|
||||
|
||||
# Global tags can be specified here in key="value" format.
|
||||
[global_tags]
|
||||
@@ -25,6 +25,9 @@
|
||||
## Environment variables can be used as tags, and throughout the config file
|
||||
# user = "$USER"
|
||||
|
||||
{% if grains['role'] == 'so-helix' %}
|
||||
meta_cbid = {{ UNIQUEID }}
|
||||
{% endif %}
|
||||
|
||||
# Configuration for telegraf agent
|
||||
[agent]
|
||||
|
||||
Reference in New Issue
Block a user