2017-05-10 4 views
0

私はlogstashを使用して私の電子メールにログを送信しています設定の下に使用して:あなたが得るLogstash電子メール出力プラグインの設定エラー?

output { 
    email { 
     to => "[email protected]" 
     codec => "plain" 
     contenttype => "text/html; charset=UTF-8" 
     body => "Here is the event line that occured: %{message}" 
     options => { 
    smpt => { 
    smtpIporHost => "smtp.gmail.com" 
    port => 567 
    userName => "[email protected]" 
    password => "mypass" 
    starttls => true 
    } 
} 
    } 

    } 

おかげ

答えて

1

誤差はかなり明確である:電子メールの

不明な設定「オプション」

email outputを次のように設定する必要があります。

email { 
    to => "[email protected]" 
    codec => "plain" 
    contenttype => "text/html; charset=UTF-8" 
    body => "Here is the event line that occured: %{message}" 
    address => "smtp.gmail.com" 
    port => 587 
    username => "[email protected]" 
    password => "passw" 
    use_tls => true 
} 
+0

おかげでvalが、私はGmailがポート587上の接続を受け入れないということです質問 – Seeker

+0

まあ、オリジナルの問題が解決され、今あなたが別のものを打っているし、編集したあなたはsmtp- '試すことができます代わりにrelay.gmail.comを使用しますか? – Val

+0

この問題について、私は新しい質問をしたいですか? – Seeker

関連する問題