Skip to content

Standard deviation aggregation may throw  #9077

@thomasneirynck

Description

@thomasneirynck

When the 'std_dev' aggregation is run from visualize, it can cause this error to be logged to the console

kibana.bundle.js?v=8467:114871 Uncaught (in promise) TypeError: agg.valProp is not a function
    at MetricAggType.getValue (https://localhost:5601/cle/bundles/kibana.bundle.js?v=8467:114871:65)
    at AggConfigFactory.AggConfig.getValue (https://localhost:5601/cle/bundles/kibana.bundle.js?v=8467:117165:23)
    at https://localhost:5601/cle/bundles/kibana.bundle.js?v=8467:188190:33
    at Array.map (native)
    at Object.callee$1$0$ (https://localhost:5601/cle/bundles/kibana.bundle.js?v=8467:188187:27)
    at tryCatch (https://localhost:5601/cle/bundles/commons.bundle.js?v=8467:56292:41)
    at GeneratorFunctionPrototype.invoke [as _invoke] (https://localhost:5601/cle/bundles/commons.bundle.js?v=8467:56559:23)
    at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (https://localhost:5601/cle/bundles/commons.bundle.js?v=8467:56325:22)
    at invoke (https://localhost:5601/cle/bundles/commons.bundle.js?v=8467:56367:38)
    at callInvokeWithMethodAndArg (https://localhost:5601/cle/bundles/commons.bundle.js?v=8467:56403:17)

Attached is a query-config for the makelogs data that triggers this:
image

Seems to trigger it in the Tagcloud (ongoing PR), but not in Datatable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Feature:VisualizationsGeneric visualization features (in case no more specific feature label is available)feedback_needed

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions