{
"timestamp": "26.01.2018",
"status": 500,
"error": "Internal Server Error",
"exception": "org.elasticsearch.ElasticsearchStatusException",
"message": "Elasticsearch exception [type=illegal_argument_exception, reason=[location] is defined as an object in mapping [logs_info] but this name is already used for a field in other types]",
"path": "/api/saveLogs"
}
Right know I don't have any indexes in my ES, deleted all.
What it can be?
health status index uuid pri rep docs.count docs.deleted store.size pri.store.size
green open .kibana mXFRna9FRm2_1p9mzT4LeA 1 1 4 0 35.1kb 17.5kb
green open portal-logs-26.01.2018 Uyxwau6vRiGaU2ovJwfjMg 5 1 0 0 2.2kb 1.1kb
Ok, I think the problem is that in your mapping your type is named ENTRY and in your code you're using logs_info. Try changing ENTRY to logs_info in your mapping, recreate your index and try again.
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.