Hi there,
we are using automatically generated PDF reports to send out an email once a day with the PDF report (from one dashboard) as an attachment. This worked fine in version 7.5.2, but since we upgraded to 7.16.3 some of the visualizations in the PDF are not fully loaded. Obviously the watcher does not wait for them to be loaded before sending the report. In the PDF they look like this:
When generating the report over Kibana (Dashboard --> Share --> PDF Reports --> Generate PDF) everything works as expected and all visualizations are fully loaded. But when I use the the POST URL (Dashboard --> Share --> PDF Reports --> Advanced --> Copy POST URL) to put it in my watcher definition, not all visualizations are fully loaded.
Are there any additional parameter/timeouts or anything else that I can set to force it to wait for completion before sending the report?
This is my watcher definition:
{
"trigger": {
"schedule": {
"weekly": [
{
"on": [
"MON",
"TUE",
"WED",
"THU",
"FRI",
"SAT"
],
"at": [
"7:05"
]
}
]
}
},
"input": {
"none": {}
},
"condition": {
"always": {}
},
"actions": {
"email_report": {
"email": {
"profile": "standard",
"attachments": {
"report.pdf": {
"reporting": {
"url": "THE_POST_URL_FROM_SHARE",
"auth": {
"basic": {
"username": "xxxx",
"password": "xxxx"
}
}
}
}
},
"to": [
"someone@company.com"
],
"subject": "Report",
"body": {
"text": "This is your daily report."
}
}
}
}
}
I am happy about any tips/ideas.
Thanks in advance,
Patricia