# Probleme with attachement file in watcher kibana

**URL:** https://discuss.elastic.co/t/probleme-with-attachement-file-in-watcher-kibana/318959
**Category:** Kibana
**Tags:** elastic-stack-alerting
**Created:** [November 15, 2022, 1:16pm UTC](https://discuss.elastic.co/t/probleme-with-attachement-file-in-watcher-kibana/318959 "2022-11-15T13:16:22Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Mouloud\_Addouche](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mouloud_addouche/32/98989_2.png) [@Mouloud\_Addouche](https://discuss.elastic.co/u/Mouloud_Addouche)
#### Post date: [November 15, 2022, 1:16pm UTC](https://discuss.elastic.co/t/probleme-with-attachement-file-in-watcher-kibana/318959/1 "2022-11-15T13:16:22Z")

</div>

Hello,

I have a problem with watcher in elasticsearch, in fact I created a watcher that allows to send a mail with a pdf file ( the pdf file is a dashboard on kibana )  
"reporting": {  
"url": "[http://kibana:5601/api/reporting/generate/](http://kibana:5601/api/reporting/generate/)...

the problem is that the file sent is not complete (there are dashboards not loaded..)

 ![Capture d’écran (10)](https://us1.discourse-cdn.com/elastic/original/3X/e/5/e57dc50b5a78e909e5cf33ead1329a8a036809de.png)

How can I make sure that the file is sent only when all the dashboards are complete.

Thanks

---

<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: [December 13, 2022, 1:17pm UTC](https://discuss.elastic.co/t/probleme-with-attachement-file-in-watcher-kibana/318959/2 "2022-12-13T13:17:03Z")

</div>

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