Logstash failing to build with custom java Plugin after log4j issue fix in 7.16.1 build

I upgraded logstash source with 7.16.1 to have log4j vulnerability fix.

Followed below steps

  • Downloaded source code -- GitHub - elastic/logstash at v7.16.1

  • for source repo, ran ./gradlew assemble followed by rake bootstrap and provided the same path in gradle.properties of plugin.

  • for plugin repo , ran ./gradlew gem

still getting error: package co.elastic.logstash.api does not exist error.

I'm able to extract the jar(7.16.1) and it is prepared as expected. but so far no clue.

when I switched back to version(7.8.0) which I had been using and it works perfectly fine.


1 Like

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