[syslog-ng] Problem building syslog-ng 3.11.1 and elastic search

Ronald Fenner rfenner at gamecircus.com
Fri Feb 23 01:07:57 UTC 2018


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.

rfenner at gamecircus.com

> On Feb 22, 2018, at 5:14 PM, Ronald Fenner <rfenner at 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:       https://repo1.maven.org/maven2/org/elasticsearch/plugin/shield/2.4.0/shield-2.4.0.$ <https://repo1.maven.org/maven2/org/elasticsearch/plugin/shield/2.4.0/shield-2.4.0.$>
> 1519328565,,ui,message,    amazon-ebs:       https://repo1.maven.org/maven2/org/elasticsearch/plugin/shield/2.4.0/shield-2.4.0.$ <https://repo1.maven.org/maven2/org/elasticsearch/plugin/shield/2.4.0/shield-2.4.0.$>
> 1519328565,,ui,message,    amazon-ebs:       http://maven.elasticsearch.org/releases/org/elasticsearch/plugin/shield/2.4.0/shie$ <http://maven.elasticsearch.org/releases/org/elasticsearch/plugin/shield/2.4.0/shie$>
> 1519328565,,ui,message,    amazon-ebs: 9 actionable tasks: 9 executed
> 1519328565,,ui,message,    amazon-ebs:       http://maven.elasticsearch.org/releases/org/elasticsearch/plugin/shield/2.4.0/shie$ <http://maven.elasticsearch.org/releases/org/elasticsearch/plugin/shield/2.4.0/shie$>
> 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.
> 
> rfenner at gamecircus.com <mailto:rfenner at gamecircus.com>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.balabit.hu/pipermail/syslog-ng/attachments/20180222/2f7daed3/attachment-0001.html>


More information about the syslog-ng mailing list