Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

dau 쿼리

Code Block
themeEmacs
{
  "aggs": {
    "1": {
      "cardinality": {
        "field": "fingerPrint.keyword"
      }
    }
  },
  "size": 0,
  "stored_fields": [
    "*"
  ],
  "script_fields": {},
  "docvalue_fields": [
    {
      "field": "updateTime",
      "format": "date_time"
    }
  ],
  "_source": {
    "excludes": []
  },
  "query": {
    "bool": {
      "must": [],
      "filter": [
        {
          "match_all": {}
        },
        {
          "range": {
            "updateTime": {
              "gte": "now-1d/d",
              "lte": "now/d",
              "format": "strict_date_optional_time"
            }
          }
        }
      ],
      "should": [],
      "must_not": []
    }
  }
}