Managing System Files and Settings
Managing Appliance Logs
In an enterprise that has multiple PCS/PPS appliances forwarding the syslog/NFS appliance logs to a Pulse One server, the assigned data partition will fill up over time. When the partition is full, syslog server will stop receiving logs. See Recognizing Low Hard Disk Space.
To prevent a full data partition, you can either:
•Configure the keep-days property, see Configuring the Log Retention Period.
•Manually delete current syslog files from the CLI, see Deleting System Files.
Recognizing Low Hard Disk Space
As your hard disk partition fills up, you may encounter a message similar to the following:
------------------------------------------------------------------------
Pulse one is running low on disk space. It is currently 83.000000 full
------------------------------------------------------------------------
You can confirm this using the log-aggregator show command. Example output is shown below:
disk usage: 514.4kb
settings:
keep_days: 30
type: local
status: Disabled because disk is 83.0 percent full
To prevent this, you can configuring the keep-days property to a lower value. This will limit the retention period for logs, and will delete older syslogs indices from the system automatically, see Configuring the Log Retention Period.
Configuring the Log Retention Period
To prevent accumulated logs from filling your hard disk partition, you can configure the keep-days property to a lower value. This will limit the retention period for logs, and will delete older syslogs indices from the system automatically.
Where you have a larger hard disk partition, you can also increase the retention period to increase the number of retained logs.
Alternatively, you can manually delete your syslogs at any time from the CLI, see Deleting System Files.
To configure the keep-days property:
1.To change keep_days, type the following command:
p1 log-aggregator settings -d <keep_days>
A message appears:
This might delete some or all of existing appliance logs. All services will be stopped if currently running.
Continue? [y/N]:
2.At the confirmation prompt, type y and press Enter.
3.Wait for a few minutes. Based on the keep_days value, the older syslog files are removed. The disk will then have free space to receive new syslog data.
See the Pulse One Command Reference Guide for full details of individual commands.