metron-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From o...@apache.org
Subject [08/52] [abbrv] metron git commit: METRON-1857 Fix Metaalert Nested Alert Field Name in Index Template (nickwallen) closes apache/metron#1253
Date Sun, 18 Nov 2018 18:15:21 GMT
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 <nick@nickallen.org>
Authored: Tue Nov 6 10:04:48 2018 -0500
Committer: nickallen <nickallen@apache.org>
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"
           }


Mime
View raw message