# Include new cluster state attribute?

**URL:** https://discuss.elastic.co/t/include-new-cluster-state-attribute/137091
**Category:** Elasticsearch
**Created:** [June 22, 2018, 10:27pm UTC](https://discuss.elastic.co/t/include-new-cluster-state-attribute/137091 "2018-06-22T22:27:13Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![abzter10690](https://avatars.discourse-cdn.com/v4/letter/a/a9adbd/32.png) [@abzter10690](https://discuss.elastic.co/u/abzter10690)
#### Post date: [June 22, 2018, 10:27pm UTC](https://discuss.elastic.co/t/include-new-cluster-state-attribute/137091/1 "2018-06-22T22:27:13Z")

</div>

I want to customize ElasticSearch to include a cluster-wide state (for example a counter, readable via \_cluster/state) so that my ES plugin or other process can take actions based on that? How can the node publish that state which will ultimately be synchronized by master node to all data nodes?

---

<div class="post-metadata">

### Author: ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)
#### Post date: [June 23, 2018, 8:08am UTC](https://discuss.elastic.co/t/include-new-cluster-state-attribute/137091/2 "2018-06-23T08:08:07Z")

</div>

How much data will need to be held? How frequently is it likely to get updated?

---

<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 21, 2018, 8:08am UTC](https://discuss.elastic.co/t/include-new-cluster-state-attribute/137091/3 "2018-07-21T08:08:10Z")

</div>

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