Hi!
I'm facing an issue on Kibana: Looks like statistics show that a number of documents are available:
However, on the Discover
tab, it does not find any document, no matter the date range set:
No results match your search criteria
But when I perform the following query (inside the Dev Tools
tab), it find my documents:
GET myMapping/_search
{
"query": {
"match_all": {}
}
}
Result:
{
"took" : 11,
"timed_out" : false,
"_shards" : {
"total" : 9,
"successful" : 9,
"skipped" : 0,
"failed" : 0
},
"hits" : {
"total" : {
"value" : 150,
"relation" : "eq"
},
"max_score" : 1.0,
"hits" : [
{ ...
My mapping is accepted by elasticsearch, and when I setup Kibana's Index, my index and Date field are well recognized:
curl -u elastic -XPUT "https://localhost:9200/myMapping" -d @cfg/elastic/myMapping.json -H 'Content-Type: application/json' --cacert docker/ca.crt
Enter host password for user 'elastic':
{"acknowledged":true,"shards_acknowledged":true,"index":"myMapping"}
What's the problem here? How can I find what's wrong?
Thank you in advance.
Note: Im using Docker for the ELK infrastructure, and has 3 nodes. The mapping's settings is set to:
"settings": {
"index" : {
"number_of_shards" : 9,
"number_of_replicas" : 3
}
}