I am using imap input plugin to fetch email along with attachments. Below configuration gets me multiple fields but does not get the attachment content.
Can anyone help here how to download attachments while connection with imap
Thanks for the reply
I tried adding this parameter, but it gives error
[ERROR] 2020-12-17 12:36:28.400 [Converge PipelineAction::Create] agent - Failed to execute action {:action=>LogStash::PipelineAction::Create/pipeline_id:main, :exception=>"Java::JavaLang::IllegalStateException", :message=>"Unable to configure plugins: (ConfigurationError) Something is wrong with your configuration.",
Thanks @ylasri, its working with 7.9.x version of logstash. Only prob now is that attachments.data is encrypted and not in human readable format and so cant apply parsing to it.
Probably need to use some python code to fetch attachment, store at a location and then use logstash to read the file and parse it.
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.