I use elasticsearch-head.
The query is
{
"query": {
"term": {
"nonsense":"nonsense"
}
}
}
The result does not care about the field and value I search for. It always
gives the entire index.
{
- took: 2
- timed_out: false
- _shards: {
- total: 5
- successful: 5
- failed: 0
}
- hits: {
- total: 10
- max_score: 1
- hits: [
- {
- _index: logstash-2014.08.18
- _type: logs
- _id: SMUgTGR9R-2SVaL1GTeX9A
- _score: 1
- _source: {
- message: ..............
- @version: 1
- @timestamp: 2014-08-18T16:16:48.797Z
- host: dfwlndsrch-01.supermedia.com
- kw: area a realty
- town: South Bend
- state: IN
- ip: 198.64.136.68
- src: ve-whitepages-dt
}
}
- {
- _index: logstash-2014.08.18
- _type: logs
- _id: yWR6DC9sQ2yAqxG9FJXauw
- _score: 1
- _source: {
- message: ...........
- @version: 1
- @timestamp: 2014-08-18T16:16:48.797Z
- host: dfwlndsrch-01.supermedia.com
- kw: Doors
- town: Chicago
- state: IL
- ip: 98.213.210.163
- src: lsxppc21611
}
}
- {
- _index: logstash-2014.08.18
- _type: logs
- _id: Z_e-DQQkSv2ON1ar1WooSQ
- _score: 1
- _source: {
- message: ............
- @version: 1
- @timestamp: 2014-08-18T16:16:48.797Z
- host: dfwlndsrch-01.supermedia.com
- kw: home improvement
- town: Clarkston
- state: GA
- ip: 172.56.1.181
- src: lsxppc19735
}
}
- {
- _index: logstash-2014.08.18
- _type: logs
- _id: SibOPwAASPOuod5xRB5LLg
- _score: 1
- _source: {
- message: ..............
- @version: 1
- @timestamp: 2014-08-18T16:16:48.796Z
- host: dfwlndsrch-01.supermedia.com
- kw: Ready Mix Concrete
- town: Zephyrhills
- state: FL
- ip: 63.251.207.54
- src: comlocal5
}
}
- {
--
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/b1579846-cc31-4772-9cd2-4e7c06666019%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.