Retrieving JSON for Scheduled Query Results

You can download the results of a scheduled query in JSON format from the Logging service.

    1. Open the navigation menu and click Observability & Management. Under Logging, click Log Groups.
    2. Find the log group the scheduled query is using and click to open it.
    3. Find the log you want. Click the down arrow at the right, and copy the JSON.
  • For a complete list of flags and variable options for CLI commands, see the Command Line Reference.

    Use the oci logging log-group get command and required parameters to get the JSON details of a log group:

    oci logging log-group get --log-group-id log_group_ocid [OPTIONS]
  • Run the GetLogGroup operation to get the JSON details of a log group.