Skip to content

Commit 06d003b

Browse files
authored
ignore_above default to 8191 for logsdb (#113442) (#116122)
(cherry picked from commit 521e434)
1 parent ee86b65 commit 06d003b

File tree

1 file changed

+9
-6
lines changed
  • rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/logsdb

1 file changed

+9
-6
lines changed

rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/logsdb/10_settings.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)