You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@metron.apache.org by ma...@apache.org on 2017/06/26 17:27:23 UTC
[02/18] metron git commit: METRON-977: metron-statistics enrichment
example uses old indexing syntax (mmiklavc) closes apache/metron#601
METRON-977: metron-statistics enrichment example uses old indexing syntax (mmiklavc) closes apache/metron#601
Project: http://git-wip-us.apache.org/repos/asf/metron/repo
Commit: http://git-wip-us.apache.org/repos/asf/metron/commit/1e9acc72
Tree: http://git-wip-us.apache.org/repos/asf/metron/tree/1e9acc72
Diff: http://git-wip-us.apache.org/repos/asf/metron/diff/1e9acc72
Branch: refs/heads/Metron_0.4.0
Commit: 1e9acc72e3642c372cb84cab52fee91e96276e22
Parents: e31ed2f
Author: mmiklavc <mi...@gmail.com>
Authored: Mon Jun 5 17:11:08 2017 -0400
Committer: Michael Miklavcic <mi...@gmail.com>
Committed: Mon Jun 5 17:11:08 2017 -0400
----------------------------------------------------------------------
metron-analytics/metron-statistics/README.md | 19 +++++++++++++++++--
1 file changed, 17 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/metron/blob/1e9acc72/metron-analytics/metron-statistics/README.md
----------------------------------------------------------------------
diff --git a/metron-analytics/metron-statistics/README.md b/metron-analytics/metron-statistics/README.md
index 74e78b0..f822845 100644
--- a/metron-analytics/metron-statistics/README.md
+++ b/metron-analytics/metron-statistics/README.md
@@ -334,8 +334,6 @@ Create the following in
```
{
- "index": "mad",
- "batchSize": 1,
"enrichment": {
"fieldMap": {
"stellar" : {
@@ -364,6 +362,23 @@ PROFILE_GET( 'sketchy_mad', 'global', PROFILE_FIXED(10, 'MINUTES')) ), value)"
}
```
+We also need an indexing configuration. Create the following in
+`$METRON_HOME/config/zookeeper/indexing/mad.json`:
+```
+{
+ "hdfs" : {
+ "index": "mad",
+ "batchSize": 1,
+ "enabled" : true
+ },
+ "elasticsearch" : {
+ "index": "mad",
+ "batchSize": 1,
+ "enabled" : true
+ }
+}
+```
+
#### The Profiler
We can set up the profiler to track the MAD statistical state required