Coder Social home page Coder Social logo

Comments (6)

mariussturm avatar mariussturm commented on May 25, 2024

Could you please provide some more context? What exactly do you want to achieve? Accessing the mongodb directly is almost always the wrong approach.

from graylog2-images.

ourlord avatar ourlord commented on May 25, 2024

My graylog server is set as a vm in my laptop. And the IP address for the graylog vm cannot be static due to my network environment. I found that there is always an invalid IP address(the first IP address when I begin running graylog from this image) hanging around when I did a "graylog-ctl list-servers".
This doesn't bother me for now because I am only playing around with one node. I wonder if I try to run a multinode environment, this will be an issue. So I wish I could remove this IP address from the servers list or something.
I try to edit some conf file under /opt/graylog/conf but still, that IP address won't go away even my vm's IP keeps changing from time to time.

Example:
If I try,
$ graylog-ctl list-servers
_...100
*__._
.***.123
123 is current IP for graylog. 100 is the IP when I first run this image.

from graylog2-images.

mariussturm avatar mariussturm commented on May 25, 2024

You can simply re-run graylog-ctl reconfigure to update all configurations to the new IP

from graylog2-images.

ourlord avatar ourlord commented on May 25, 2024

Yup, actually I did this when my graylog vm IP changes. But still, the old one stays there for some reason when I try "list-servers".
Btw, the reconfigure command will automatically detect the new IP and changes the conf? Because I usually manually change the conf file with new IP address then run reconfigure command.

from graylog2-images.

mariussturm avatar mariussturm commented on May 25, 2024

Yes it renders all configuration files. So if you first edit the file manually and then run reconfigure your changes are overwritten.
But the command takes notice of a change IP address and adopt the configuration where possible.

from graylog2-images.

ourlord avatar ourlord commented on May 25, 2024

Sounds good enough for me now. Should close this one. Thank you so much!

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.