Page 1 of 1

New node added to existing cluster

Posted: Wed Aug 14, 2019 9:50 am
by rferebee
Hello,

Is there a log I can look at on my Log Server box to see if it's successfully writing data to the new node I added to my cluster?

I can see in the Cluster Status section that the cluster is attempting to relocate 2 shards, but I don't see the disk space decreasing on the new node. I'm thinking there are permissions somewhere I need to adjust, but I'm not 100% sure.

Thank you.

Re: New node added to existing cluster

Posted: Wed Aug 14, 2019 10:01 am
by mbellerue
The very first place I would check on this would be Admin -> Instance Status. But if you're not seeing any movement there, /var/log/elasticsearch/ will contain logs. The actual data gets stored at /usr/local/nagioslogserver/elasticsearch/data/.

Re: New node added to existing cluster

Posted: Wed Aug 14, 2019 10:06 am
by rferebee
It appears the server is not looking in the correct place to store the Log Server data, it should be way more than 3GB available.

Can you tell me where that variable is defined on the server?

Re: New node added to existing cluster

Posted: Wed Aug 14, 2019 10:21 am
by rferebee
I see the issue, the directory is named incorrectly.

It's just logserver when it needs to be nagioslogserver. I'll rename it and that should fix the problem.

Re: New node added to existing cluster

Posted: Wed Aug 14, 2019 11:15 am
by rferebee
After I fix the directory name, should I restart elasticsearch and logstash on the server in question?

Re: New node added to existing cluster

Posted: Wed Aug 14, 2019 12:31 pm
by rferebee
This is now resolved. You can close this thread.

The issue was the directory name.

Re: New node added to existing cluster

Posted: Thu Aug 15, 2019 7:26 am
by scottwilkerson
rferebee wrote:This is now resolved. You can close this thread.

The issue was the directory name.
Great!

Locking