Auto follow hidden index?

Hi All,

I am trying to create an auto-follow pattern for a hidden index.

For example the agent metrics.

.ds-metrics-elastic_agent.filebeat-default-2022.08.11-000001

I have tried these 2 patterns

PUT /_ccr/auto_follow/ds-metrics
{
  "remote_cluster": "CLUSTER1",
  "leader_index_patterns": [
    ".ds-metrics-*"
  ],
  "follow_index_pattern": "cl1-{{leader_index}}"
}
PUT /_ccr/auto_follow/ds-metrics
{
  "remote_cluster": "CLUSTER1",
  "leader_index_patterns": [
    "*ds-metrics-*"
  ],
  "follow_index_pattern": "cl1-{{leader_index}}"
}

But both attempts do not result in auto follow index being generated.

Does anyone know how to create such a pattern for a hidden index?

Any help would be appreciated.

Regards,

Bob

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