Wire telegraf initial commit

This commit is contained in:
Mike Reeves
2022-12-15 10:43:58 -05:00
parent 6a73410be9
commit 28e8c54443
4 changed files with 23 additions and 2122 deletions

View File

@@ -0,0 +1,3 @@
telegraf:
config:
interval: '30s'

File diff suppressed because it is too large Load Diff

View File

@@ -1359,6 +1359,11 @@ soc_pillar() {
touch $soc_pillar_file
}
telegraf_pillar()
title "Creating telegraf pillar"
touch $adv_telegraf_pillar_file
touch $telegraf_pillar_file
manager_pillar() {
touch $adv_manager_pillar_file
title "Create the manager pillar"

View File

@@ -84,7 +84,7 @@ mkdir -p $local_salt_dir/salt/firewall/hostgroups
mkdir -p $local_salt_dir/salt/firewall/portgroups
mkdir -p $local_salt_dir/salt/firewall/ports
for THEDIR in bpf pcap elasticsearch ntp firewall redis backup strelka sensoroni curator soc soctopus docker zeek suricata nginx filebeat logstash soc manager kratos idstools idh elastalert
for THEDIR in bpf pcap elasticsearch ntp firewall redis backup strelka sensoroni curator soc soctopus docker zeek suricata nginx telegraf filebeat logstash soc manager kratos idstools idh elastalert
do
mkdir -p $local_salt_dir/pillar/$THEDIR
touch $local_salt_dir/pillar/$THEDIR/adv_$THEDIR.sls
@@ -204,3 +204,9 @@ export idh_pillar_file
adv_idh_pillar_file="$local_salt_dir/pillar/idh/adv_idh.sls"
export adv_idh_pillar_file
telegraf_pillar_file="$local_salt_dir/pillar/telegraf/soc_telegraf.sls"
export telegraf_pillar_file
adv_telegraf_pillar_file="$local_salt_dir/pillar/telegraf/adv_telegraf.sls"
export adv_telegraf_pillar_file