mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
Merge pull request #779 from Security-Onion-Solutions/fix/suricata_log_path
Fix/suricata log path
This commit is contained in:
@@ -57,7 +57,7 @@ so-filebeat:
|
|||||||
- /opt/so/conf/filebeat/etc/filebeat.yml:/usr/share/filebeat/filebeat.yml:ro
|
- /opt/so/conf/filebeat/etc/filebeat.yml:/usr/share/filebeat/filebeat.yml:ro
|
||||||
- /nsm/zeek:/nsm/zeek:ro
|
- /nsm/zeek:/nsm/zeek:ro
|
||||||
- /nsm/strelka/log:/nsm/strelka/log:ro
|
- /nsm/strelka/log:/nsm/strelka/log:ro
|
||||||
- /opt/so/log/suricata:/suricata:ro
|
- /nsm/suricata:/suricata:ro
|
||||||
- /opt/so/wazuh/logs/alerts:/wazuh/alerts:ro
|
- /opt/so/wazuh/logs/alerts:/wazuh/alerts:ro
|
||||||
- /opt/so/wazuh/logs/archives:/wazuh/archives:ro
|
- /opt/so/wazuh/logs/archives:/wazuh/archives:ro
|
||||||
- /nsm/osquery/fleet/:/nsm/osquery/fleet:ro
|
- /nsm/osquery/fleet/:/nsm/osquery/fleet:ro
|
||||||
|
|||||||
@@ -198,7 +198,7 @@ so-logstash:
|
|||||||
- /etc/pki/ca.crt:/usr/share/filebeat/ca.crt:ro
|
- /etc/pki/ca.crt:/usr/share/filebeat/ca.crt:ro
|
||||||
{%- if grains['role'] == 'so-eval' %}
|
{%- if grains['role'] == 'so-eval' %}
|
||||||
- /nsm/zeek:/nsm/zeek:ro
|
- /nsm/zeek:/nsm/zeek:ro
|
||||||
- /opt/so/log/suricata:/suricata:ro
|
- /nsm/suricata:/suricata:ro
|
||||||
- /opt/so/wazuh/logs/alerts:/wazuh/alerts:ro
|
- /opt/so/wazuh/logs/alerts:/wazuh/alerts:ro
|
||||||
- /opt/so/wazuh/logs/archives:/wazuh/archives:ro
|
- /opt/so/wazuh/logs/archives:/wazuh/archives:ro
|
||||||
- /opt/so/log/fleet/:/osquery/logs:ro
|
- /opt/so/log/fleet/:/osquery/logs:ro
|
||||||
|
|||||||
@@ -99,7 +99,7 @@ outputs:
|
|||||||
- eve-log:
|
- eve-log:
|
||||||
enabled: yes
|
enabled: yes
|
||||||
filetype: regular #regular|syslog|unix_dgram|unix_stream|redis
|
filetype: regular #regular|syslog|unix_dgram|unix_stream|redis
|
||||||
filename: eve.json
|
filename: /nsm/eve.json
|
||||||
rotate-interval: day
|
rotate-interval: day
|
||||||
community-id: true
|
community-id: true
|
||||||
community-id-seed: 0
|
community-id-seed: 0
|
||||||
@@ -918,7 +918,7 @@ host-mode: auto
|
|||||||
# If you are using the CUDA pattern matcher (mpm-algo: ac-cuda), different rules
|
# If you are using the CUDA pattern matcher (mpm-algo: ac-cuda), different rules
|
||||||
# apply. In that case try something like 60000 or more. This is because the CUDA
|
# apply. In that case try something like 60000 or more. This is because the CUDA
|
||||||
# pattern matcher buffers and scans as many packets as possible in parallel.
|
# pattern matcher buffers and scans as many packets as possible in parallel.
|
||||||
#max-pending-packets: 1024
|
max-pending-packets: 5000
|
||||||
|
|
||||||
# Runmode the engine should use. Please check --list-runmodes to get the available
|
# Runmode the engine should use. Please check --list-runmodes to get the available
|
||||||
# runmodes for each packet acquisition method. Defaults to "autofp" (auto flow pinned
|
# runmodes for each packet acquisition method. Defaults to "autofp" (auto flow pinned
|
||||||
|
|||||||
@@ -55,6 +55,12 @@ surilogdir:
|
|||||||
- user: 940
|
- user: 940
|
||||||
- group: 939
|
- group: 939
|
||||||
|
|
||||||
|
suridatadir:
|
||||||
|
file.directory:
|
||||||
|
- name: /nsm/suricata
|
||||||
|
- user: 940
|
||||||
|
- group: 939
|
||||||
|
|
||||||
surirulesync:
|
surirulesync:
|
||||||
file.recurse:
|
file.recurse:
|
||||||
- name: /opt/so/conf/suricata/rules/
|
- name: /opt/so/conf/suricata/rules/
|
||||||
@@ -119,6 +125,7 @@ so-suricata:
|
|||||||
- /opt/so/conf/suricata/threshold.conf:/etc/suricata/threshold.conf:ro
|
- /opt/so/conf/suricata/threshold.conf:/etc/suricata/threshold.conf:ro
|
||||||
- /opt/so/conf/suricata/rules:/etc/suricata/rules:ro
|
- /opt/so/conf/suricata/rules:/etc/suricata/rules:ro
|
||||||
- /opt/so/log/suricata/:/var/log/suricata/:rw
|
- /opt/so/log/suricata/:/var/log/suricata/:rw
|
||||||
|
- /nsm/suricata/:/nsm/:rw
|
||||||
- /opt/so/conf/suricata/bpf:/etc/suricata/bpf:ro
|
- /opt/so/conf/suricata/bpf:/etc/suricata/bpf:ro
|
||||||
- network_mode: host
|
- network_mode: host
|
||||||
- watch:
|
- watch:
|
||||||
|
|||||||
Reference in New Issue
Block a user