| 12345678910111213141516171819202122232425262728293031323334353637 | --:api: ccr-put-auto-follow-pattern:request: PutAutoFollowPatternRequest:response: AcknowledgedResponse--[id="{upid}-{api}"]=== Put Auto Follow Pattern API[id="{upid}-{api}-request"]==== RequestThe Put Auto Follow Pattern API allows you to store auto follow patterns in orderto automatically follow leader indices in a remote clusters matching certainindex name patterns.["source","java",subs="attributes,callouts,macros"]--------------------------------------------------include-tagged::{doc-tests-file}[{api}-request]--------------------------------------------------<1> The name of the auto follow pattern.<2> The name of the remote cluster.<3> The leader index patterns.<4> The pattern used to create the follower index[id="{upid}-{api}-response"]==== ResponseThe returned +{response}+ indicates if the put auto follow pattern request was received.["source","java",subs="attributes,callouts,macros"]--------------------------------------------------include-tagged::{doc-tests-file}[{api}-response]--------------------------------------------------<1> Whether or not the put auto follow pattern request was acknowledged.include::../execution.asciidoc[]
 |