We use logstash 5.4.1.
Following the example here: https://qbox.io/blog/indexing-emails-to-elasticsearch-logstash-imap, I got this error:
[2018-01-11T14:22:38,062][ERROR][logstash.pipeline ] A plugin had an unrecoverable error. Will restart this plugin.
Plugin: <LogStash::Inputs::IMAP host=>"outlook.xxx.com", password=>, user=>"me@xxx.com", port=>993, check_interval=>10, folder=>"Inbox", secure=>false, id=>"7added54a47768e563c82563e5a6200xxxyy", enable_metric=>true, codec=><LogStash::Codecs::Plain id=>"plain_8950870f-7b53-47f2-9340-309df76d96563", enable_metric=>true, charset=>"UTF-8">, verify_cert=>true, fetch_count=>50, lowercase_headers=>true, delete=>false, expunge=>false, strip_attachments=>false, content_type=>"text/plain">
Error: undefined method `name' for nil:NilClass
Any idea what might be the problem here? Thanks.