You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@metron.apache.org by "Casey Stella (JIRA)" <ji...@apache.org> on 2016/09/27 15:00:24 UTC

[jira] [Updated] (METRON-372) Enhance Statistical Operations Available for Use with the Profiler

     [ https://issues.apache.org/jira/browse/METRON-372?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Casey Stella updated METRON-372:
--------------------------------
    Fix Version/s: 0.2.1BETA

> Enhance Statistical Operations Available for Use with the Profiler
> ------------------------------------------------------------------
>
>                 Key: METRON-372
>                 URL: https://issues.apache.org/jira/browse/METRON-372
>             Project: Metron
>          Issue Type: Improvement
>            Reporter: Nick Allen
>            Assignee: Nick Allen
>             Fix For: 0.2.1BETA
>
>
> Only basic math functions are currently available in Stellar for use with the Profiler.  This makes life difficult for users to create even basic profiles like a running average.  This can be seen in this example where the average must be calculated manually in Stellar.
> ```
> {
>   "profile": "example3",
>   "foreach": "ip_src_addr",
>   "onlyif": "protocol == 'HTTP'",
>   "init": {
>     "sum": 0.0,
>     "cnt": 0.0
>   },
>   "update": {
>     "sum": "sum + resp_body_len",
>     "cnt": "cnt + 1"
>   },
>   "result": "sum / cnt"
> }
> ```
> Make it easier for users to create basic profiles like a running average.  Also, ddd additional summary functions to Stellar to extend the capabilities of the Profiler.  The following summary functions are targeted; min, max, mean, geometric mean, count, sum, sum of squares, standard deviation, variance



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)