# Please provide a sample for removing one alias name from the previous quarter index via curator

**URL:** <https://discuss.elastic.co/t/please-provide-a-sample-for-removing-one-alias-name-from-the-previous-quarter-index-via-curator/214156>\
**Category:** Elasticsearch\
**Tags:** curator\
**Created:** [January 8, 2020, 6:10am UTC](https://discuss.elastic.co/t/please-provide-a-sample-for-removing-one-alias-name-from-the-previous-quarter-index-via-curator/214156 "2020-01-08T06:10:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gokulnath](https://avatars.discourse-cdn.com/v4/letter/g/ecc23a/32.png) [@Gokulnath](https://discuss.elastic.co/u/Gokulnath)\
**Post date:** [January 8, 2020, 6:10am UTC](https://discuss.elastic.co/t/please-provide-a-sample-for-removing-one-alias-name-from-the-previous-quarter-index-via-curator/214156/1 "2020-01-08T06:10:40Z")

</div>

In my project we will create index for quarterly basis (i.e 4 indexes per year). I have 2 alias name, one for ingest and another one for search. when a new index is created i want to remove ingest alias alone from previous index why because i want to ingest data to current quarter index but searching should be done in all indexes.Kindly provide the sample yaml file for the same.I'm using curator 5.8. Thanks in advance.

actions:  
1:  
action: alias  
description: \>-  
Create new index on monthly basis with the template settings and mappings.  
options:  
name: ''  
remove:  
filters:  
- filtertype: pattern  
kind: suffix  
value: '\<prod-disc-2020.01\>'.

I used the above file but i failed, Please help me.

---

<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:** [February 5, 2020, 6:13am UTC](https://discuss.elastic.co/t/please-provide-a-sample-for-removing-one-alias-name-from-the-previous-quarter-index-via-curator/214156/2 "2020-02-05T06:13:24Z")

</div>

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