ElasticSearch URL request, can't access to an object and his variable

Here's my problem, I have got a JSON flow coming on ElasticSearch which has this kind of form :

And I'd like to do a request like this for example:

/.../_search?q=lat: ["48" TO "49"]

This work with every member in _source expect the lat;lon in Start and End, but nothing to do, I just don't know how to access End and Start variable

For example if I want to get all JSON object in a specified date i do this request: /_search?q=timestamp: ["2018-02-23T09:05:30" TO "2018-02-23T09:07:30"] For a 2 minute time laps.

I tried thing like : /.../_search?q=end.lat: ["48" TO "49"] etc..

Sorry if my english is bad, and also I'm new on JSON and elastic I've discovered it last week, for your information I do know Query DSL, I tried it I felt like URL request was easier to use.

Hope you've got some idea, if something isn't clear just tell me, thanks for your help

best regards,

Bonjour :slight_smile:

Please don't post images of text as they are hardly readable and not searchable.

Instead paste the text and format it with </> icon. Check the preview window.

Could you provide a full recreation script as described in About the Elasticsearch category. It will help to better understand what you are doing. Please, try to keep the example as simple as possible.

A full reproduction script will help readers to understand, reproduce and if needed fix your problem. It will also most likely help to get a faster answer.

Also note that you have this forum in french as well if you are not confortable with english (but you look confortable IMO): #in-your-native-tongue:discussions-en-francais

Thanks for your answer !:smiley:
I'll take care of what you said.
Going to delete this post and put it in the french forum part, with some modification then.
EDIT : If i found how to delete my post

Bye,

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.