You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Could you give me the API reference to export data from Logging Analytics to a file

Question
27
Views
0
Comments

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

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!