Elasticsearch Setting Not Showing

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Post Reply
nagiousstruggler
Posts: 1
Joined: Wed Apr 23, 2025 12:53 pm

Elasticsearch Setting Not Showing

Post by nagiousstruggler »

Hello,
While trying to migrate some data from an old Nagios server to a new one, all of Nagios' blogs and tutorials say that you need to enable a setting "Elasticsearch Listen" to "All Interfaces." For some reason we do not have that setting on either the R1 or R2 versions, which is making the migration a bit difficult, is there any specific reason to why that setting wouldn't show up?
As a side note, I am logged into the administrator user for both versions, they are not listed in 'Global Settings' or anywhere else as I can tell.

Guides I've followed:
https://library.nagios.com/video-tutori ... sr1-nlsr2/
https://assets.nagios.com/downloads/nag ... 2024R2.pdf
User avatar
jmichaelson
Posts: 375
Joined: Wed Aug 23, 2023 1:02 pm

Re: Elasticsearch Setting Not Showing

Post by jmichaelson »

That setting is in Nagios Log server 2024R1 versions from 1.0.2 to the present. The migration those documents are talking about are for migrating a 2024R1 instance to 2024R2, since the conversion from Elasticsearch to OpenSearch requires a migration rather than a simple upgrade.

Could you provide more information on which 2024R1 version is your source?
Please let us know if you have any other questions or concerns.

-Jason
Driftboss3d
Posts: 1
Joined: Mon Sep 29, 2025 4:04 am

Re: Elasticsearch Setting Not Showing

Post by Driftboss3d »

Hey, I ran into the same issue during a migration—turns out that “Elasticsearch Listen” setting only shows up if the Elasticsearch component is properly installed and detected by Nagios. In my case, I had to manually verify the config files and sometimes even re-run the setup scripts to get it to appear. Once it was recognized, the setting showed up under Global Settings like magic.
Angelina1
Posts: 3
Joined: Sat Oct 04, 2025 4:09 am

Re: Elasticsearch Setting Not Showing

Post by Angelina1 »

In recent Nagios Log Server versions, the “Elasticsearch Listen” UI option was removed. You now set it directly in the config:

Edit /etc/elasticsearch/elasticsearch.yml and add:

network.host: 0.0.0.0


Restart services:

systemctl restart elasticsearch
systemctl restart logserver


Verify:

netstat -tulnp | grep 9200


This allows Elasticsearch to listen on all interfaces.
Linmayi
Posts: 3
Joined: Thu Jul 31, 2025 4:49 am

Re: Elasticsearch Setting Not Showing

Post by Linmayi »

nagiousstruggler wrote: Wed Apr 23, 2025 12:59 pm Hello,
While trying to migrate some data from an old Nagios server to a new one, all of Nagios' blogs and tutorials say that you need to enable a setting "Elasticsearch Listen" to "All Interfaces." For some reason we do not have that setting on either the R1 or R2 versions, which is making the migration a bit difficult, is there any specific reason to why that setting wouldn't show up?
As a side note, I am logged into the administrator user for both versions, they are not listed in 'Global Settings' or anywhere else as I can tell.

Guides I've followed:
https://library.nagios.com/video-tutori ... sr1-nlsr2/crossy road
https://assets.nagios.com/downloads/nag ... 2024R2.pdf
While migrating data from an old Nagios server to a new one, aside from the missing "Elasticsearch Listen" setting, have you encountered any other issues? For instance, have you checked if the services related to Elasticsearch are running and properly configured on both R1 and R2 versions?
Post Reply