Skip to content

Commit

Permalink
set default shard cnt to 1
Browse files Browse the repository at this point in the history
Signed-off-by: tmanninger <[email protected]>
  • Loading branch information
tmanninger committed Sep 24, 2024
1 parent ce29c8f commit 4aa65c0
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 @@ -1620,7 +1620,7 @@ public List<Setting<?>> getSettings() {
Setting.intSetting(
ConfigConstants.SECURITY_AUDIT_CONFIG_DEFAULT_PREFIX
+ ConfigConstants.SECURITY_AUDIT_OPENSEARCH_DATASTREAM_TEMPLATE_NUMBER_OF_SHARDS,
3,
1,
Property.NodeScope,
Property.Filtered
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ private boolean initDataStream() {
);
final Integer numberOfShards = sinkSettings.getAsInt(
ConfigConstants.SECURITY_AUDIT_OPENSEARCH_DATASTREAM_TEMPLATE_NUMBER_OF_SHARDS,
3
1
);

ComposableIndexTemplate template = new ComposableIndexTemplate(
Expand Down

0 comments on commit 4aa65c0

Please sign in to comment.