Deleting a Log

Delete a log from a log group.

    1. On the Logs list page, find the log that you want to work with. If you need help finding the list page or the log, see Listing Logs.
    2. From the Actions menu (three dots) for the log group, select Delete.
    3. When prompted, confirm the deletion.
      Note

      If you're notified that an agent configuration is associated with the log, you can still delete the log.
  • Use the oci logging log delete command and required parameters to delete a log object from a log group:

    oci logging log delete --log-group-id log_group_ocid --log-id log_ocid [OPTIONS]

    For a complete list of parameters and variable options for CLI commands, see the Command Line Reference.

  • Run the DeleteLog operation to delete a log object from a log group.