Graylog2 / Graylog2/graylog2-server

Allow 'Configure Index Set' to configure index settings for OpenSearch

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

Description

## What?

Allow 'Configure Index Set' to configure index settings for OpenSearch

two specific examples shared with us are:

* `index.unassigned.node_left.delayed_timeout` - https://www.elastic.co/guide/en/elasticsearch/reference/current/delayed-allocation.html
* `index.search.slowlog.*` - https://opensearch.org/docs/latest/install-and-configure/configuring-opensearch/logs/#search-request-slow-logs
* NOTE: the above link talks specifically about the cluster level setting, but there may be use cases where one would only want to configure slow logs from some indices but not the entire cluster

Another possible addition to this is allowing the user to provide custom JSON that is merged into the index template that graylog creates/manages. While possibly risky or difficult to validate, this would allow the greatest flexibility.

## Why?

Some more mature and advanced users have needs to define things like `index.unassigned.node_left.delayed_timeout` (to prevent a shard reassignment storm if a node is temporarily offline) and `index.search.slowlog` to better understand slow queries.

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.