recently i installed ES and pushing data from monstache. but ES automatically deleting index for some daily basis. Its seems like daily maintenance task and its triggering automatically. i need to stop this daily maintenance task .
Elasticsearch will only delete (non-system) indices if you specifically set ILM (or another process) up to do this. It won't delete them as part of the MlDailyMaintenanceService process you are referring to.
If your indices are being deleted it should be mentioned in the Elasticsearch logs, can you see that?
The ML daily maintenance task only touches indices named .ml-anomalies* and .ml-state*. Are you storing your own data in indices with names that match these patterns? If you are then please switch to using other indices, as these patterns are reserved for the Elastic ML plugin.
The ML daily maintenance is running extremely quickly, which makes me wonder if you are not using ML at all. Is that correct? If you are not using ML at all you can disable it by putting xpack.ml.enabled: false in your elasticsearch.yml. Please be aware that after doing this none of the ML APIs will work. Disabling the ML plugin and restarting the cluster will stop the ML daily maintenance task from running. But then, assuming your indices are not named .ml*, I think you will find that it wasn't the ML daily maintenance that was deleting your indices after all.
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.