When I try to go to my System->Indices->(indexID page) I get a 500 Internal Server Error and “Fetching message count failed ofr indices [graylog2_xxxxx]” and so forth. When I use the API directly, I get the same thing:
I’ve already run ‘Recalculate Index Ranges’ twice, is there a ‘Recalculate Message Counts’ that I need to run too?
I am using ElasticSearch 2.4.6, I have not upgraded to ElasticSearch 5.2 yet. Do I need to do so in order for my index counts (and indexing in general) to work right?
Yep. That did it. Configured my elasticsearch cluster with
http.max_initial_line_length: 64k
in the config file and now I get my index listing. I didn’t even think of looking at the Elasticsearch log because surely an error would appear in the Graylog log saying it couldn’t make an Elasticsearch call if it couldn’t make an Elasticsearch call, right? (Nope).