2020-04-08 14:13:33 +05:30
|
|
|
{
|
|
|
|
"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-05-24 23:13:21 +05:30
|
|
|
"log.offset": {
|
2020-04-08 14:13:33 +05:30
|
|
|
"order": "desc"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"_source": [
|
|
|
|
"@timestamp",
|
2020-04-22 19:07:51 +05:30
|
|
|
"message",
|
|
|
|
"kubernetes.pod.name"
|
2020-04-08 14:13:33 +05:30
|
|
|
],
|
|
|
|
"size": 500
|
|
|
|
}
|