Move elasticsearch to another machine

Actual situation:
I have graylog with elasticsearch and mongodb run in docker containers.

    # docker ps --format "table {{.Names}} {{.Ports}}" | grep grays
    graystack_graylog 0.0.0.0:7555->7555/tcp, 0.0.0.0:8514->8514/tcp, 0.0.0.0:8514->8514/udp, 0.0.0.0:12201->12201/tcp, 0.0.0.0:12201->12201/udp, 9000/tcp
    graystack_elastic 9200/tcp, 9300/tcp
    graystack_syslogng 601/tcp, 10.5.0.13:514->514/udp, 6514/tcp
    graystack_mongodb 27017/tcp

Now I want to move elasticsearch on different machine (in the same local network).
How to do that with zero downtime or minimal downtime?

In graylog.conf file elasticsearch is setup:

    elasticsearch_hosts = http://elasticsearch:9200

Could someone with better experience in graylog than me :slight_smile: write a short how to with step by step how to do?

Thanks in advance for yours help.

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