metron-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mmiklav...@apache.org
Subject metron git commit: METRON-977: metron-statistics enrichment example uses old indexing syntax (mmiklavc) closes apache/metron#601
Date Mon, 05 Jun 2017 21:12:01 GMT
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 <michael.miklavcic@gmail.com>
Authored: Mon Jun 5 17:11:08 2017 -0400
Committer: Michael Miklavcic <michael.miklavcic@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


Mime
View raw message