elasticsearch query traceID -
i put data elasticsearch through logstash. run first command:
curl 'http://localhost:9200/_search?q=traceid=1428074818422&pretty=true'
the elasticsearch return result traceid 1428074818422.
but when use second command:
curl 'http://localhost:9200/_search?pretty=true' -d'{ "query":{ "term" : {"traceid" : "1428074818422"} } }'
the elastcsearch can not find result.
i want kown reason problem , how can solve it,thanks.
Comments
Post a Comment