When the first field is equal, the second field is not equal but not compared
my query :
GET /filebeat.2018-12-20/_search
{
"size": 20,
"query": {
"bool": {
"must": [
{
"prefix": {
"source": "/var/lib/docker/containers/64a20413d8c6ff497abe357e3e265620e5f64d97ee1d2eb50501150039b5f2a1/64a20413d8c6ff497abe357e3e265620e5f64d97ee1d2eb50501150039b5f2a1-json.log"
}
}
],
"filter": {
"range": {
"@timestamp": {
"gte": "2018-12-20",
"lte": "now"
}
}
}
}
},
"sort": [
{
"@timestamp": {
"order": "asc"
}
},
{
"offset": {
"order": "asc"
}
}
]
}
the actual result:
{
...
"@timestamp":"2018-12-20T06:32:25.274Z",
"offset":1155,
...
},
{
...
"@timestamp":"2018-12-20T06:32:25.274Z",
"offset":936,
...
}
the expected result:
{
...
"@timestamp":"2018-12-20T06:32:25.274Z",
"offset":936,
...
},
{
...
"@timestamp":"2018-12-20T06:32:25.274Z",
"offset":1155,
...
}