This is an automated email from the ASF dual-hosted git repository.
nickallen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/metron.git
The following commit(s) were added to refs/heads/master by this push:
new 12e16df METRON-2308 Fix 'Degrees' Example Profile (nickwallen) closes
apache/metron#1555
12e16df is described below
commit 12e16df4c340be169ff0d0190c732948fdcd2e44
Author: nickwallen <[email protected]>
AuthorDate: Wed Nov 13 10:06:30 2019 -0500
METRON-2308 Fix 'Degrees' Example Profile (nickwallen) closes
apache/metron#1555
---
metron-analytics/metron-profiler-common/README.md | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/metron-analytics/metron-profiler-common/README.md
b/metron-analytics/metron-profiler-common/README.md
index fe4c2ed..5841efc 100644
--- a/metron-analytics/metron-profiler-common/README.md
+++ b/metron-analytics/metron-profiler-common/README.md
@@ -363,15 +363,17 @@ This profile captures the vertex degree of a host. If you
view network communica
"profile": "in-degrees",
"onlyif": "source.type == 'yaf'",
"foreach": "ip_dst_addr",
- "update": { "in": "HLLP_ADD(in, ip_src_addr)" },
- "result": "HLLP_CARDINALITY(in)"
+ "init": { "estimator": "HLLP_INIT()" },
+ "update": { "estimator": "HLLP_ADD(estimator, ip_src_addr)" },
+ "result": "HLLP_CARDINALITY(estimator)"
},
{
"profile": "out-degrees",
"onlyif": "source.type == 'yaf'",
"foreach": "ip_src_addr",
- "update": { "out": "HLLP_ADD(out, ip_dst_addr)" },
- "result": "HLLP_CARDINALITY(out)"
+ "init": { "estimator": "HLLP_INIT()" },
+ "update": { "estimator": "HLLP_ADD(estimator, ip_dst_addr)" },
+ "result": "HLLP_CARDINALITY(estimator)"
}
]
}