AnsweredAssumed Answered

Email Notification Message Body

Question asked by cduryea on Apr 13, 2017
Latest reply on Apr 20, 2017 by Phani Devulapalli

I have an email notification and it contains the following section (obtained from the $message variable) within the email body:

 

Average (5 samples) total cpu is now 31.45%, which is above the error threshold (30%).Top Processes [splunkd.exe[764]-(27.08%)];[java.exe[4176]-(0.58%)];[os_agent.exe[2264]-(0.50%)];[DsaServer.exe[1716]-(0.33%)];[java.exe[2012]-(0.25%)]

 

I would like to format it as follows so that it is easier on the eyes to read and read quickly:

 

Average (5 samples) total cpu is now 31.45%, which is above the error threshold (30%).

 

Top Processes

[splunkd.exe[764]-(27.08%)]

[java.exe[4176]-(0.58%)]

[os_agent.exe[2264]-(0.50%)]

[DsaServer.exe[1716]-(0.33%)]

[java.exe[2012]-(0.25%)]

 

Can someone point me in the right direction to accomplish this?

Outcomes