mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
Change how pcap is written to the minion file
This commit is contained in:
@@ -168,13 +168,6 @@ function add_sensor_to_minion() {
|
|||||||
echo " config:" >> $PILLARFILE
|
echo " config:" >> $PILLARFILE
|
||||||
echo " af-packet:" >> $PILLARFILE
|
echo " af-packet:" >> $PILLARFILE
|
||||||
echo " threads: $CORECOUNT" >> $PILLARFILE
|
echo " threads: $CORECOUNT" >> $PILLARFILE
|
||||||
echo "steno:" >> $PILLARFILE
|
|
||||||
echo " stenopin: False" >> $PILLARFILE
|
|
||||||
echo " stenopins:" >> $PILLARFILE
|
|
||||||
echo " - 3" >> $PILLARFILE
|
|
||||||
echo " enabled: True" >> $PILLARFILE
|
|
||||||
echo " disks:" >> $PILLARFILE
|
|
||||||
echo " - '/some/path'" >> $PILLARFILE
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function createSTANDALONE() {
|
function createSTANDALONE() {
|
||||||
|
|||||||
11
salt/pcap/defaults.yaml
Normal file
11
salt/pcap/defaults.yaml
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
pcap:
|
||||||
|
enabled: True
|
||||||
|
config:
|
||||||
|
maxdirectoryfiles: 30000
|
||||||
|
diskfreepercentage: 10
|
||||||
|
blocks: 2048
|
||||||
|
preallocate_file_mb: 4096
|
||||||
|
aiops: 128
|
||||||
|
stenopin: False
|
||||||
|
stenopins: []
|
||||||
|
disks: []
|
||||||
@@ -1,9 +1,9 @@
|
|||||||
pcap:
|
pcap:
|
||||||
config:
|
|
||||||
enabled:
|
enabled:
|
||||||
description: Enable or Disable Stenographer on all sensors or a single sensor
|
description: Enable or Disable Stenographer on all sensors or a single sensor
|
||||||
maxfiles:
|
config:
|
||||||
description: The maximum number of packet/index files to create before cleaning old ones up.
|
maxdirectoryfiles:
|
||||||
|
description: The maximum number of packet/index files to create before deleting old files. The default is about 8 days regardless of free space.
|
||||||
diskfreepercentage:
|
diskfreepercentage:
|
||||||
description: The disk space percent to always keep free for pcap
|
description: The disk space percent to always keep free for pcap
|
||||||
blocks:
|
blocks:
|
||||||
|
|||||||
Reference in New Issue
Block a user