# Create es index alias from logstash pipeline conf

**URL:** <https://discuss.elastic.co/t/create-es-index-alias-from-logstash-pipeline-conf/120531>\
**Category:** Logstash\
**Created:** [February 19, 2018, 10:50pm UTC](https://discuss.elastic.co/t/create-es-index-alias-from-logstash-pipeline-conf/120531 "2018-02-19T22:50:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Arjun\_subramanyam\_va](https://avatars.discourse-cdn.com/v4/letter/a/51bf81/32.png) [@Arjun\_subramanyam\_va](https://discuss.elastic.co/u/Arjun_subramanyam_va)\
**Post date:** [February 19, 2018, 10:50pm UTC](https://discuss.elastic.co/t/create-es-index-alias-from-logstash-pipeline-conf/120531/1 "2018-02-19T22:50:19Z")

</div>

Hi

I want to automate the alias creation for es index, currently I specify index name in elasticsearch output plugin, similarly can i specify index alias in the conf file or template file ? how to do this efficiently, I know I can create alias from UI or using curl, I wanted to automate it.

---

<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:** [March 19, 2018, 10:50pm UTC](https://discuss.elastic.co/t/create-es-index-alias-from-logstash-pipeline-conf/120531/2 "2018-03-19T22:50:27Z")

</div>

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