Page 1 of 1

Change the IP of Logstash is currently collecting locally on

Posted: Mon Mar 04, 2019 10:41 am
by lukedevon
Hi

I have a 2 Node NLS cluster which segregated by two network interfaces, one for accept logs and other NIC for Operational tasks like accessing web interface.

eth1 - Operational network
eth2 - data/logs network

for the operational network I have a specific VIP address and the data network also I have a separate VIP address. Web browser always accessible via operational network VIP.

But when I go to configuration editor; it says

Logstash is currently collecting locally on <Operational VIP> tcp6: 5544

I want it to be <data network VIP>. How can I configure it? Is this something we can do within Nagios LS ?

Thank you
Luke.

Re: Change the IP of Logstash is currently collecting locall

Posted: Mon Mar 04, 2019 3:22 pm
by scottwilkerson
By default Nagios Log Server will listen on all interfaces, however you may need to adjust your firewall.

Additionally after making changes you would need to restart logstash and elasticsearch

Code: Select all

service elasticsearch restart
then

Code: Select all

service logstash restart