# Sample custom cluster action

**URL:** <https://discuss.elastic.co/t/sample-custom-cluster-action/22858>\
**Category:** Elasticsearch\
**Created:** [March 24, 2015, 2:35pm UTC](https://discuss.elastic.co/t/sample-custom-cluster-action/22858 "2015-03-24T14:35:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ali\_Lotfdar](https://avatars.discourse-cdn.com/v4/letter/a/f19dbf/32.png) [@Ali\_Lotfdar](https://discuss.elastic.co/u/Ali_Lotfdar)\
**Post date:** [March 24, 2015, 2:35pm UTC](https://discuss.elastic.co/t/sample-custom-cluster-action/22858/1 "2015-03-24T14:35:42Z")

</div>

Hello All,

I would like create a cluster action (for instance for searching  
documents), but I could not find any sample to help me how implement  
cluster action. I had looked on cookbook explanation and sample, although  
it was useful but I could not find how I can make it.

Thank you to let me have some sample or instruction document.

Regards,  
Ali

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/d8fea8af-0b95-41cf-b6c2-27c1568b642b%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/d8fea8af-0b95-41cf-b6c2-27c1568b642b%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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 6, 2017, 12:24am UTC](https://discuss.elastic.co/t/sample-custom-cluster-action/22858/2 "2017-07-06T00:24:29Z")

</div>


