Lost connection in logstash forwarder when addind patterns and grok filters

i work with zimbra i have created a grok filter for mailbox.log and a pattern file

i have put the filter file called zimbra_mailbox.conf in /etc/logstash/conf.d/
and i have created a directory called patterns in /etc/logstash/ and puted the pattern file into it

and i made this commande chown logstash:logstash /etc/logstash/patterns/zimbra

but when i open logsatsh-forwader.err to see how the transfer of log is going but i get lost connection connection failure :frowning:
could you help me please to know where is my problem

Logstash forwarder is no longer supported, please upgrade to filebeat.

Also, please don't post the same thing in different categories - Lost connection when adding filter files and patterns in logstash