mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
Change suggestions for Sampler and Diversified sampler aggregations (#119355)
* Change suggestions for Sampler and Diversified sampler aggregations * Change suggestions for Sampler and Diversified sampler aggregations * Change suggestions for Sampler and Diversified sampler aggregations Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
b58445da8e
commit
e582c96f84
1 changed files with 7 additions and 8 deletions
|
@ -111,8 +111,13 @@ const rules = {
|
|||
filters: {},
|
||||
},
|
||||
diversified_sampler: {
|
||||
shard_size: '',
|
||||
field: '',
|
||||
shard_size: 100,
|
||||
field: '{field}',
|
||||
max_docs_per_value: 1,
|
||||
execution_hint: {
|
||||
__template: 'global_ordinals',
|
||||
__one_of: ['global_ordinals', 'map', 'bytes_hash'],
|
||||
},
|
||||
},
|
||||
min: simple_metric,
|
||||
max: simple_metric,
|
||||
|
@ -446,13 +451,7 @@ const rules = {
|
|||
},
|
||||
sampler: {
|
||||
__template: {},
|
||||
field: '{field}',
|
||||
script: {
|
||||
// populated by a global rule
|
||||
},
|
||||
shard_size: 100,
|
||||
max_docs_per_value: 3,
|
||||
execution_hint: { __one_of: ['map', 'global_ordinals', 'bytes_hash'] },
|
||||
},
|
||||
children: {
|
||||
__template: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue