2020-03-12 20:09:34 -04:00
|
|
|
{
|
|
|
|
"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"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
2020-04-21 11:21:10 -04:00
|
|
|
"log.offset": {
|
2020-03-12 20:09:34 -04:00
|
|
|
"order": "desc"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"search_after": [
|
|
|
|
9999934,
|
|
|
|
1572449784442
|
|
|
|
],
|
|
|
|
"_source": [
|
|
|
|
"@timestamp",
|
2020-03-17 23:09:43 -04:00
|
|
|
"message",
|
|
|
|
"kubernetes.pod.name"
|
2020-03-12 20:09:34 -04:00
|
|
|
],
|
|
|
|
"size": 500
|
|
|
|
}
|