Could you give me the API reference to export data from Logging Analytics to a file
Summary:
I am looking for the valid syntax to export Logging Analytics data (only data not metadata) with oci-cli, Python or Rest API to a JSON or CSV file.
I did some tests with oci command but the output file is empty.
Content (please ensure you mask any confidential information):
Version (include the version you are using, if applicable):
Code Snippet (add any code snippets that support your topic, if applicable):
oci --debug log-analytics query export --namespace-name $namespace --compartment-id $compartment_id --query-string "$query" --sub-system "LOG" --file $output_file
Tagged:
0