Unable to start Elasticsearch Database & Logstash Collector

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
bosecorp
Posts: 929
Joined: Thu Jun 26, 2014 1:00 pm

Unable to start Elasticsearch Database & Logstash Collector

Post by bosecorp »

I am unable to start the elasticsearch and logstash

here is the error I am getting




In addition, when I try to check the cluster statis, I get a 500 error
You do not have the required permissions to view the files attached to this post.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Unable to start Elasticsearch Database & Logstash Colle

Post by Box293 »

Can you please run these commands on one of your nodes:

Code: Select all

tail /var/log/logstash/*.log -n 100 > /tmp/logstash_logs.txt
tail /var/log/elasticsearch/*.log -n 100 > /tmp/elasticsearch_logs.txt
Then send through these files:
/tmp/logstash_logs.txt
/tmp/elasticsearch_logs.txt
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
bosecorp
Posts: 929
Joined: Thu Jun 26, 2014 1:00 pm

Re: Unable to start Elasticsearch Database & Logstash Colle

Post by bosecorp »

here you go

and by the way, I tried rebooting the server, and it did;t help
You do not have the required permissions to view the files attached to this post.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Unable to start Elasticsearch Database & Logstash Colle

Post by Box293 »

What is the output of these commands:

Code: Select all

curl -XGET 'http://localhost:9200/_cluster/health?pretty=true'
curl -XGET 'http://localhost:9200/_cat/shards?v'
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
bosecorp
Posts: 929
Joined: Thu Jun 26, 2014 1:00 pm

Re: Unable to start Elasticsearch Database & Logstash Colle

Post by bosecorp »

here you go

# curl -XGET 'http://localhost:9200/_cluster/health?pretty=true'
{
"cluster_name" : "be1634c9-ce99-4b4c-b458-1449ec38cbf8",
"status" : "red",
"timed_out" : false,
"number_of_nodes" : 4,
"number_of_data_nodes" : 4,
"active_primary_shards" : 923,
"active_shards" : 1846,
"relocating_shards" : 0,
"initializing_shards" : 0,
"unassigned_shards" : 46
}
bosecorp
Posts: 929
Joined: Thu Jun 26, 2014 1:00 pm

Re: Unable to start Elasticsearch Database & Logstash Colle

Post by bosecorp »

how do I run the cluster command
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Unable to start Elasticsearch Database & Logstash Colle

Post by Box293 »

It's this command:

Code: Select all

curl -XGET 'http://localhost:9200/_cluster/health?pretty=true'
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
bosecorp
Posts: 929
Joined: Thu Jun 26, 2014 1:00 pm

Re: Unable to start Elasticsearch Database & Logstash Colle

Post by bosecorp »

# curl -XGET 'http://localhost:9200/_cluster/health?pretty=true'
{
"cluster_name" : "be1634c9-ce99-4b4c-b458-1449ec38cbf8",
"status" : "red",
"timed_out" : false,
"number_of_nodes" : 4,
"number_of_data_nodes" : 4,
"active_primary_shards" : 933,
"active_shards" : 1442,
"relocating_shards" : 0,
"initializing_shards" : 4,
"unassigned_shards" : 466
}
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Unable to start Elasticsearch Database & Logstash Colle

Post by Box293 »

I think we should take this into a support ticket so we can help you through a remote session.

Please send an email to [email protected] referencing this forum thread and we'll take it from there. Reply to this thread when you have done this so we can confirm we received the email.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
bosecorp
Posts: 929
Joined: Thu Jun 26, 2014 1:00 pm

Re: Unable to start Elasticsearch Database & Logstash Colle

Post by bosecorp »

I have sent the email you asked.
Locked