METRON-1857 Fix Metaalert Nested Alert Field Name in Index Template (nickwallen) closes apache/metron#1253
Project: http://git-wip-us.apache.org/repos/asf/metron/repo Commit: http://git-wip-us.apache.org/repos/asf/metron/commit/b9461e76 Tree: http://git-wip-us.apache.org/repos/asf/metron/tree/b9461e76 Diff: http://git-wip-us.apache.org/repos/asf/metron/diff/b9461e76 Branch: refs/heads/feature/METRON-1090-stellar-assignment Commit: b9461e76506988ad51d6fc0f3a442909945048f2 Parents: bf6b07f Author: nickwallen <[email protected]> Authored: Tue Nov 6 10:04:48 2018 -0500 Committer: nickallen <[email protected]> Committed: Tue Nov 6 10:04:48 2018 -0500 ---------------------------------------------------------------------- .../METRON/CURRENT/package/files/metaalert_index.template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/metron/blob/b9461e76/metron-deployment/packaging/ambari/metron-mpack/src/main/resources/common-services/METRON/CURRENT/package/files/metaalert_index.template ---------------------------------------------------------------------- diff --git a/metron-deployment/packaging/ambari/metron-mpack/src/main/resources/common-services/METRON/CURRENT/package/files/metaalert_index.template b/metron-deployment/packaging/ambari/metron-mpack/src/main/resources/common-services/METRON/CURRENT/package/files/metaalert_index.template index 05d5e32..040c411 100644 --- a/metron-deployment/packaging/ambari/metron-mpack/src/main/resources/common-services/METRON/CURRENT/package/files/metaalert_index.template +++ b/metron-deployment/packaging/ambari/metron-mpack/src/main/resources/common-services/METRON/CURRENT/package/files/metaalert_index.template @@ -5,8 +5,8 @@ "dynamic_templates": [ { "alert_template": { - "path_match": "alert.*", - "match_mapping_type": "string", + "path_match": "metron_alert.*", + "match_mapping_type": "*", "mapping": { "type": "keyword" }
