it will
find events
index=os sourcetype=splunk_health_check
calculate some additional fields, value, message, status and score, drop other fields, and add the search-head name
|eval value=delay_status |eval message=if(status=="OK","",status) |eval status=if(status=="OK",status,"NG") |eval score=if(value==99,-1,value) |table _time sh status score message |rename sh to searchhead
and add a condition to drop all the events that do not meet the condition on score ,status and message
|search score<5 AND status!="OK" message!="*No error" AND message!="Proxy Error"
... View more