Curator to add alias for today's index

I am trying to get curator to create an index where it uses today's date within the alias name, all based upon a date.

So if I have an index called iis_logs-2018.03.15 created today, I also want an alias created called active_directory-2018.03.15

But I cannot get the curator to do this properly. I can't seem to find an example for this exact use-case. Can someone tell me where my error is:

actions:
1:
action: alias
description: >-
Alias AD index for today
options:
name: '<active_directory-{now/d}>'
warn_if_no_indices: False
disable_action: False
add:
filters:
- filtertype: pattern
kind: prefix
value: iis-
- filtertype: pattern
kind: timestring
value: '%Y.%m.%d'

It would be even better if I could call the pattern with <value: iis-{now/d}>

Anyone know what I'm doing wrong?

The feature you requested will be in Curator 5.5, which is slated for release this week. You can read the pre-release documentation for it here.

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