NOTE: The examples below are for when ECS support is enabled.
- Create an ILM policy named
elastiflow
via Kibana UI or via the Elasticsearch API (using Kibana Dev Tools). For example:
PUT _ilm/policy/elastiflow
{
"policy": {
"phases": {
"hot": {