Hi,
I have a watcher that as an action for met condition sends an email. In the e-mail body I send arrayList object with all those aggregated data that met the condition. Transformation is written in painless.
"actions": {
"send_email": {
"email": {
"to": "********",
"subject": "**********",
"body": "Found too many UI errors in the logs for:\n {{ctx.payload.logs}}"
}
},
Since {{ctx.payload.logs}} returns data in the way that is not friendly to read I would like to do something like toString override. For example I would like to escape curly brackets and each item start from a new line. Any ideas ?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.