Skip to content

Scripting in histogram #692

@zixicc

Description

@zixicc

hi.
in the date_histogram, the value_script is doc['record'].value
I get the partial result

{
"time" : 1383264000000,
"count" : 1059,
"min" : 0.008,
"max" : 12.607999999998452,
"total" : 6771.335999999965,
"total_count" : 1059,
"mean" : 6.3940849858356605
}

Is there a way to get the increment of the field 'record' during the time range and show the change in the graphs?
thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions