You haven't provided any extra context or configuration data here, so I can't guess effectively, but I'll try anyway.
This is wrapped in curly braces like JSON, but without any quotes around the keys or values. Are you trying to make a line here for curator_cli's --filter_list argument?
I do not think that flow-style mapping will work with environment variables. The structure should be:
filters:
- filtertype: closed
exclude: false
- filtertype: pattern
kind: prefix
value: xyz_
exclude: false
- filtertype: age
source: name
direction: older
timestring: '%Y_%m_%d'
unit: days
unit_count: ${unit_count}
Keep in mind that most environment variables are all caps, so if you do have one named $unit_count, that's fine, but typically it would be $UNIT_COUNT.
Aha...I understand your point. I used online formatter to format my file and it was running correctly unless I felt the need to add place holder ($VAR)
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.