Difference: QueryFile (1 vs. 3)

Revision 32016-07-19 - rsobie

Line: 1 to 1
 
META TOPICPARENT name="BenchMarks"
To change the date requirement use echo $((`date +%s` - 86400))
Added:
>
>
Note that the query requires JSON time (multiply unix time by 1000)
 

Revision 22016-07-19 - rsobie

Line: 1 to 1
 
META TOPICPARENT name="BenchMarks"
Added:
>
>
To change the date requirement use echo $((`date +%s` - 86400))
 
{
  "size": 50000,

Revision 12016-07-19 - rsobie

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="BenchMarks"
{
  "size": 50000,
  "sort": {
    "@timestamp": "desc"
  },
  "query": {
    "filtered": {
      "query": {
        "query_string": {
          "query": "uvic",
          "analyze_wildcard": true
        }
      },
      "filter": {
        "bool": {
          "must": [
            {
              "range": {
                "@timestamp": {
                  "gte": 1463640579758
                }
              }
            }
          ],
          "must_not": []
        }
      }
    }
  }
}
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback