# Update ILM and link to an existing index

**URL:** https://discuss.elastic.co/t/update-ilm-and-link-to-an-existing-index/343762
**Category:** Elasticsearch
**Tags:** ilm-index-lifecycle-management
**Created:** [September 25, 2023, 1:03pm UTC](https://discuss.elastic.co/t/update-ilm-and-link-to-an-existing-index/343762 "2023-09-25T13:03:21Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![sam1975](https://avatars.discourse-cdn.com/v4/letter/s/e274bd/32.png) [@sam1975](https://discuss.elastic.co/u/sam1975)
#### Post date: [September 25, 2023, 1:03pm UTC](https://discuss.elastic.co/t/update-ilm-and-link-to-an-existing-index/343762/1 "2023-09-25T13:03:21Z")

</div>

Hello,  
I have to update an ILM and update link to an existing index but i have a doubt on my API call  
Is that good one?  
curl -u elastic:xxxx -k -X PUT "[https://elasticsearch-1:9200/index-raw-syslog/settings?pretty](https://elasticsearch-1:9200/index-raw-syslog/settings?pretty)" -H 'Content-Type: application/json' -d '{ "index": { "lifeycle": {"name": "raw-syslog","rollover\_alias:"raw\_syslog" } } } '

Thank you

---

<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: [October 23, 2023, 1:03pm UTC](https://discuss.elastic.co/t/update-ilm-and-link-to-an-existing-index/343762/2 "2023-10-23T13:03:45Z")

</div>

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