I have created policies in the lifecycle management index and added indices to it. But the status is shown 0. Any idea how can I see what inxdex is connected to which lifecycle policy and how I can add and delete an index.
It looks like you've created a policy, but you don't have any indices that use that policy. There are 2 ways you can start using the policy.
The first is to create and index (or update its settings) with the index.lifecycle.name setting to be the policy that you created. Something like (to create a new index using a policy):
PUT /myindex
{
"settings": {
"index.lifecycle.name": "metricindex"
}
}
The other would be to create an index template (this is what the "Add policy to index template" button will let you do) so that any new indices that are created that match a pattern will automatically start using your ILM policy.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.