Hello,

There is a open issue at github(https://github.com/balabit/syslog-ng/issues/1891), you can follow up there. Also it has a patch, that could solve this issue temporary.

Based on your use case
* if you do not need java and/or java based solution (elasticsearch, kafka, hdfs)  you could either *--disable-java* overall
* if you need java but not the elasticsearch you could remove the elastic-v2 from compilation via editting: *modules/java-modules/settings.gradle*
* if you need those there is a patch in the issue, that uses atlassian instead of the elasticsearch (which seems down)



--
Kokan

On Fri, Feb 23, 2018 at 2:08 AM Ronald Fenner <rfenner@gamecircus.com> wrote:
So I tried using the latest version 3.13.2 downloaded from GitHub
And again get the same error

FAILURE: Build failed with an exception.

* What went wrong:
Could not resolve all files for configuration ':elastic-v2:compileClasspath'.
> Could not find org.elasticsearch.plugin:shield:2.4.0.
  Searched in the following locations:
      file:/usr/lib/syslog-ng-java-compile-deps-mvn-repo/org/elasticsearch/plugin/shield/2.4.0/shield-2.4.0.pom
      file:/usr/lib/syslog-ng-java-compile-deps-mvn-repo/org/elasticsearch/plugin/shield/2.4.0/shield-2.4.0.jar
      file:/root/eventlog-0.2.12/syslog-ng-3.13.2/modules/java/syslog-ng-core/libs/shield-2.4.0.jar
      file:/root/eventlog-0.2.12/syslog-ng-3.13.2/modules/java/syslog-ng-core/libs/shield.jar
      file:/root/eventlog-0.2.12/syslog-ng-3.13.2/modules/java-modules/common/gradle/libs/shield-2.4.0.jar
      file:/root/eventlog-0.2.12/syslog-ng-3.13.2/modules/java-modules/common/gradle/libs/shield.jar
      https://repo1.maven.org/maven2/org/elasticsearch/plugin/shield/2.4.0/shield-2.4.0.pom
      https://repo1.maven.org/maven2/org/elasticsearch/plugin/shield/2.4.0/shield-2.4.0.jar
      http://maven.elasticsearch.org/releases/org/elasticsearch/plugin/shield/2.4.0/shield-2.4.0.pom
      http://maven.elasticsearch.org/releases/org/elasticsearch/plugin/shield/2.4.0/shield-2.4.0.jar
  Required by:
      project :elastic-v2

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.


So it seems we can't build any version of syslog-ng because of this missing plugin.
 Any thoughts?

Ronald Fenner
Network Architect
Game Circus LLC.


On Feb 22, 2018, at 5:14 PM, Ronald Fenner <rfenner@gamecircus.com> wrote:

I have script that builds syslog-ng and it was working fine but apparently a plugin for elastic search seems to have gone missing and I'm getting this error:

1519328565,,ui,message,    amazon-ebs: Could not resolve all files for configuration ':elastic-v2:compileClasspath'.
1519328565,,ui,message,    amazon-ebs: > Could not find org.elasticsearch.plugin:shield:2.4.0.
1519328565,,ui,message,    amazon-ebs:   Searched in the following locations:
1519328565,,ui,message,    amazon-ebs:       file:/usr/lib/syslog-ng-java-compile-deps-mvn-repo/org/elasticsearch/plugin/shield$
1519328565,,ui,message,    amazon-ebs:       file:/usr/lib/syslog-ng-java-compile-deps-mvn-repo/org/elasticsearch/plugin/shield$
1519328565,,ui,message,    amazon-ebs:       file:/home/ec2-user/eventlog-0.2.12/syslog-ng-3.11.1/modules/java/syslog-ng-core/l$
1519328565,,ui,message,    amazon-ebs:       file:/home/ec2-user/eventlog-0.2.12/syslog-ng-3.11.1/modules/java/syslog-ng-core/l$
1519328565,,ui,message,    amazon-ebs:       file:/home/ec2-user/eventlog-0.2.12/syslog-ng-3.11.1/modules/java-modules/common/g$
1519328565,,ui,message,    amazon-ebs:       file:/home/ec2-user/eventlog-0.2.12/syslog-ng-3.11.1/modules/java-modules/common/g$
1519328565,,ui,message,    amazon-ebs: 9 actionable tasks: 9 executed
1519328565,,ui,message,    amazon-ebs:   Required by:
1519328565,,ui,message,    amazon-ebs:       project :elastic-v2
1519328565,,ui,message,    amazon-ebs:
1519328565,,ui,message,    amazon-ebs: * Try:
1519328565,,ui,message,    amazon-ebs: Run with --stacktrace option to get the stack trace. Run with --info or --debug option t$
1519328565,,ui,message,    amazon-ebs:

Is there a way to disable elasticsearch module specifically?

Ronald Fenner
Network Architect
Game Circus LLC.



______________________________________________________________________________
Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng
FAQ: http://www.balabit.com/wiki/syslog-ng-faq