Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # mail,logを1台で動かす場合
- <source>
- type tail
- path /var/log/maillog
- tag maillog
- format /^(?<date>[^ ]+) (?<host>[^ ]+) (?<process>[^:]+): (?<message>((?<key>[^ :]+)[ :])? ?((to|from)=<(?<address>[^>]+)>)?.*)$/
- pos_file /var/log/td-agent/mail.pos
- </source>
- <match maillog>
- type file
- path /var/log/td-agent/mail_log
- </match>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement