/nsm/zeek/logs fills up almost entire disk on forward node #14656
-
Version2.4.150 Installation MethodSecurity Onion ISO image Descriptionconfiguration Installation TypeDistributed Locationon-prem with Internet access Hardware SpecsExceeds minimum requirements CPU64 RAM128GB Storage for /500GB Storage for /nsm3.5T Network Traffic Collectionspan port Network Traffic Speeds1Gbps to 10Gbps StatusYes, all services on all nodes are running OK Salt StatusYes, there are salt failures (please provide detail below) LogsNo, there are no additional clues DetailHi, In order to investigate an event that happened around 12 hours ago I tried to pull the corresponding pcap. However instead of the pcap I got the following message After trying to pull pcaps for some other alerts and they all ended up with the exact same error message I started digging a little deeper: It turned out that on my capture node data in To be specific: So my question: How can I get zeek to delete these old logs automatically?? Thanks much in advance for any clue... PS: changing ILM-settings for the zeek indices doesn't help since data in Guidelines
|
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
One option would be to adjust your PCAP retention settings to allocate more space for PCAP. You can do this by going into SOC, then Administration –> Configuration –> pcap –> config –> diskfreepercentage. More specifics can be found here: https://docs.securityonion.net/en/2.4/stenographer.html#disk-free-percentage |
Beta Was this translation helpful? Give feedback.
-
Hi,
Thanks for the hint. Just for my understanding: Disk usage of
and disk total
So pcaps are around 600GB which, given a total disk space of 3,5TB is around 11% which is already higher than the default value of 10 I've not got in BTW, I tried changing the log expire interval for zeek |
Beta Was this translation helpful? Give feedback.
-
There is a so-sensor-clean script that handles deleting the zeek logs based on the crit_disk_usage function, which is 90%. Another option would be to utilize BPFs to filter out zeek logs that are not relevant to your environment. More info here: https://docs.securityonion.net/en/2.4/bpf.html#bpf In the mean time, you could manually delete those older zeek logs to free up some space. |
Beta Was this translation helpful? Give feedback.
-
Thanks alot - I think that's the way to go for me:
|
Beta Was this translation helpful? Give feedback.
There is a so-sensor-clean script that handles deleting the zeek logs based on the crit_disk_usage function, which is 90%. Another option would be to utilize BPFs to filter out zeek logs that are not relevant to your environment. More info here: https://docs.securityonion.net/en/2.4/bpf.html#bpf
In the mean time, you could manually delete those older zeek logs to free up some space.