配置文件内容:
input { stdin { } } output { email { port => "25" address => "smtp.qq.com" username => "[email protected]" password => "*********" authentication => "plain" use_tls => false from => "[email protected]" subject => "Warning: you have an error!" to => "[email protected]" via => "smtp" body => "you hava an error!" } }
见附件
时间: 2024-10-24 22:17:05