Retrieving JSON for Scheduled Query Results
You can download the results of a scheduled query in JSON format from the Logging service.
- Open the navigation menu and click Observability & Management. Under Logging, click Log Groups.
- Find the log group the scheduled query is using and click to open it.
- 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.
What's Next
- To create a new query and get the results, see Creating and Running a Query.
- To get the results of a past query, see Managing Past Queries.