elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.77k stars 8.17k forks source link

[Screenshotting/Alerts] Support screenshots in alert content #144932

Open tsullivan opened 1 year ago

tsullivan commented 1 year ago

Functional requirements:

Technical requirements:

elasticmachine commented 1 year ago

Pinging @elastic/response-ops (Team:ResponseOps)

elasticmachine commented 1 year ago

Pinging @elastic/kibana-reporting-services (Team:Reporting Services)

pmuellr commented 1 year ago

This sounds exciting! Not sure how this is actually going to work though.

Ideally we could have a connector "get image of visualization X", which you would arrange to create the image. Presumably persisted somewhere. But then if you want the image included in an email for the alert, we have problems:

We had done some previous investigation in this area, trying to find it, will link it when I do ...

pmuellr commented 1 year ago

hmmm ... I guess if we get a "snapshot" and "email/slack/etc" to somehow agree on what the "name" of the image will be, we can just wait for both connectors to run for it to be "eventually consistent". So if the email goes out before the image is available, maybe that's ok - it will "eventually" be available?

Actually, a good thing to check would be google imagine caching here. I believe they cache an image now when referenced in an email, so you can't really get "live updates" on a image that changes over time. Which isn't a problem in this case (I hope), but ... do they cache a 404 if the image isn't available "yet"?