Skip to content

Commit

Permalink
ignore_above default to 8191 for logsdb (#113442) (#116122)
Browse files Browse the repository at this point in the history
(cherry picked from commit 521e434)
  • Loading branch information
lkts authored Nov 2, 2024
1 parent ee86b65 commit 06d003b
Showing 1 changed file with 9 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -705,6 +705,7 @@ logsdb with default ignore dynamic beyond limit and default sorting:
body:
query:
match_all: {}
sort: "@timestamp"

- match: { hits.total.value: 2 }
- match: { hits.hits.0._source.name: "bar" }
Expand Down Expand Up @@ -766,15 +767,16 @@ logsdb with default ignore dynamic beyond limit and non-default sorting:
body:
query:
match_all: {}
sort: "@timestamp"

- match: { hits.total.value: 2 }
- match: { hits.hits.0._source.name: "foo" }
- match: { hits.hits.0._source.value: 10 }
- match: { hits.hits.0._source.message: "the quick brown fox" }
- match: { hits.hits.0._source.name: "bar" }
- match: { hits.hits.0._source.value: 20 }
- match: { hits.hits.0._source.message: "jumps over the lazy dog" }
- match: { hits.hits.0._ignored: [ "host", "message", "pid", "region", "value" ] }
- match: { hits.hits.1._source.name: "bar" }
- match: { hits.hits.1._source.value: 20 }
- match: { hits.hits.1._source.message: "jumps over the lazy dog" }
- match: { hits.hits.1._source.name: "foo" }
- match: { hits.hits.1._source.value: 10 }
- match: { hits.hits.1._source.message: "the quick brown fox" }
- match: { hits.hits.1._ignored: [ "host", "message", "pid", "region", "value" ] }

---
Expand Down Expand Up @@ -871,6 +873,7 @@ logsdb with default ignore dynamic beyond limit and subobjects false:
body:
query:
match_all: {}
sort: "@timestamp"

- match: { hits.total.value: 2 }
- match: { hits.hits.0._source.name: "bar" }
Expand Down

0 comments on commit 06d003b

Please sign in to comment.