Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
mbckymber
Participant

Delete old log of SG and SM

Morning

 

I have my SG and SM with directory /var/log 100% of use.

[Expert@bda-checkpoint-sg:0]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_splat-lv_current
32G 8.4G 22G 28% /
/dev/sda1 289M 51M 223M 19% /boot
tmpfs 3.8G 16K 3.8G 1% /dev/shm
/dev/mapper/vg_splat-lv_log
70G 68G 0 100% /var/log
tmpfs 774M 4.0K 774M 1% /mnt/dlprd

[Expert@bda-checkpoint-sm:0]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_splat-lv_current 32G 9.6G 23G 30% /
/dev/sda1 291M 25M 251M 9% /boot
tmpfs 7.8G 4.0K 7.8G 1% /dev/shm
/dev/mapper/vg_splat-lv_log 245G 239G 6.0G 98% /var/log

 

How can i do to remove a old log entries to have a 20% available.
Is possible to move this log on windows server via filezila  ?

0 Kudos
5 Replies
Chris_Atkinson
Employee
Employee

To start how are the following options configured?

Logs.png

To address the current space issues where the root cause isn't necessarily log data please review the following:

sk60080: Disk space tips and tricks for SecurePlatform / Gaia / IPSO / Linux OS 

sk126732: /var/log/ and /var/log/auth directories consume large amount of disk space 

 

0 Kudos
mbckymber
Participant

i have this on my mgmt

 

0 Kudos
G_W_Albrecht
Legend
Legend

I would choose to delete old index files...

CCSE CCTE CCSM SMB Specialist
0 Kudos
mbckymber
Participant

after choose this option , it will deleting automatically and increase the space on my partition right  ?

0 Kudos
G_W_Albrecht
Legend
Legend

1. Usually, logs get indexed and collected on SMS - so they should not fill up the GW !

2. See here: https://community.checkpoint.com/t5/Management/Firewall-Log-Archive-and-Import-in-R80-10-R77-30/m-p/...

CCSE CCTE CCSM SMB Specialist
0 Kudos