0

这是我提出的查询,但是我无法将其绘制在带有时间戳的图表中,我将不胜感激,谢谢:

_sourceCategory=random 
| parse "url=\"/*/*" as first_path,rest_of_path
| where first_path in ("website")
| timeslice 1m 
| if (status matches "2*", 1, 0) as success
| if (status matches "4*", 1, 0) as client_error
| if (status matches "5*", 1, 0) as server_error
| sum(success) as success, sum(client_error) as client_error, sum(server_error) as server_error
| success + client_error + server_error as total
| client_error + server_error as total_errors
| (total_errors/total)*100 as percent_errors

4

0 回答 0