Hi, please format your codes and errors under preformatted text </> or backticks (```) as it is hard to read otherwise.
This error means that the logstash could not parse the configuration.
Usually this indicate that there's either Bad or missing syntax / character / whitespaces / separators in your config files.
To have a better understanding for your issue, would you mind to share your logstash.yml and config files?