# Curator for logstash

**URL:** <https://discuss.elastic.co/t/curator-for-logstash/156324>\
**Category:** Logstash\
**Created:** [November 12, 2018, 4:49pm UTC](https://discuss.elastic.co/t/curator-for-logstash/156324 "2018-11-12T16:49:59Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Eva](https://avatars.discourse-cdn.com/v4/letter/e/dbc845/32.png) [@Eva](https://discuss.elastic.co/u/Eva)\
**Post date:** [November 12, 2018, 4:49pm UTC](https://discuss.elastic.co/t/curator-for-logstash/156324/1 "2018-11-12T16:49:59Z")

</div>

Hello there

I have query on some of the curator actions, ex: 'Close' action. Would like to know what is the use of it . Not sure if this is the right place to ask about curator, i couldn't find any curator specific forum.

I was looking at [https://www.elastic.co/guide/en/elasticsearch/client/curator/current/ex\_close.html](https://www.elastic.co/guide/en/elasticsearch/client/curator/current/ex_close.html) which does not have any detail on what the use of 'Close' action is. Can someone please brief me about it. On a website I found that the 'Close' action saves memory and CPU. I would like to know how does it do so.

Thanks!

---

<div class="post-metadata">

**Author:** ![theuntergeek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/theuntergeek/32/44961_2.png) [@theuntergeek](https://discuss.elastic.co/u/theuntergeek)\
**Post date:** [November 12, 2018, 5:21pm UTC](https://discuss.elastic.co/t/curator-for-logstash/156324/2 "2018-11-12T17:21:53Z")

</div>

The Curator documentation does cover the [`close` action](https://www.elastic.co/guide/en/elasticsearch/client/curator/5.5/close.html).

In a nutshell, closing an index removes it from the cluster state, and makes it unavailable for searching and analytics, but preserves the data files on the disk. A `closed` index can then be `opened` at a later date, after which it is added back to the cluster state, and will be available for searching and analytics. This is why a `closed` index saves memory and CPU—it is only occupying disk space.

---

<div class="post-metadata">

**Author:** ![Eva](https://avatars.discourse-cdn.com/v4/letter/e/dbc845/32.png) [@Eva](https://discuss.elastic.co/u/Eva)\
**Post date:** [November 13, 2018, 3:50am UTC](https://discuss.elastic.co/t/curator-for-logstash/156324/3 "2018-11-13T03:50:02Z")

</div>

Thank you Aaron!

I don't see the detailed definition [https://www.elastic.co/guide/en/elasticsearch/client/curator/5.5/close.html](https://www.elastic.co/guide/en/elasticsearch/client/curator/5.5/close.html) in the link. Am I looking at the correct link? Or can you point me to the page where it defines all the actions in detail please.

Regards!

---

<div class="post-metadata">

**Author:** ![theuntergeek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/theuntergeek/32/44961_2.png) [@theuntergeek](https://discuss.elastic.co/u/theuntergeek)\
**Post date:** [November 13, 2018, 4:02am UTC](https://discuss.elastic.co/t/curator-for-logstash/156324/4 "2018-11-13T04:02:59Z")

</div>

Sure! They are in the [examples](https://www.elastic.co/guide/en/elasticsearch/client/curator/5.5/examples.html). The `close` example is [here](https://www.elastic.co/guide/en/elasticsearch/client/curator/5.5/ex_close.html). Do read the commented section carefully as it provides some instruction regarding the `disable_action` setting.

---

<div class="post-metadata">

**Author:** ![Eva](https://avatars.discourse-cdn.com/v4/letter/e/dbc845/32.png) [@Eva](https://discuss.elastic.co/u/Eva)\
**Post date:** [November 13, 2018, 6:34am UTC](https://discuss.elastic.co/t/curator-for-logstash/156324/5 "2018-11-13T06:34:56Z")

</div>

Hi Aaron,

Thank you for the response.

I did take a look at the examples and I feel it would have been better to add some more detail on what each action does. For ex, the description for allocation action says - apply shard allocation routing to 'require' 'tag=cold' for hot/cold node setup for logstash- indices older than 3 days, based on index\_creation date, while i did not find anything on what hot/cold node setup is.

And yes, i have taken a look at disable\_action setting and have also executed delete action.

Regards

---

<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:** [December 11, 2018, 6:34am UTC](https://discuss.elastic.co/t/curator-for-logstash/156324/6 "2018-12-11T06:34:57Z")

</div>

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