Giter Club home page Giter Club logo

Comments (4)

mariussturm avatar mariussturm commented on May 28, 2024

I think this is a general problem with Docker on EC2. The ES plugin is making use of the EC2 metadata to publish cluster informations. But the metadata is not accessable inside of a container. There are projects like this you could try: https://github.com/dump247/docker-ec2-metadata
Or you go with the native EC2 instance of the Graylog appliance: https://github.com/Graylog2/graylog2-images/tree/master/aws

from graylog2-images.

brandongalbraith avatar brandongalbraith commented on May 28, 2024

It looks like graylog-server is using the 1.3.2 version of the Elasticsearch client (https://github.com/Graylog2/graylog2-server/blob/1.0.2/pom.xml#L223), but the omnibus install is using 1.4.5, hence the exceptions about not finding an injectable constructor when using the Elasticsearch cloud-aws plugin (the 1.3.2 client works with 1.4.5 ES server, but ES plugins are more strict with regards to version requirements).

from graylog2-images.

mariussturm avatar mariussturm commented on May 28, 2024

Yeah, the linked client library is always a little bit behind. Depends on when the server binary was compiled. But of cause we try to run a recent version of ES. Did you install the plugin for the Graylog-Server as well?

from graylog2-images.

brandongalbraith avatar brandongalbraith commented on May 28, 2024

I was successful in using the elasticsearch/elasticsearch-cloud-aws/2.4.1 version of the cloud-aws plugin, but with a Docker container built from a new Dockerfile that installed components (graylog-server, graylog-web, elasticsearch, mongodb) individually instead of using the omnibus deb package.

from graylog2-images.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.