Welcome to mirror list, hosted at ThFree Co, Russian Federation.

query_with_times.json « elasticsearch « lib « fixtures « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 8bb0109a053d4b66c14f7cc144e7d9f55daa5159 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{
  "query": {
    "bool": {
      "must": [
        {
          "match_phrase": {
            "kubernetes.pod.name": {
              "query": "production-6866bc8974-m4sk4"
            }
          }
        },
        {
          "match_phrase": {
            "kubernetes.namespace": {
              "query": "autodevops-deploy-9-production"
            }
          }
        }
      ],
      "filter": [
        {
          "range": {
            "@timestamp": {
              "gte": "2019-12-13T14:35:34.034Z",
              "lt": "2019-12-13T14:35:34.034Z"
            }
          }
        }
      ]
    }
  },
  "sort": [
    {
      "@timestamp": {
        "order": "desc"
      }
    },
    {
      "log.offset": {
        "order": "desc"
      }
    }
  ],
  "_source": [
    "@timestamp",
    "message",
    "kubernetes.pod.name"
  ],
  "size": 500
}