1.10.5 Ensure 'logging with the device ID' is configured correctly

Warning! Audit Deprecated

This audit has been deprecated and will be removed in a future update.

View Next Audit Version

Information

Includes the device ID in the logs generated

Rationale:

In an environment where logs are collected from many different sources, identifying the logs from a specific device is alleviated by doing a query including the device's hostname included in the logs and helps to quickly gather the expected results.

Solution

Run the following to enable logging with the device hostname:

HOSTNAME(CONFIG)#LOGGING DEVICE-ID HOSTNAME

In a multi-context security appliance, run the following command:

HOSTNAME(CONFIG)#LOGGING DEVICE-ID CONTEXT-NAME

See Also

https://workbench.cisecurity.org/files/1903