@@ -705,6 +705,7 @@ logsdb with default ignore dynamic beyond limit and default sorting:
705705 body :
706706 query :
707707 match_all : {}
708+ sort : " @timestamp"
708709
709710 - match : { hits.total.value: 2 }
710711 - match : { hits.hits.0._source.name: "bar" }
@@ -766,15 +767,16 @@ logsdb with default ignore dynamic beyond limit and non-default sorting:
766767 body :
767768 query :
768769 match_all : {}
770+ sort : " @timestamp"
769771
770772 - match : { hits.total.value: 2 }
771- - match : { hits.hits.0._source.name: "foo " }
772- - match : { hits.hits.0._source.value: 10 }
773- - match : { hits.hits.0._source.message: "the quick brown fox " }
773+ - match : { hits.hits.0._source.name: "bar " }
774+ - match : { hits.hits.0._source.value: 20 }
775+ - match : { hits.hits.0._source.message: "jumps over the lazy dog " }
774776 - match : { hits.hits.0._ignored: [ "host", "message", "pid", "region", "value" ] }
775- - match : { hits.hits.1._source.name: "bar " }
776- - match : { hits.hits.1._source.value: 20 }
777- - match : { hits.hits.1._source.message: "jumps over the lazy dog " }
777+ - match : { hits.hits.1._source.name: "foo " }
778+ - match : { hits.hits.1._source.value: 10 }
779+ - match : { hits.hits.1._source.message: "the quick brown fox " }
778780 - match : { hits.hits.1._ignored: [ "host", "message", "pid", "region", "value" ] }
779781
780782---
@@ -871,6 +873,7 @@ logsdb with default ignore dynamic beyond limit and subobjects false:
871873 body :
872874 query :
873875 match_all : {}
876+ sort : " @timestamp"
874877
875878 - match : { hits.total.value: 2 }
876879 - match : { hits.hits.0._source.name: "bar" }
0 commit comments