Logstash pod failing to create pipeline due to error loading a ruby script

I have no problem getting 9.1.4 to load that script provided I remove one of those }