update tag_format when logstash_prefix is true