You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@metron.apache.org by ni...@apache.org on 2018/11/06 15:05:08 UTC
metron git commit: METRON-1857 Fix Metaalert Nested Alert Field Name
in Index Template (nickwallen) closes apache/metron#1253
Repository: metron
Updated Branches:
refs/heads/master bf6b07f7c -> b9461e765
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/master
Commit: b9461e76506988ad51d6fc0f3a442909945048f2
Parents: bf6b07f
Author: nickwallen <ni...@nickallen.org>
Authored: Tue Nov 6 10:04:48 2018 -0500
Committer: nickallen <ni...@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"
}