From the Documentation to generate email reports in Kibana using Watcher as attachments, but is there a way to add the PNG as part of the email? embedded image within the email body.
There seems to an option body.html, Has anyone used this?
From the Documentation to generate email reports in Kibana using Watcher as attachments, but is there a way to add the PNG as part of the email? embedded image within the email body.
There seems to an option body.html, Has anyone used this?
Dear sushmamagest,
Thanks for your question, I 've asked the team about options in this case
best,
Matthias
I case anyone is trying to solve this. Here is how i did it.
"actions": {
"email_report": {
"email": {
"profile": "standard",
"attachments": {
"weekly_report.png": {
"reporting": {
"url": "http://url.com",
"retries": 10,
"interval": "5m",
"inline": true,
"auth": {
"basic": {
"username": "abc",
"password": "password"
}
}
}
}
},
"to": [
"sm@email.com"
],
"subject": "Daily - Monitoring Report",
"body": {
"html": "<p><b> Summary - 2 Week Trend <b><p> <img src=weekly_report.png>"
}
}
}
}
Thanks a lot for sharing this!
Best,
Matthias
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
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.