View and Clear Log Entries (CLI)

Oracle ILOM log entries for a host server are viewable from the server SP CLI.

Before You Begin

  • Admin (a) role privileges are required to clear log entries.

  • The Session log is only available in Oracle ILOM for KVMS or Serial Redirection connections opened on Oracle servers supporting Oracle ILOM 5.0.2 or later.

To view and clear log entries using the server SP CLI, follow these steps:

  1. To view a tabular list of log entries, do one of the following:
    • For the audit log, type either:

      show /SP/Logs/audit/list

    • For the event log, type either:

      show /SP/Logs/event/list

    • For the session log, type either:

      show /SP/logs/session/list

    • For the system log, type:

      show /System/Log/list

    To scroll through the list, press any key except the q key.

  2. To clear log entries shown, type set target clear=true command, and then type y at the prompt.

    For example:

    • set /SP/logs/audit clear=true

    • set /SP/logs/event/ clear=true

    • set /SP/logs/session/ clear=true

    • set /System/Log clear=true

Related Information

  • Filter Log Entries

  • Configuring Syslog for Event Logging in Oracle ILOM 5.1 Administrator’s Guide

  • Setting ILOM Clock Properties in Oracle ILOM 5.1 Administrator’s Guide