Why do you have 3 nodes, but only 1 data node? If you are starting out with Elasticsearch, I would recommend starting with a single node with default configuration. Just because you can have dedicated node types does not mean you should.
Ideally its suppose to be if any one node goes down the other node can replace it.I am new to this area.If I am wrong please guide me.Previously with elasticsearch 5.6.3 it was working fine.
If you are looking for high availability you should set up 3 nodes with default configuration (are master eligible and can hold data). Make sure they can connect to each other and set minimum_master_nodes to 2 according to these guidelines to avoid split-brain scenarios. Configure indices to have at least 1 replica so you have a copy of each shard even if one node is lost.
The issue is that the status is red, which prevents you from making any changes. If we can see the configuration files we may be able to identify why it is red in the first place.
Still i am not able to craete logstash index
PUT /logstash-2015.05.18
{
"mappings": {
"log": {
"properties": {
"geo": {
"properties": {
"coordinates": {
"type": "geo_point"
}
}
}
}
}
}
}
response
{
"error": {
"root_cause": [
{
"type": "mapper_parsing_exception",
"reason": "[include_in_all] is not allowed for indices created on or after version 6.0.0 as [_all] is deprecated. As a replacement, you can use an [copy_to] on mapping fields to create your own catch all field."
}
],
"type": "mapper_parsing_exception",
"reason": "Failed to parse mapping [default]: [include_in_all] is not allowed for indices created on or after version 6.0.0 as [_all] is deprecated. As a replacement, you can use an [copy_to] on mapping fields to create your own catch all field.",
"caused_by": {
"type": "mapper_parsing_exception",
"reason": "[include_in_all] is not allowed for indices created on or after version 6.0.0 as [_all] is deprecated. As a replacement, you can use an [copy_to] on mapping fields to create your own catch all field."
}
},
"status": 400
}
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.