Graylog2/graylog2-server
View on GitHubEmpty indices are incorrectly included in the search target
Open
#6,016 opened on Jun 16, 2019
bugelasticsearchgood first issuetriaged
Repository metrics
- Stars
- (6,945 stars)
- PR merge metrics
- (Avg merge 8d 19h) (297 merged PRs in 30d)
Description
Empty indices are INCORRECTLY included in the search target
Expected Behavior
Only indices with messages should be targeted
Current Behavior
Empty indices are INCORRECTLY targeted in EVERY search
Steps to Reproduce (for bugs)
- Make sure that you have at least one empty index which is NOT active write index
- Make a search using what ever settings you like
- Empty index is included in the search target



Context
Confuses user when it seems that a simple queries might seem to target multiple indices
Your Environment
- Graylog Version: 3.0.1
- Elasticsearch Version: 6.7.2
- MongoDB Version: 4.0.7
- Operating System: CentOS 7
- Browser version: Safari