summaryrefslogtreecommitdiff
path: root/spec/fixtures/lib/elasticsearch/query.json
blob: 565c871b1c7ea1da79eefc679d3b92d64f3740fb (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
{
  "query": {
    "bool": {
      "must": [
        {
          "match_phrase": {
            "kubernetes.pod.name": {
              "query": "production-6866bc8974-m4sk4"
            }
          }
        },
        {
          "match_phrase": {
            "kubernetes.namespace": {
              "query": "autodevops-deploy-9-production"
            }
          }
        }
      ]
    }
  },
  "sort": [
    {
      "@timestamp": {
        "order": "desc"
      }
    },
    {
      "offset": {
        "order": "desc"
      }
    }
  ],
  "_source": [
    "@timestamp",
    "message"
  ],
  "size": 500
}