Request URL
log-mgmt-service:8093/logs-service/ingestion/control/api/v1.0/archive/<tenantnameOrID>?idtype=<id/name>
Example request URL
http://log-mgmt-service:8093/logs-service/ingestion/control/api/v1.0/archive/a00a0a00-a000-00a0-a000-0a000aa0a0a0?idtype=name
Request Header
Content-Type: application/json
x-bmc-ops-api-key: Ops API key
(You get the Ops API key from secrets. Run the following command in your pod: env |grep OPS_API_KEY.)
Parameter details
Example request body
{
"log_limit": "string",
"retention_days": "string",
"retention_days_hot": "string",
"archive": true,
"retentation_days_cold": "string"
"snapshot_endpoint":"http://hostA.bmc.com:9000",
"snapshot_bucket":"log-analytics-hostA"
}
Response codes
| |
---|
| The feature is enabled successfully. |
| Error for invalid data. Check if all input values are valid. |
| Authorization failure. Verify that the API key is correct. |
| The tenant ID or name is not found. |
| Unexpected condition encountered. Contact BMC Support. |