Skip to content

Commit

Permalink
Set shard count to 1 in all default configs (#10430)
Browse files Browse the repository at this point in the history
* Set shard count to 1 in all default configs
* Added the shards settings explicitelly to functionbeat and journalbeat
  • Loading branch information
tsg committed Jan 31, 2019
1 parent db8a647 commit ed2c8d5
Show file tree
Hide file tree
Showing 15 changed files with 42 additions and 10 deletions.
2 changes: 1 addition & 1 deletion auditbeat/_meta/common.p2.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

#==================== Elasticsearch template setting ==========================
setup.template.settings:
index.number_of_shards: 3
index.number_of_shards: 1
#index.codec: best_compression
#_source.enabled: false
2 changes: 1 addition & 1 deletion auditbeat/auditbeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ auditbeat.modules:

#==================== Elasticsearch template setting ==========================
setup.template.settings:
index.number_of_shards: 3
index.number_of_shards: 1
#index.codec: best_compression
#_source.enabled: false

Expand Down
2 changes: 1 addition & 1 deletion filebeat/_meta/common.p2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,6 @@ filebeat.config.modules:
#==================== Elasticsearch template setting ==========================

setup.template.settings:
index.number_of_shards: 3
index.number_of_shards: 1
#index.codec: best_compression
#_source.enabled: false
2 changes: 1 addition & 1 deletion filebeat/filebeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ filebeat.config.modules:
#==================== Elasticsearch template setting ==========================

setup.template.settings:
index.number_of_shards: 3
index.number_of_shards: 1
#index.codec: best_compression
#_source.enabled: false

Expand Down
6 changes: 6 additions & 0 deletions journalbeat/_meta/beat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,9 @@ journalbeat.inputs:
# Name of the registry file. If a relative path is used, it is considered relative to the
# data path.
#registry_file: registry

#==================== Elasticsearch template setting ==========================
setup.template.settings:
index.number_of_shards: 1
#index.codec: best_compression
#_source.enabled: false
6 changes: 6 additions & 0 deletions journalbeat/journalbeat.reference.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,12 @@ journalbeat.inputs:
# data path.
#registry_file: registry

#==================== Elasticsearch template setting ==========================
setup.template.settings:
index.number_of_shards: 1
#index.codec: best_compression
#_source.enabled: false

#================================ General ======================================

# The name of the shipper that publishes the network data. It can be used to group
Expand Down
6 changes: 6 additions & 0 deletions journalbeat/journalbeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,12 @@ journalbeat.inputs:
# data path.
#registry_file: registry

#==================== Elasticsearch template setting ==========================
setup.template.settings:
index.number_of_shards: 1
#index.codec: best_compression
#_source.enabled: false

#================================ General =====================================

# The name of the shipper that publishes the network data. It can be used to group
Expand Down
2 changes: 1 addition & 1 deletion packetbeat/_meta/beat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,6 @@ packetbeat.protocols:
#==================== Elasticsearch template setting ==========================

setup.template.settings:
index.number_of_shards: 3
index.number_of_shards: 1
#index.codec: best_compression
#_source.enabled: false
2 changes: 1 addition & 1 deletion packetbeat/packetbeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ packetbeat.protocols:
#==================== Elasticsearch template setting ==========================

setup.template.settings:
index.number_of_shards: 3
index.number_of_shards: 1
#index.codec: best_compression
#_source.enabled: false

Expand Down
2 changes: 1 addition & 1 deletion winlogbeat/_meta/beat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ winlogbeat.event_logs:
#==================== Elasticsearch template setting ==========================

setup.template.settings:
index.number_of_shards: 3
index.number_of_shards: 1
#index.codec: best_compression
#_source.enabled: false
2 changes: 1 addition & 1 deletion winlogbeat/winlogbeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ winlogbeat.event_logs:
#==================== Elasticsearch template setting ==========================

setup.template.settings:
index.number_of_shards: 3
index.number_of_shards: 1
#index.codec: best_compression
#_source.enabled: false

Expand Down
2 changes: 1 addition & 1 deletion x-pack/auditbeat/auditbeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ auditbeat.modules:

#==================== Elasticsearch template setting ==========================
setup.template.settings:
index.number_of_shards: 3
index.number_of_shards: 1
#index.codec: best_compression
#_source.enabled: false

Expand Down
2 changes: 1 addition & 1 deletion x-pack/filebeat/filebeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ filebeat.config.modules:
#==================== Elasticsearch template setting ==========================

setup.template.settings:
index.number_of_shards: 3
index.number_of_shards: 1
#index.codec: best_compression
#_source.enabled: false

Expand Down
7 changes: 7 additions & 0 deletions x-pack/functionbeat/_meta/beat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,3 +144,10 @@ functionbeat.provider.aws.functions:
# Starting position is where to start reading events from the Kinesis stream.
# Default is trim_horizon.
#starting_position: "trim_horizon"

#==================== Elasticsearch template setting ==========================

setup.template.settings:
index.number_of_shards: 1
#index.codec: best_compression
#_source.enabled: false
7 changes: 7 additions & 0 deletions x-pack/functionbeat/functionbeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,13 @@ functionbeat.provider.aws.functions:
# Default is trim_horizon.
#starting_position: "trim_horizon"

#==================== Elasticsearch template setting ==========================

setup.template.settings:
index.number_of_shards: 1
#index.codec: best_compression
#_source.enabled: false

#================================ General =====================================

# The name of the shipper that publishes the network data. It can be used to group
Expand Down

0 comments on commit ed2c8d5

Please sign in to comment.