42-23
Cisco Security Appliance Command Line Configuration Guide
OL-12172-03
Chapter 42 Monitoring the Security Appliance
Configuring and Managing Logs
Changing the Amount of Internal Flash Memory Available for Logs
You can cause the adaptive security appliance to save the contents of the log buffer to internal Flash
memory in two ways:
•
Configure logging so that the contents of the log buffer are saved to internal Flash memory each time
the buffer wraps
•
Enter a command instructing the adaptive security appliance to save the current contents of the log
buffer to internal Flash memory immediately
By default, the adaptive security appliance can use up to 1 MB of internal Flash memory for log data.
The default minimum amount of internal Flash memory that must be free for the adaptive security
appliance to save log data is 3 MB.
If a log file being saved to internal Flash memory would cause the amount of free internal Flash memory
to fall below the configured minimum limit, the adaptive security appliance deletes the oldest log files
to ensure that the minimum amount of memory remains free after saving the new log file. If there are no
files to delete or if, after all old files are deleted, free memory would still be below the limit, the adaptive
security appliance fails to save the new log file.
To modify the settings for the amount of internal Flash memory available for logs, perform the following
steps:
Step 1
To specify the maximum amount of internal Flash memory available for saving log files, enter the
following command:
hostname(config)#
logging flash-maximum-allocation
kbytes
Where
kbytes
specifies the maximum amount of internal Flash memory, in kilobytes, that can be used
for saving log files.
The following example sets the maximum amount of internal Flash memory that can be used for log files
to approximately 1.2 MB:
hostname(config)#
logging flash-maximum-allocation 1200
Step 2
To specify the minimum amount of internal Flash memory that must be free for the adaptive security
appliance to save a log file, enter the following command:
hostname(config)#
logging flash-minimum-free
kbytes
Where
kbytes
specifies the minimum amount of internal Flash memory, in kilobytes, that must be
available before the adaptive security appliance saves a new log file.
The following example specifies that the minimum amount of free internal Flash memory must be 4000
KB before the adaptive security appliance can save a new log file:
hostname(config)#
logging flash-minimum-free 4000
Summary of Contents for 500 Series
Page 38: ...Contents xxxviii Cisco Security Appliance Command Line Configuration Guide OL 12172 03 ...
Page 45: ...P A R T 1 Getting Started and General Information ...
Page 46: ......
Page 277: ...P A R T 2 Configuring the Firewall ...
Page 278: ......
Page 561: ...P A R T 3 Configuring VPN ...
Page 562: ......
Page 891: ...P A R T 4 System Administration ...
Page 892: ......
Page 975: ...P A R T 5 Reference ...
Page 976: ......