What version are you running, there was a bug in previous 7.X that caused this when applying the policy via Kibana. If you upgrade it'll fix it, or use the API directly.
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.