<source> @type tail path /var/log/monit.log pos_file /var/log/td-agent/monit.pos format none tag monit </source> <filter monit> @type record_transformer <record> hostname ${hostname} message ${hostname}: ${record["message"]} </record> </filter> <match monit> @type relabel @label @forward </match>