Interface for Uploading Logs
Description
After the IP address and port number of the NSLB are configured on the OpenEye, an HTTPS interface of the CMS can be invoked to upload logs for fault information collection.
Interface Method
The request method must be set to POST. This interface supports only the POST method.
URL
https://ip:port/rest/${service.name}/v1/ClientLog/uploadClientLog
In a public cloud environment, ip indicates the IP address of the CC-CMS server, and port indicates the HTTPS port number of the CC-CMS server. Contact the administrator to obtain the values.
In a non–public cloud environment where the NSLB service is configured, ip indicates the IP address of the NSLB server, and port indicates the HTTPS port number of the CC-CMS service mapped on the NSLB server.
Request Description
|
No. |
Parameter |
Type |
Mandatory |
Description |
|---|---|---|---|---|
|
1 |
Content-Type |
String |
Yes |
The value is fixed at multipart/form-data; boundary=<calculated when="" request="" is="" sent="">. |
|
2 |
Authorization |
String |
True |
For details about the generation mode, see C2 Monitoring, System Outbound Call, CDR, and Knowledge Base Interface Authentication. |
|
3 |
FileType |
String |
True |
File type. Currently, only 0 is supported. |
|
Parameter |
Type |
Mandatory |
Description |
|---|---|---|---|
|
file |
MultipartFile |
True |
Request packet, including log file content and file names. |
Response Description
|
Parameter |
Type |
Description |
|---|---|---|
|
status |
string |
If the response is successful, 200 is returned. |
Message Example
- Request header
Content-Type:multipart/form-data; boundary=--------------------------327397481665620642032364 Authorization:****************** FileType:0 - Request parameters
{ "file": OELOG_99991093_10.234.63.214_20250226162127.zip }
- Response parameters
None
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot