cURL
curl --request POST \ --url https://controller.platform.simplecloud.app/v0/metrics/logs/query \ --header 'Content-Type: application/json' \ --header 'X-Network-ID: <x-network-id>' \ --header 'X-Network-Secret: <x-network-secret>' \ --data '{}'
{ "cursor": "<string>", "has_more": true, "logs": [ { "message": "<string>", "numerical_id": 123, "persistent_server_id": "<string>", "persistent_server_name": "<string>", "sequence": 123, "server_group_id": "<string>", "server_group_name": "<string>", "server_id": "<string>", "server_name": "<string>", "server_type": "<string>", "serverhost_id": "<string>", "serverhost_name": "<string>", "severity": "<string>", "tags": [ "<string>" ], "timestamp": "<string>", "trace_id": "<string>" } ] }
Query logs using POST body with array-based filters for maximum flexibility
Network ID
Network Secret
Query filters
The body is of type object.
object
OK
Show child attributes
Was this page helpful?