For some reason, Elasticsearch keeps ending up in red status, and I have to
restart to get it working again. As far as I can tell, restarting
elasticsearch doesn't loose any data. As I've Googled and troubleshooted my
way around, I ran into the fact that Elasticsearch thinks I have two nodes.
Which makes no sense, since I only ever built one, and I'm sure no one else
here at work has either.
Here's the list of nodes ES thinks I have:
curl -XGET 'http://localhost:9200/_cluster/nodes?pretty=true'
{
"ok" : true,
"cluster_name" : "logstash-webservices",
"nodes" : {
"uy9_TOOlQU2cavfcZ7NOUw" : {
"name" : "Kragoff, Ivan",
"transport_address" : "inet[/10.225.0.82:9300]",
"hostname" : "log-indexer-01",
"version" : "0.90.3",
"attributes" : {
"client" : "true",
"data" : "false"
}
},
"TwqGueloQtyRTrrEVF5H-A" : {
"name" : "Arabian Knight",
"transport_address" : "inet[/10.225.0.84:9300]",
"hostname" : "log-elasticsearch-01",
"version" : "0.90.3",
"http_address" : "inet[/10.225.0.84:9200]"
}
}
}
log-elasticsearch-01 is my elasticsearch server. log-indexer-01 is the
server running my central logstash instance. It does not have ES installed
on it.
I tried "curl -XPOST
'http://localhost:9200/_cluster/nodes/uy9_TOOlQU2cavfcZ7NOUw/_shutdown'",
but ES dropped back into red a couple times, I restarted a couple times,
and log-indexer-01 is showing up as a node again.
Is there something about logstash that registers it as a node? Could the
fact that the logstash indexer doesn't have ES on it be why ES keeps going
into red status?
Also, is there a good overview of ES written somewhere that would give me
the background knowledge I need to really understand the docs (
Elasticsearch Platform — Find real-time answers at scale | Elastic)?
--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.