Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question on Elasticsearch Tuning #122

Closed
JohnOmernik opened this issue Feb 15, 2017 · 2 comments
Closed

Question on Elasticsearch Tuning #122

JohnOmernik opened this issue Feb 15, 2017 · 2 comments
Assignees
Labels

Comments

@JohnOmernik
Copy link

Question on Elasticsearch Tuning

Request Type

Feature Request

Work Environment

NA/General Question/Feature

Problem Description

When the Elasticsearch index is created, what is the default setup for indexes (number of shards, replicas, etc). Can this be a tunable thing? For example, if I am using a ES cluster that has 4 nodes, could I ensure that I can take any node down for maintenance by increasing the number of default replicas when thehive creates its indexes for the first time?

Possible Solutions

Configuration items allowing for sane defaults and more control over creation parameters. (Also documentation on them.)

Complementary information

@To-om
Copy link
Contributor

To-om commented Feb 21, 2017

Currently, index is created using default settings (number_of_shard: 5, number_of_replicas: 1).

After index creation it is possible to update the number of replicas. I think that number of shards can't be modified without reindexing all data.

I'll add settings in TheHive configuration to specify index settings.

@To-om
Copy link
Contributor

To-om commented Feb 21, 2017

I've created an issue TheHive-Project/elastic4play#9 for that.

@To-om To-om closed this as completed Feb 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants