Naveen,
Lets try this if you have not:
I noticed you're looking for help with exporting data from IBM Cloud Logs using a private endpoint URL after migrating from Log Analysis due to its deprecation.
Based on IBM Cloud documentation, when migrating from Log Analysis to IBM Cloud Logs, there are some changes to the endpoints you would use. For exporting data from IBM Cloud Logs using a private endpoint URL, you would need to use the following pattern:
```
api.private.{region}.logging.cloud.ibm.com/v1/export
```
Note that the version has changed from v2 to v1 in the new Cloud Logs service. For your specific region (jp-tok), the private endpoint URL would be:
```
api.private.jp-tok.logging.cloud.ibm.com/v1/export
```
To export logs, you would need to make a POST request to this endpoint with proper authentication headers and parameters similar to what you did with Log Analysis, but following the new IBM Cloud Logs API specifications.
The request would typically include:
- Your IBM Cloud IAM token in the Authorization header
- Content-Type header set to application/json
- A request body specifying the query parameters, time range, and format for the export
If you need more specific information about the request format or authentication methods, You may want to try the official IBM Cloud Logs API documentation or reaching out to IBM Cloud support for the most up-to-date guidance.
Let me know if this helps
Tom
------------------------------
Thomas Mertens
Medford, Wi U.S.A (Summer)
Florida (Winter) U.S.A.
------------------------------
Original Message:
Sent: Tue April 01, 2025 01:57 AM
From: Naveen Racha Racha
Subject: How to export the data from IBM Cloud Logs Private Endpoint URL
Hi Everyone,
We recently moved to cloud logs instance from log Analysis due to log analysis deprecation , Need help regards to how to export the data from IBM Cloud Logs using Private Endpoint URL,We have used private endpoint url "https://api.private.jp-tok.logging.cloud.ibm.com/v2/export" in log analysis to get the data and export the logs , so similar to this logAnalysis private endpoint URL which private endpoint URL can be used to get the data from Cloud Logs Instance.
Thanks & Regards,
Naveen Racha
------------------------------
Naveen Racha Racha
------------------------------