bundle agent __main__
{
vars:
# one option for each of 28 days in a month.
"options" slist => { expandrange( "selected_option_[1-28]", 1 ) };
classes:
"selected_option" select_class => { @(options) };
reports:
selected_option::
"I selected an option";
"I selected option $(options)"
if => "$(options)";
}
R: I selected an option R: I selected option selected_option_15