Download ICS Monitoring logs using CURL commands
Summary
Download ICS Monitoring logs (flow and diagnostic logs) using CURL commandsContent
Hi All,
I am trying to download ICS Monitoring logs (flow and diagnostic logs) using CURL commands.
I have tried the below possibilities :
1) curl -X GET -u username:pasword -H "Accept:application/json" -o ./log2.txt https://icslearn-a436743.integration.us2.oraclecloud.com/icsapis/v2/monitoring/logs/archive
2) curl -X GET -u username:pasword -H "Accept:application/json" -o ./log2.txt https://icslearn-a436743.integration.us2.oraclecloud.com/icsapis/v2/monitoring/logs/export
ISSUE : It downloads a 0KB file.
Could anyone please help me on this.
Tagged:
0