Error while starting logstash 8.3.1

Hello guys,

Recently i upgraded my logstash instance from 7.x to 8.3.1.
But now when i try to start the logstash service, i get the following log:

[ERROR][logstash.runner ] Logging configuration uses Script log appender or filter with Javascript, which is no longer supported.

I googled this error but i still don't have an answer for this error.
Any guesses?

Thank you

logstash no longer allows Javascript Script filters. Not sure why. The log4j2.properties is scanned for "script.language=JavaScript" and if logstash finds it then it logs that error and fails to start. This PR implemented that.

1 Like

I got the issue fixed.
I will update the post soon.

Thank you

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