--immediately
argument:elasticsearchDiskSpaceMB
will scale automatically based on the disk space available to Elasticsearch in Kubernetes./opt/stackstate/etc/kafka-to-es/application.conf
using the parameters described below.elasticsearchDiskSpaceMB
400000
splittingStrategy
"days"
maxIndicesRetained
30
splittingStrategy
governs how long historical data will be kept in Elasticsearch.diskSpaceWeight
elasticsearchDiskSpaceMB
. If set to 0
then no disk space will be allocated to the index. See the disk space weight examples below.replicas
0
Kubernetes: 1
diskSpaceWeight
configuration parameter to adjust how available disk space is allocated across Elasticsearch index groups. This is helpful if, for example, you expect a lot of data to arrive in a single index. Below are some examples of disk space weight configuration.diskSpaceWeight
to 0 will result in no disk space being allocated to an index group. For example, if you are not going to use traces, then you can stop reserving disk space for this index group and make it available to other index groups with the setting:elasticsearchDiskSpaceMB
) will be allocated to index groups proportionally based on their configured diskSpaceWeight
. Disk space will be allocated to each index group according to the formula below, this will then be shared between the indices in the index group:elasticsearchDiskSpaceMB = 300000
, disk space would be allocated to the index groups and indexes be as follows:kafkaMetricsToES.elasticsearch.index {
diskSpaceWeight = 0
maxIndicesRetained = 20
}
kafkaMultiMetricsToES.elasticsearch.index {
diskSpaceWeight = 1
maxIndicesRetained = 20
}
kafkaGenericEventsToES.elasticsearch.index{
diskSpaceWeight = 2
maxIndicesRetained = 20
}
kafkaTopologyEventsToES.elasticsearch.index{
diskSpaceWeight = 3
maxIndicesRetained = 20
}
kafkaStateEventsToES.elasticsearch.index{
diskSpaceWeight = 4
maxIndicesRetained = 20
}
kafkaStsEventsToES.elasticsearch.index{
diskSpaceWeight = 5
maxIndicesRetained = 20
}
kafkaTraceToES.elasticsearch.index{
diskSpaceWeight = 0
maxIndicesRetained = 20
}