I have configured logstash input to process emails from Gmail/Outlook using IMAP Input plugin. I am getting error when the email contains attachments or images.
Sample config below-
input {
imap {
host => "xyz.com"
password => "acc"
user => "user"
content_type => "multipart/alternative"
}
}
Below error details-
Encountered error NoMethodError {:message=>Can not
decode an entire message, try calling #decoded on the various fields and body or parts if it is a multipart message.
Any help appreciated.
Thanks.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.