title: elasticsearch query to get records between particular date using curl
body: <pre><code>curl -X GET 'http://xxx.xxx.x.xx:9200/upslinklog/upslinklog/_search?pretty' -d '{
      "query": {
          "filtered": {
              "query": {
                  "match_all": {}
              },
              "filter": {
                  "range": {
                      "logTimestamp": {
                          "gte": "2017/05/17", 
              "lte":"2017/05/18"
                  "format": "yyyy/mm/dd"
                      }
                  }
              }
  
      }
  }
  '
  </code></pre>
  
  <p>I want to records after 17/5/2017.Above query code gave all the records rather than some. How to do range query for filtered data</p>