HI, I am trying to get the total calls and also trying to search of a specific error count and then trying to get the percentile of that [ total error_count/total_calls)*100. How do i do that in single search ?
(_sourceCategory=my/team/log/*) |timeslice 1d |count by _timeslice
(_sourceCategory=my/team/log/*) ("server_error")|timeslice 1d|count by _timeslice
Help is much appreciated.
Please sign in to leave a comment.