Changing The Amount Of Internal Flash Memory Available For Logs - Cisco FirePOWER ASA 5500 series Configuration Manual

Security appliance command line
Hide thumbs Also See for FirePOWER ASA 5500 series:
Table of Contents

Advertisement

Configuring and Managing Logs
hostname(config)# no logging message 403503 level 3
hostname(config)# show logging message 403503
syslog 403503: default-level errors (enabled)

Changing the Amount of Internal Flash Memory Available for Logs

You can cause the security appliance to save the contents of the log buffer to Internal Flash memory in
two ways:
By default, the 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 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 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 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:
To specify the maximum amount of internal Flash memory available for saving log files, enter the
Step 1
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
To specify the minimum amount of internal Flash memory that must be free for the security appliance
Step 2
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 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 security appliance can save a new log file:
hostname(config)# logging flash-minimum-free 4000
Cisco Security Appliance Command Line Configuration Guide
42-22
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 security appliance to save the current contents of the log buffer to
internal Flash memory immediately
Chapter 42
Monitoring the Security Appliance
OL-10088-01

Advertisement

Table of Contents
loading

This manual is also suitable for:

Pix 500 seriesCisco asa 5500 series

Table of Contents