# Is there a way to put kibana dashboard png report in the body of the email

**URL:** <https://discuss.elastic.co/t/is-there-a-way-to-put-kibana-dashboard-png-report-in-the-body-of-the-email/210278>\
**Category:** Kibana\
**Created:** [December 3, 2019, 4:25am UTC](https://discuss.elastic.co/t/is-there-a-way-to-put-kibana-dashboard-png-report-in-the-body-of-the-email/210278 "2019-12-03T04:25:40Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![sushmamagesh](https://avatars.discourse-cdn.com/v4/letter/s/8491ac/32.png) [@sushmamagesh](https://discuss.elastic.co/u/sushmamagesh)\
**Post date:** [December 3, 2019, 4:25am UTC](https://discuss.elastic.co/t/is-there-a-way-to-put-kibana-dashboard-png-report-in-the-body-of-the-email/210278/1 "2019-12-03T04:25:40Z")

</div>

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?

[https://www.elastic.co/guide/en/elasticsearch/reference/current/actions-email.html#email-action-attributes](https://www.elastic.co/guide/en/elasticsearch/reference/current/actions-email.html#email-action-attributes)

---

<div class="post-metadata">

**Author:** ![matw](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/matw/32/13913_2.png) [@matw](https://discuss.elastic.co/u/matw)\
**Post date:** [December 5, 2019, 8:10am UTC](https://discuss.elastic.co/t/is-there-a-way-to-put-kibana-dashboard-png-report-in-the-body-of-the-email/210278/2 "2019-12-05T08:10:46Z")

</div>

Dear sushmamagest,  
Thanks for your question, I 've asked the team about options in this case  
best,  
Matthias

---

<div class="post-metadata">

**Author:** ![sushmamagesh](https://avatars.discourse-cdn.com/v4/letter/s/8491ac/32.png) [@sushmamagesh](https://discuss.elastic.co/u/sushmamagesh)\
**Post date:** [December 5, 2019, 11:05pm UTC](https://discuss.elastic.co/t/is-there-a-way-to-put-kibana-dashboard-png-report-in-the-body-of-the-email/210278/3 "2019-12-05T23:05:29Z")

</div>

I case anyone is trying to solve this. Here is how i did it.

```auto
 "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>"
        }
      }
    }
  }

```

---

<div class="post-metadata">

**Author:** ![matw](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/matw/32/13913_2.png) [@matw](https://discuss.elastic.co/u/matw)\
**Post date:** [December 6, 2019, 6:29am UTC](https://discuss.elastic.co/t/is-there-a-way-to-put-kibana-dashboard-png-report-in-the-body-of-the-email/210278/4 "2019-12-06T06:29:01Z")

</div>

Thanks a lot for sharing this!  
Best,  
Matthias

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [January 3, 2020, 6:29am UTC](https://discuss.elastic.co/t/is-there-a-way-to-put-kibana-dashboard-png-report-in-the-body-of-the-email/210278/5 "2020-01-03T06:29:03Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
