Hey Lukas,

thanks for reporting this. Could you please open an issue on github for this? 
(https://github.com/Graylog2/graylog2-server/issues/new)
We will investigate if this is a bug and possibly provide a fix for this.

Kr,
        D.

> On 30.05.2016, at 10:46, Lukas Fenner <[email protected]> wrote:
> 
> Hello All,
> 
> Im running on Graylog Server 2.0.2 with ES 2.3.3.
> 
> When i try to get 5 Messages with offset 10000 it fails with error:
> 
> {
>   "
> query": "facility:TEST"
> ,
>   "
> begin_column": null
> ,
>   "
> begin_line": null
> ,
>   "
> end_column": null
> ,
>   "
> end_line": null
> ,
>   "
> message": "Unable to execute search"
> ,
>   "
> exception_name": 
> "org.elasticsearch.action.search.SearchPhaseExecutionException"
> 
> }
> 
> 
> In graylog this error can be found in logfiles:
> WARN  [SearchResource] Unable to execute search: all shards failed
> 
> When i try the same search with offset 9995 im getting 5 Messages, so  the 
> error occurs exactly at 10000 Messages, thats why i guess its this setting 
> from elasticsearch:
> https://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-from-size.html
> 
> The Api call is successful if requested as text/csv.
> 
> Is there a way to get a configurable part from the result set over 10000? The 
> goal is to implement a log list in a web application, whenever the user is 
> klicking next page, the next n events should be shown. 
> Maybe there is also a better way to go?
> 
> Cheers,
> Lukas
> 
> 
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Graylog Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/graylog2/82fb9b8c-2096-4e47-83af-2395591c1130%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

--
Tel.: +49 (0)40 609 452 077
Fax.: +49 (0)40 609 452 078

TORCH GmbH - A Graylog company
Poolstrasse 21
20355 Hamburg
Germany

Commercial Reg. (Registergericht): Amtsgericht Hamburg, HRB 125175
Geschäftsführer: Lennart Koopmann (CEO)

-- 
You received this message because you are subscribed to the Google Groups 
"Graylog Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/graylog2/2D633CE1-F411-49EB-A92F-893E2F023480%40graylog.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to