# Common metadata section for all watchers in a folder

**URL:** <https://discuss.elastic.co/t/common-metadata-section-for-all-watchers-in-a-folder/150053>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-alerting\
**Created:** [September 26, 2018, 4:40pm UTC](https://discuss.elastic.co/t/common-metadata-section-for-all-watchers-in-a-folder/150053 "2018-09-26T16:40:36Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chaitra\_Ranganna](https://avatars.discourse-cdn.com/v4/letter/c/ac8455/32.png) [@Chaitra\_Ranganna](https://discuss.elastic.co/u/Chaitra_Ranganna)\
**Post date:** [September 26, 2018, 4:40pm UTC](https://discuss.elastic.co/t/common-metadata-section-for-all-watchers-in-a-folder/150053/1 "2018-09-26T16:40:36Z")

</div>

Hi ,

I would like to know If I can have common metadata section with in a folder which can be shared across all watchers in that folder

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [September 26, 2018, 7:02pm UTC](https://discuss.elastic.co/t/common-metadata-section-for-all-watchers-in-a-folder/150053/2 "2018-09-26T19:02:52Z")

</div>

Hey,

I do not fully understand what you mean with a `folder` here? There is no such thing from my point of view. Every watch basically is added for itself using the put watch API, and they do not share any state, if that helps you.

Otherwise please explain what you are trying to do. Thanks!

--Alex

---

<div class="post-metadata">

**Author:** ![Chaitra\_Ranganna](https://avatars.discourse-cdn.com/v4/letter/c/ac8455/32.png) [@Chaitra\_Ranganna](https://discuss.elastic.co/u/Chaitra_Ranganna)\
**Post date:** [October 1, 2018, 7:43pm UTC](https://discuss.elastic.co/t/common-metadata-section-for-all-watchers-in-a-folder/150053/3 "2018-10-01T19:43:32Z")

</div>

we have common metadata used by many watchers, I was wondering if there is way we could share this metadata across watchers.

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [October 2, 2018, 6:42am UTC](https://discuss.elastic.co/t/common-metadata-section-for-all-watchers-in-a-folder/150053/4 "2018-10-02T06:42:25Z")

</div>

ah, I see. So in that case you would take care of that in your tool to deploy the watches, which could just merge a standard block of metadata into the watch before putting it.

Hope this helps.

--Alex

---

<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:** [October 30, 2018, 6:52am UTC](https://discuss.elastic.co/t/common-metadata-section-for-all-watchers-in-a-folder/150053/5 "2018-10-30T06:52:07Z")

</div>

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