# Add message attributes while publishing message to SNS

**URL:** <https://discuss.elastic.co/t/add-message-attributes-while-publishing-message-to-sns/187284>\
**Category:** Logstash\
**Created:** [June 25, 2019, 9:24am UTC](https://discuss.elastic.co/t/add-message-attributes-while-publishing-message-to-sns/187284 "2019-06-25T09:24:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aakash\_Ratkal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aakash_ratkal/32/48716_2.png) [@Aakash\_Ratkal](https://discuss.elastic.co/u/Aakash_Ratkal)\
**Post date:** [June 25, 2019, 9:24am UTC](https://discuss.elastic.co/t/add-message-attributes-while-publishing-message-to-sns/187284/1 "2019-06-25T09:24:29Z")

</div>

I am using SNS filter policy to send emails to different stake holders based on the alert types. In order to implement this using logstash plugin I need to add message attributes to the request. Is there any approach to achieve this using current logstash-sns-output plugin: [https://github.com/logstash-plugins/logstash-output-sns](https://github.com/logstash-plugins/logstash-output-sns)

---

<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:** [July 23, 2019, 9:24am UTC](https://discuss.elastic.co/t/add-message-attributes-while-publishing-message-to-sns/187284/2 "2019-07-23T09:24:31Z")

</div>

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