How to apply ILM to entire matching index pattern?

Here's the solution:

PUT filebeat*/_settings
{
  "lifecycle.name": "beat_default_lifecycle_policy"
}

I didn't see this page when I searched for it:
https://www.elastic.co/guide/en/elasticsearch/reference/current/_switching_policies_for_an_index.html