mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-10 03:02:58 +01:00
Merge remote-tracking branch 'remotes/origin/influxdb_cqs' into issue/4609
This commit is contained in:
@@ -1,6 +1,3 @@
|
|||||||
{%- set mainint = salt['pillar.get']('host:mainint') %}
|
|
||||||
{%- set MYIP = salt['grains.get']('ip_interfaces:' ~ mainint)[0] %}
|
|
||||||
|
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# Copyright 2014,2015,2016,2017,2018,2019,2020,2021 Security Onion Solutions, LLC
|
# Copyright 2014,2015,2016,2017,2018,2019,2020,2021 Security Onion Solutions, LLC
|
||||||
#
|
#
|
||||||
@@ -17,6 +14,9 @@
|
|||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
{%- set mainint = salt['pillar.get']('host:mainint') %}
|
||||||
|
{%- set MYIP = salt['grains.get']('ip_interfaces:' ~ mainint)[0] %}
|
||||||
|
|
||||||
default_conf_dir=/opt/so/conf
|
default_conf_dir=/opt/so/conf
|
||||||
ELASTICSEARCH_HOST="{{ MYIP }}"
|
ELASTICSEARCH_HOST="{{ MYIP }}"
|
||||||
ELASTICSEARCH_PORT=9200
|
ELASTICSEARCH_PORT=9200
|
||||||
|
|||||||
@@ -118,7 +118,7 @@ so_downsample_{{measurement}}_cq:
|
|||||||
influxdb_continuous_query.present:
|
influxdb_continuous_query.present:
|
||||||
- name: so_downsample_{{measurement}}_cq
|
- name: so_downsample_{{measurement}}_cq
|
||||||
- database: telegraf
|
- database: telegraf
|
||||||
- query: SELECT mean(*) INTO "{{dest_rp}}"."{{measurement}}" FROM "{{measurement}}" GROUP BY time({{influxdb.downsample[dest_rp].resolution}})
|
- query: SELECT mean(*) INTO "{{dest_rp}}"."{{measurement}}" FROM "{{measurement}}" GROUP BY time({{influxdb.downsample[dest_rp].resolution}}),*
|
||||||
- ssl: True
|
- ssl: True
|
||||||
- verify_ssl: /etc/pki/ca.crt
|
- verify_ssl: /etc/pki/ca.crt
|
||||||
- cert: ['/etc/pki/influxdb.crt', '/etc/pki/influxdb.key']
|
- cert: ['/etc/pki/influxdb.crt', '/etc/pki/influxdb.key']
|
||||||
|
|||||||
Reference in New Issue
Block a user