}
if (format.contains("{tsuid}")) {
format = format.replace("{tsuid}", meta.getTSUID());
}
if (format.contains("{tag_name}")) {
final TreeRuleType type = rule.getType();
if (type == TreeRuleType.TAGK) {
format = format.replace("{tag_name}", rule.getField());
} else if (type == TreeRuleType.METRIC_CUSTOM ||
type == TreeRuleType.TAGK_CUSTOM ||
type == TreeRuleType.TAGV_CUSTOM) {