mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
Add maxfiles to the steno config
This commit is contained in:
@@ -1,11 +1,13 @@
|
||||
{%- set interface = salt['pillar.get']('sensor:interface', 'bond0') %}
|
||||
{%- set diskfreepercentage = salt['pillar.get']('steno:diskfreepercentage', 10) %}
|
||||
{%- set maxfiles = salt['pillar.get']('steno:maxfiles', 30000) %}
|
||||
|
||||
|
||||
{
|
||||
"Threads": [
|
||||
{ "PacketsDirectory": "/nsm/pcap"
|
||||
, "IndexDirectory": "/nsm/pcapindex"
|
||||
, "MaxDirectoryFiles": 30000
|
||||
, "MaxDirectoryFiles": {{ maxfiles }}
|
||||
, "DiskFreePercentage": {{ diskfreepercentage }}
|
||||
}
|
||||
]
|
||||
@@ -15,4 +17,4 @@
|
||||
, "Host": "127.0.0.1"
|
||||
, "Flags": ["-v", "--uid=stenographer", "--gid=stenographer"{{ BPF_COMPILED }}]
|
||||
, "CertPath": "/etc/stenographer/certs"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user