44 lines
698 B
JSON
44 lines
698 B
JSON
{
|
|
"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"
|
|
}
|
|
},
|
|
{
|
|
"log.offset": {
|
|
"order": "desc"
|
|
}
|
|
}
|
|
],
|
|
"search_after": [
|
|
9999934,
|
|
1572449784442
|
|
],
|
|
"_source": [
|
|
"@timestamp",
|
|
"message",
|
|
"kubernetes.pod.name"
|
|
],
|
|
"size": 500
|
|
}
|