I did the recalculate index range under the maintenance tab on the default index and it resolved the issue.
Can you explain or point me to some resources so that I can understand how recalculating the index solves the issue. How do elasticsearch indexes lose their time range?
Graylog uses Elasticsearch via the REST API - it can happen that it is not able to hold the data about the range of one index for multiple reasons.
The best indicator is when the index range is written from 1.1.1970 to some day in the future. Then Graylog does not know what timerange can be found in what index.
We did not cover the multiple reasons and rare conditions in the documentation yet.