2020-03-11 11:09:37 -04:00
|
|
|
{
|
|
|
|
"query": {
|
|
|
|
"bool": {
|
|
|
|
"must": [
|
|
|
|
{
|
|
|
|
"match_phrase": {
|
|
|
|
"kubernetes.pod.name": {
|
|
|
|
"query": "production-6866bc8974-m4sk4"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"match_phrase": {
|
|
|
|
"kubernetes.namespace": {
|
|
|
|
"query": "autodevops-deploy-9-production"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"match_phrase": {
|
|
|
|
"kubernetes.container.name": {
|
|
|
|
"query": "auto-deploy-app"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sort": [
|
|
|
|
{
|
|
|
|
"@timestamp": {
|
|
|
|
"order": "desc"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
2020-04-21 11:21:10 -04:00
|
|
|
"log.offset": {
|
2020-03-11 11:09:37 -04:00
|
|
|
"order": "desc"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"_source": [
|
|
|
|
"@timestamp",
|
2020-03-17 23:09:43 -04:00
|
|
|
"message",
|
|
|
|
"kubernetes.pod.name"
|
2020-03-11 11:09:37 -04:00
|
|
|
],
|
|
|
|
"size": 500
|
|
|
|
}
|