<match kpi.user_register> type copy <store> type elasticsearch index_name kpi type_name user_register include_tag_key true tag_key @log_name host localhost port 9200 logstash_format true logstash_prefix kpi.user_register flush_interval 3s </store> <store> type file path /var/log/td-agent/kpi.user_register.log </store> </match> <match kpi.user_login> type copy <store> type elasticsearch index_name