# Alerts how to add very long value as an attachment

**URL:** <https://discuss.elastic.co/t/alerts-how-to-add-very-long-value-as-an-attachment/273087>\
**Category:** Kibana\
**Tags:** elastic-stack-alerting\
**Created:** [May 15, 2021, 4:36pm UTC](https://discuss.elastic.co/t/alerts-how-to-add-very-long-value-as-an-attachment/273087 "2021-05-15T16:36:32Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![zozo6015](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zozo6015/32/12117_2.png) [@zozo6015](https://discuss.elastic.co/u/zozo6015)\
**Post date:** [May 15, 2021, 4:36pm UTC](https://discuss.elastic.co/t/alerts-how-to-add-very-long-value-as-an-attachment/273087/1 "2021-05-15T16:36:32Z")

</div>

Hello,

I am using alerts to send alerts on slack when there are some high severity messages in the logs. Usually these come with a very long message that spans over multiple slack messages. Is there a way I can tell alerts to put that in an attachment?

---

<div class="post-metadata">

**Author:** ![Marius\_Dragomir](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marius_dragomir/32/42087_2.png) [@Marius\_Dragomir](https://discuss.elastic.co/u/Marius_Dragomir)\
**Post date:** [May 17, 2021, 2:19pm UTC](https://discuss.elastic.co/t/alerts-how-to-add-very-long-value-as-an-attachment/273087/2 "2021-05-17T14:19:32Z")

</div>

Hi Peter,  
Attachment aren't currently supported for the Slack actions, sadly. We have an open issue for images/charts support which should get you even closer: [Add image/chart support to actions · Issue #49908 · elastic/kibana · GitHub](https://github.com/elastic/kibana/issues/49908)

---

<div class="post-metadata">

**Author:** ![Patrick\_Mueller](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/patrick_mueller/32/109425_2.png) [@Patrick\_Mueller](https://discuss.elastic.co/u/Patrick_Mueller)\
**Post date:** [May 17, 2021, 3:49pm UTC](https://discuss.elastic.co/t/alerts-how-to-add-very-long-value-as-an-attachment/273087/3 "2021-05-17T15:49:04Z")

</div>

This issue is even more directly related: [[actions] extend Slack support with Block Kit · Issue #88832 · elastic/kibana · GitHub](https://github.com/elastic/kibana/issues/88832)

---

<div class="post-metadata">

**Author:** ![zozo6015](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zozo6015/32/12117_2.png) [@zozo6015](https://discuss.elastic.co/u/zozo6015)\
**Post date:** [May 17, 2021, 4:04pm UTC](https://discuss.elastic.co/t/alerts-how-to-add-very-long-value-as-an-attachment/273087/4 "2021-05-17T16:04:55Z")

</div>

I have replaced the slack action with the webhook action where I trigger the slack webhook and I have more control over the text I want to show. I just have hard time making very long messages to show as short messages with More link in them.

---

<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:** [June 14, 2021, 4:04pm UTC](https://discuss.elastic.co/t/alerts-how-to-add-very-long-value-as-an-attachment/273087/5 "2021-06-14T16:04:56Z")

</div>

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