Graylog2 / Graylog2/graylog2-server

Add rebuild/recreate default Indexes option

Open
#20,605 1 comment 2 reactions 0 assignees View on GitHub
bug triaged
Dominant language
Java
Stars
8.1k
Forks
1.1k
Avg merge
1d 20h
Merged PRs (30d)
217

Description

We recently had an issue where our indexes were accidentally deleted. For example, someone deleted everything under opensearch/nodes/0/indices. Graylog didn't work after that. It would be nice if there was an option in the UI to recreate the default OOB set of indexes.

## Expected Behavior
Add an option to recreate the default OOB set of indexes.

## Current Behavior
Graylog stops working if you delete everything under opensearch/nodes/0/indices

## Possible Solution
Add an option to recreate the default OOB set of indexes.

## Steps to Reproduce (for bugs)
Stop graylog and opensearch, delete everything under opensearch/nodes/0/indices and restart opensearch and graylog.

## Context
Not sure yet, haven't found any documentation on how to recover from this, other than reinstall.

## Your Environment

* Graylog Version: Graylog 5.2.10+c04b5a4
* Java Version: openjdk version "17.0.12"
* OpenSearch Version: Version: 2.16.0
* Operating System: RHEL 8

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.