*Project log storage duration
Requests
HTTP request
GET /auth/v1/projects/{project-name}/logttl
Get log ttl on each associated cluster
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
| project-name | string | True | Name of project |
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
| size | number | True | page size |
| pageno | number | True | request page number |
Responses
Content-Type
application/json
Status code: 200
OK
Sample response
{
"clusters": [
{
"name": "global",
"ttl": 1
},
{
"name": "region",
"ttl": 7
}
],
"name": "project-test",
"total_items": 1,
"total_page": 1
}Parameters
| Name | Type | Description |
|---|---|---|
| clusters | array |
items
Path: clusters |
| clusters[] | object |
Path: clusters[] |
| clusters[].name | string |
name of cluster
Path: clusters[].name |
| clusters[].ttl | integer |
Log ttl of log workload index on the cluster
Path: clusters[].ttl |
| name | string |
Name of project
Path: name |
| total_items | integer |
Total count of clusters associated with project
Path: total_items |
| total_page | integer |
Total page number of clusters associated with project
Path: total_page |