cURL
curl --request GET \ --url https://api.qyl.dev/v1/logs/stats
{ "total_count": 1, "by_severity": [ { "severity": "TRACE", "count": 1, "percentage": 50 } ], "by_service": [ { "dimension": "<string>", "count": 1, "error_count": 1 } ], "logs_per_second": 123, "error_rate": 0.5 }
Get log statistics
Service name filter
Start time
End time
The request has succeeded.
Aggregated log statistics
Total log count
x >= 0
Log counts by severity
Show child attributes
Log counts by service
Logs per second rate
Error log rate
0 <= x <= 1
Was this page helpful?