我已经提到在 vagrant 机器中使用弹性搜索设置 graylog2 服务器,并且我拥有正确版本的 ElasticSearch。
我还按照教程为 Graylog2 和 ElasticSearch 添加了正确的选项。
ERROR: Could not successfully connect to ElasticSearch. Check that your cluster state is not RED and that ElasticSearch is running properly.
Need help?
* Official documentation: http://support.torch.sh/help/kb
* Mailing list: http://support.torch.sh/help/kb/general/forums-mailing-list
* Issue tracker: http://support.torch.sh/help/kb/general/issue-trackers
* Commercial support: http://www.torch.sh/
But we also got some specific help pages that might help you in this case:
* http://support.torch.sh/help/kb/graylog2-server/configuring-and-tuning-elasticsearch-for-graylog2-v0200
Terminating. :(
运行时仍然出现该错误:
sudo java -jar /opt/graylog2-server/graylog2-server.jar --debug
我还检查了 ElasticSearch 是否正常运行 -
central@central:~$ curl -XGET 'http://127.0.0.1:9200/_cluster/health?pretty=true'
{
"cluster_name" : "graylog2",
"status" : "green",
"timed_out" : false,
"number_of_nodes" : 1,
"number_of_data_nodes" : 1,
"active_primary_shards" : 0,
"active_shards" : 0,
"relocating_shards" : 0,
"initializing_shards" : 0,
"unassigned_shards" : 0
}
关于我应该做什么的任何建议?我不明白问题是什么。