Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 8AA04200C7C for ; Mon, 5 Jun 2017 23:12:03 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 8933C160BD4; Mon, 5 Jun 2017 21:12:03 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id D03E8160BBB for ; Mon, 5 Jun 2017 23:12:02 +0200 (CEST) Received: (qmail 9997 invoked by uid 500); 5 Jun 2017 21:12:01 -0000 Mailing-List: contact commits-help@metron.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@metron.apache.org Delivered-To: mailing list commits@metron.apache.org Received: (qmail 9986 invoked by uid 99); 5 Jun 2017 21:12:01 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Jun 2017 21:12:01 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 41E36DF9AE; Mon, 5 Jun 2017 21:12:01 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: mmiklavcic@apache.org To: commits@metron.apache.org Message-Id: <93bf4cf0cbce4a688ad28ec8ba163448@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: metron git commit: METRON-977: metron-statistics enrichment example uses old indexing syntax (mmiklavc) closes apache/metron#601 Date: Mon, 5 Jun 2017 21:12:01 +0000 (UTC) archived-at: Mon, 05 Jun 2017 21:12:03 -0000 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 Authored: Mon Jun 5 17:11:08 2017 -0400 Committer: Michael Miklavcic 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