METRON-2308 Fix 'Degrees' Example Profile (nickwallen) closes apache/metron#1555
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 @@
"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)"
}
]
}