[Reporting/CSV Export] Error when paging with an invalid search_after
value
#199850
Labels
Feature:Reporting:CSV
Reporting issues pertaining to CSV file export
Team:SharedUX
Team label for AppEx-SharedUX (formerly Global Experience)
Description
CSV Export uses a point-in-time context to page through the data needed to export. When retrieving any page of data after the first page, the export mechanism adds a
search_after
field to the query, which is set to the last sort value from the previous page of results.If the sort field is absent from some of the indices, the value of the
search_after
field may automatically become9223372036854776000
. Using this value in thesearch_after
field causes Elasticsearch to return an error:Steps to reproduce
xpack.reporting.csv.scroll.size: 1
test
that does NOT use a time field.Result:
search_after
worked)The text was updated successfully, but these errors were encountered: