# Issues sending reports via sentinl kibana

**URL:** <https://discuss.elastic.co/t/issues-sending-reports-via-sentinl-kibana/174049>\
**Category:** Kibana\
**Created:** [March 27, 2019, 6:17am UTC](https://discuss.elastic.co/t/issues-sending-reports-via-sentinl-kibana/174049 "2019-03-27T06:17:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ApekshaB](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/apekshab/32/63273_2.png) [@ApekshaB](https://discuss.elastic.co/u/ApekshaB)\
**Post date:** [March 27, 2019, 6:17am UTC](https://discuss.elastic.co/t/issues-sending-reports-via-sentinl-kibana/174049/1 "2019-03-27T06:17:18Z")

</div>

Dear Team,

I have created a watcher in sentinl, i am able to send emails via it.  
Now i want to send reports using the same.

I am getting below error:

{  
"@timestamp": "2019-03-27T06:13:00.033Z",  
"error": true,  
"report": true,  
"watcher": "watcher\_001",  
"action": "Report screenshot",  
"level": "high",  
"message": "ActionError: report action : execute : run 'puppeteer' report : puppeteer work",  
"type": "sentinl-alarm",  
"\_index": "watcher\_alarms-2019.03.27",  
"id": "RiLHvWkB6C48nRWPxqcD"  
}

Kindly find below watcher configuration:

{  
"actions": {  
"Report\_screenshot\_7eeca0c4-52a3-470d-a8c8-bbf4f29eeec1": {  
"name": "Report screenshot",  
"throttle\_period": "1m",  
"report": {  
"auth": {  
"mode": "basic",  
"active": false,  
"username": "kib",  
"password": "kib"  
},  
"priority": "high",  
"stateless": false,  
"body": "You can find the screenshot in the attachment.",  
"save": true,  
"snapshot": {  
"res": "1920x1080",  
"url": "[http://10.0.51.128:5602/app/kibana#/dashboard/96cc9100-5052-11e9-bbcc-0d5edbc7e194?\_g=(refreshInterval:(pause:!t,value:0),time:(from:now-5y,mode:quick,to:now)](http://10.0.51.128:5602/app/kibana#/dashboard/96cc9100-5052-11e9-bbcc-0d5edbc7e194?_g=(refreshInterval:(pause:!t,value:0),time:(from:now-5y,mode:quick,to:now)))&\_a=(description:'',filters:!(),fullScreenMode:!f,options:(darkTheme:!f,hidePanelTitles:!f,useMargins:!t),panels:!((embeddableConfig:(),gridData:(h:15,i:'1',w:24,x:0,y:0),id:be9851d0-5050-11e9-bbcc-0d5edbc7e194,panelIndex:'1',type:visualization,version:'6.4.0')),query:(language:lucene,query:''),timeRestore:!f,title:'%20Dashboard\_001',viewMode:view)",  
"params": {  
"delay": 50000,  
"crop": "false"  
},  
"type": "png",  
"name": "apek\_report"  
},  
"to": "abc@xyz.com",  
"from": "kibana-request@xyz.com",  
"subject": "Report generation !!!!"  
}  
}  
},  
"input": {  
"search": {  
"request": {  
"index": [  
"apek\_01"  
],  
"body": {  
"query": {  
"bool": {  
"filter": {  
"range": {  
"@timestamp": {  
"gte": "now-5y/y",  
"lte": "now/y",  
"format": "epoch\_millis"  
}  
}  
}  
}  
},  
"size": 0,  
"aggs": {  
"dateAgg": {  
"date\_histogram": {  
"field": "@timestamp",  
"time\_zone": "Europe/Amsterdam",  
"interval": "1m",  
"min\_doc\_count": 1  
}  
}  
}  
}  
}  
}  
},  
"condition": {  
"script": {  
"script": "payload.aggregations.dateAgg.buckets.some(b =\> b.doc\_count\>=92)"  
}  
},  
"trigger": {  
"schedule": {  
"later": "every 1 minutes"  
}  
},  
"disable": false,  
"report": false,  
"title": "watcher\_001",  
"wizard": {  
"chart\_query\_params": {  
"queryType": "count",  
"scheduleType": "every",  
"over": {  
"type": "all docs"  
},  
"last": {  
"n": 5,  
"unit": "years"  
},  
"interval": {  
"n": 1,  
"unit": "minutes"  
},  
"timezoneName": "Europe/Amsterdam",  
"threshold": {  
"n": 92,  
"direction": "above eq"  
},  
"timeField": "@timestamp"  
}  
},  
"save\_payload": false,  
"spy": false,  
"impersonate": false  
}

My Kibana.yml:  
sentinl:  
#es:  
#host: 10.0.51.128  
#port: 9202  
settings:  
email:  
active: true  
host: 10.1.61.58  
port: 25  
report:  
active: true

Regards,  
Apeksha

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [March 27, 2019, 6:27am UTC](https://discuss.elastic.co/t/issues-sending-reports-via-sentinl-kibana/174049/2 "2019-03-27T06:27:12Z")

</div>

Sentinl is a third party plugin so you may get a faster response by reaching out to the creators directly.

---

<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:** [April 24, 2019, 6:27am UTC](https://discuss.elastic.co/t/issues-sending-reports-via-sentinl-kibana/174049/3 "2019-04-24T06:27:14Z")

</div>

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