Skip to content

Commit

Permalink
3 shards for tasks, alerting and event log
Browse files Browse the repository at this point in the history
  • Loading branch information
mikecote committed Sep 24, 2024
1 parent 73751e5 commit 2a96804
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ export const DEFAULT_TIMEOUT = '300s';
/** Allocate 1 replica if there are enough data nodes, otherwise continue with 0 */
export const INDEX_AUTO_EXPAND_REPLICAS = '0-1';
/** ES rule of thumb: shards should be several GB to 10's of GB, so Kibana is unlikely to cross that limit */
export const INDEX_NUMBER_OF_SHARDS = 1;
export const INDEX_NUMBER_OF_SHARDS = 3;
/** Wait for all shards to be active before starting an operation */
export const WAIT_FOR_ALL_SHARDS_TO_BE_ACTIVE = 'all';
2 changes: 1 addition & 1 deletion x-pack/plugins/event_log/server/es/documents.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export function getIndexTemplate(esNames: EsNames) {
template: {
settings: {
hidden: true,
number_of_shards: 1,
number_of_shards: 3,
auto_expand_replicas: '0-1',
},
lifecycle: {
Expand Down

0 comments on commit 2a96804

Please sign in to comment.