A tutorial on the process of sending a Kibana dashboard to email addresses as a (PNG) image is not readily available. After extensive experimentation and research, I have produced a comprehensive guide on this topic. The tutorial outlines the step-by-step instructions for this task, and will provide a much-needed resource for those interested in achieving this objective.
Steps:
- Go to
Your account/Contacts
- Add your email here
- Confirm the email coming from Elastic.
- Go to
Stack Manager > Watcher
- Create a
new Watcher
- Edit yout watch
- Example:
{
"trigger": {
"schedule": {
"interval": "24h"
}
},
"input": {
"none": {}
},
"condition": {
"always": {}
},
"actions": {
"email_admin": {
"email": {
"profile": "standard",
"attachments": {
"error_report.png": {
"reporting": {
"url": "reporting-url (1)",
"interval": "260s",
"auth": {
"basic": {
"username": "user (2)",
"password": "passw (3)"
}
}
}
}
},
"to": [
"'me <me@mail.com>, you <you@mail.com>'"
],
"subject": "Monitoring Report"
}
}
}
}
There are some fields that you need to fill:
STEP (1)
Go one of your dashboards
Click Share > PNG Reports > Advanced Options > Copy Post Url
STEP (2) and (3)
Create user with privileges,
go to: management/security/users
Create a user
(UTC timezone)
Save your watcher and exit to main page. That way you will get PNG reports to your email everyday.
Main Source:
https://www.elastic.co/guide/en/elasticsearch/reference/current/trigger-schedule.html
Top comments (0)