SHARE
TWEET

Untitled

a guest Sep 2nd, 2012 38 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # mail,logを1台で動かす場合
  2. <source>
  3.   type tail
  4.   path /var/log/maillog
  5.   tag maillog
  6.   format /^(?<date>[^ ]+) (?<host>[^ ]+) (?<process>[^:]+): (?<message>((?<key>[^ :]+)[ :])? ?((to|from)=<(?<address>[^>]+)>)?.*)$/
  7.   pos_file /var/log/td-agent/mail.pos
  8. </source>
  9.  
  10. <match maillog>
  11.   type file
  12.   path /var/log/td-agent/mail_log
  13. </match>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top