Get logs for given parameters
If no parameters are set, last N logs from all the services will be returned. The N value is configurable on the server, defaults to 1000
query Parameters
startTimestamp required | integer <int64> >= 0 From timestamp in seconds |
endTimestamp required | integer <int64> >= 0 To timestamp in seconds |
serviceName | string Service name |
podName | string Pod name |
logTemplateId | integer <int64> Log template ID |
header Parameters
X-Scope-OrgID | string Scope header |
Api-Version | string API version |
Responses
Response samples
- 200
- 401
- 500
- 502
- 504
Content type
application/json
{- "status": "string",
- "data": {
- "resultType": "string",
- "result": [
- {
- "stream": { },
- "values": [
- {
- "timestamp": 0,
- "value": "string"
}
]
}
], - "stats": { }
}
}