# Manage indices and shards

**URL:** <https://discuss.elastic.co/t/manage-indices-and-shards/202832>\
**Category:** Elasticsearch\
**Created:** [October 9, 2019, 12:49pm UTC](https://discuss.elastic.co/t/manage-indices-and-shards/202832 "2019-10-09T12:49:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kentatoi](https://avatars.discourse-cdn.com/v4/letter/k/9fc348/32.png) [@kentatoi](https://discuss.elastic.co/u/kentatoi)\
**Post date:** [October 9, 2019, 12:49pm UTC](https://discuss.elastic.co/t/manage-indices-and-shards/202832/1 "2019-10-09T12:49:14Z")

</div>

Hi,

I have an ELK-stack configured on a bunch of servers. For now we only have one master node and using Logstash on each serv to ship the logs.  
I created indices as follow:  
vertical\_typeOfLogs\_YYYY-MM-DD  
Now I want to create policy or rollup jobs (I guess) to check if there is less than 10 docs in one shard merge this to another one or if logstash send a log older than one month freeze the index.  
I am not sur how I have to process with that.  
Thanks for your help.

---

<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:** [November 6, 2019, 12:49pm UTC](https://discuss.elastic.co/t/manage-indices-and-shards/202832/2 "2019-11-06T12:49:21Z")

</div>

Closed on November 6, 2019, 12:49pm UTC

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