How to resolve "Can not decode an entire message...." error in logstash while usingImap plugin?

Hi, I am new to Elasticsearch and logstash when I use imap plugin "Can not decode an entire message...." error appears. I have read many posts, understood a few but still unable to get what to do to resolve these errors while allowing attachments. Following is input configuration of logstash. Logstash version is 8.2.1

  imap {
    host => "ip"
    user => "username"
    password => "password"
    port => 143
    check_interval => 4
    folder => "Inbox"
    strip_attachments => "false"
    ecs_compatibility => disabled
    secure => false
    content_type => "application/gzip"
    save_attachments => true

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.