Getting errors after Logstash upgrade from 7.6.2 to 7.9.2

I recently upgraded my Logstash from 7.6.2 to the latest version 7.9.2. When I tested my configuration file, I received the output below. I did not get the error below output when I tested with version 7.6.2

May I know if I can just ignore the ERROR and warning message? Is there anything wrong with my plugin in the logstash.conf file?

Thank you.

2020-10-08 11:13:54,560 main ERROR Script contains an invalid element or attribute "value"
2020-10-08 11:13:54,560 main ERROR No 'scriptText' attribute provided for Script plugin 'filter_no_pipelined'
2020-10-08 11:13:54,575 main ERROR A Script, ScriptFile or ScriptRef element must be provided for this ScriptFilter
2020-10-08 11:13:54,575 main ERROR Script contains an invalid element or attribute "value"
2020-10-08 11:13:54,575 main ERROR No 'scriptText' attribute provided for Script plugin 'routing_script'
2020-10-08 11:13:54,575 main ERROR Script contains an invalid element or attribute "value"
2020-10-08 11:13:54,590 main ERROR No 'scriptText' attribute provided for Script plugin 'filter_no_pipelined'
2020-10-08 11:13:54,590 main ERROR A Script, ScriptFile or ScriptRef element must be provided for this ScriptFilter
[2020-10-08T11:13:54,590][INFO ][logstash.runner          ] Starting Logstash {"logstash.version"=>"7.9.2", "jruby.version"=>"jruby 9.2.13.0 (2.5.7) 2020-08-03 9a89c94bcc Java HotSpot(TM) Client VM 25.251-b08 on 1.8.0_251-b08 +indy +jit [mswin32-i386]"}
[2020-10-08T11:13:54,621][INFO ][logstash.setting.writabledirectory] Creating directory {:setting=>"path.queue", :path=>"C:\\ProgramData\\Elastic\\logstash-7.9.2\\data/queue"}
[2020-10-08T11:13:54,637][INFO ][logstash.setting.writabledirectory] Creating directory {:setting=>"path.dead_letter_queue", :path=>"C:\\ProgramData\\Elastic\\logstash-7.9.2\\data/dead_letter_queue"}
[2020-10-08T11:13:54,731][WARN ][logstash.config.source.multilocal] Ignoring the 'pipelines.yml' file because modules or command line options are specified
[2020-10-08T11:13:56,760][INFO ][org.reflections.Reflections] Reflections took 16 ms to scan 1 urls, producing 22 keys and 45 values
Configuration OK
[2020-10-08T11:14:00,277][INFO ][logstash.runner          ] Using config.test_and_exit mode. Config Validation Result: OK. Exiting Logstash```

Hi,

Did you copy the log4j2.properties from your old installation? There was a change in one of this versions from:
appender.rolling.avoid_pipelined_filter.script.value
to:
appender.rolling.avoid_pipelined_filter.script.scriptText

Best regards
Wolfram

Thank you Wolfram! I accidentally overwrite the log4j2.properties file in 7.6.2 version into the 7.9.2 one.

It works now!

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