Repository: metron
Updated Branches:
  refs/heads/master e31ed2f7d -> 1e9acc72e


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/master
Commit: 1e9acc72e3642c372cb84cab52fee91e96276e22
Parents: e31ed2f
Author: mmiklavc <[email protected]>
Authored: Mon Jun 5 17:11:08 2017 -0400
Committer: Michael Miklavcic <[email protected]>
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

Reply via email to