How we can attach a document with the alert to teams action?

Document means some dashboard as pdf likewise.
Currently, We are using webhook for sending alerts to the team's channels from the watcher.
same functionality we are able to perform in email action.

"actions": {
    "my_webhook": {
      "throttle_period_in_millis": 300000,
      "webhook": {
        "scheme": "https",
        "host": "",
        "port": 443,
        "method": "post",
        "path": "/webhookb2/9ad3804a2f6/IncomingWebhook/6cf8bfd6c1/fc8759d69cf0",
        "params": {},
        "headers": {},
        "body": {
          "source": {
            "text": "{{ctx.watch_id}}:{{}}"
          "lang": "mustache",
          "options": {
            "content_type": "application/json; charset=UTF-8"

You're not able to add a message in the alert when using the Teams connector?

Are you using Kibana alerting to do this? Microsoft Teams connector and action | Kibana Guide [master] | Elastic

Yes, using webhook we are sending alerts from watcher to teams channels. we can able to send alert but I need to add some pdf/images of the dashboard to the message.

Same functionality we are done using email action.


It says in the documentation that only text data is allowed for actions with this connector: Microsoft Teams connector and action | Kibana Guide [7.16] | Elastic

To push for an enhancement to allow more types of data through the action, you'll have to file an issue requesting support for it in the Kibana issue tracker: Issues · elastic/kibana · GitHub

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