Hello, I have tried like below and is working for me. Thanks!! Still I accept any better solution than this.. haha.. index=myindex sourcetype=mysourcetype | stats latest(_raw) as latest_event | eval status=case(match(latest_event, "TransactionRolledbackException"), "Down", match(latest_event, "WIMSystemException"), "latest_event", match(_raw, "ConnectionWaitTimeoutException"), "Down", match(latest_event, "\w+Exception"), "Warning", 1!=2, "OK") | stats count by status | eval status=case(status="OK", 0, status="Warning", 5, status="Down", 10) | rangemap field=status low=0-4 elevated=4-6 default=severe | eval status = replace (status,"0","OK") | eval status = replace (status,"5","WARNING") | eval status = replace (status,"10","DOWN")
... View more