Deleting a Log Group
Delete a log group from a compartment.
Note
You can't move, edit, or delete the default log group. You can't delete a log group that contains logs. Either delete the logs first or move them to another log group.
You can't move, edit, or delete the default log group. You can't delete a log group that contains logs. Either delete the logs first or move them to another log group.
- On the Log groups list page, find the log group that you want to work with. If you need help finding the list page or the log group, see Listing Log Groups.
- From the for the log group, select Delete.
- When prompted, confirm the deletion.
Use the oci logging log-group delete command and required parameters to delete a log group:
oci logging log-group delete --log-group-id log_group_ocid [OPTIONS]For a complete list of parameters and variable options for CLI commands, see the Command Line Reference.
Run the DeleteLogGroup operation to delete a log group.