Hi All,
how to use count(eval(httpstatus="2*")) as success count(eval(httpstatus!="2*")) as failed
in search query
http status codes 3* are not considered as errors. If you need pure errors then
some search terms | stats count(eval(searchmatch("httpstatus=2*"))) as success count(eval(searchmatch("httpstatus!=2*" AND httpstatus!=3*" ))) as failed
Without any more info I'm going to take a wild guess at what you might want:
some search terms | stats count(eval(searchmatch("httpstatus=2*"))) as success count(eval(searchmatch("httpstatus!=2*"))) as failed