I'm using ES 1.1.0.
Index has been created with fluentd (plugin fluent-plugin-elasticsearch
version 0.3.0) with directive logstash_format directive with value *true *to
be compatible with logstash.
Kibana don't show records.
With tcpump I can see requests/responses flow. All seems good but this
request don't get records.
POST /logstash-2014.03.29/_search HTTP/1.1
{"query":{"filtered":{"query":{"bool":{"should":[{"query_string":{"query":""}}]}},"filter":{"bool":{"must":[{"range":{"@timestamp":{"from":1396103643779,"to":"now"}}}]}}}},"highlight":{"fields":{},"fragment_size":2147483647,"pre_tags":["@start-highlight@"],"post_tags":["@end-highlight@"]},"size":500,"sort":[{"@timestamp":{"order":"desc"}},{"@timestamp":{"order":"desc"}}]}*
With this data returns records.
{"highlight":{"fields":{},"fragment_size":2147483647,"pre_tags":["@start-highlight@"],"post_tags":["@end-highlight@"]},"size":500,"sort":[{"@timestamp":{"order":"desc"}},{"@timestamp":{"order":"desc"}}]}
So the problems seems this.
{"query":{"filtered":{"query":{"bool":{"should":[{"query_string":{"query":""}}]}},"filter":{"bool":{"must":[{"range":{"@timestamp":{"from":1396103643779,"to":"now"}}}]}}}}}*
In fact, this don't work neither.
{"query":{"filtered":{"query":{"bool":{"should":[{"query_string":{"query":""}}]}*
In both cases response is ...
{
- "took": 5,*
- "timed_out": false,*
- "_shards": {*
-
"total": 5,*
-
"successful": 5,*
-
"failed": 0*
- },*
- "hits": {*
-
"total": 0,*
-
"max_score": null,*
-
"hits": []*
- }*
}
If send the POST /logstash-2014.03.29/_search without data ES returns
records.
What's wrong?
Thanks.
--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/0354e9ac-aa8a-4f20-935b-571747347078%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.