Hi pranay04,
That's pretty easy and straight forward in Splunk 🙂
Based on your provided examples take this run everywhere command:
| makeresults
| eval flubber="com.ibm.mq.MQException,ORA Error,OutOfMemory Error"
| makemv delim="," flubber
| mvexpand flubber
| rename comment AS "Everything above this was used to create dummy data!"
| eval status=case(match(flubber, "com.ibm.mq.MQException"), "MQError", match(flubber, "ORA Error"), "DB error",match(flubber, "OutOfMemory Error"), "OOM", 1=1, " ¯\_(ツ)_/¯ ")
| chart count by status
The result will look like this:
Hope this helps ...
cheers, MuS
... View more