You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@metron.apache.org by jo...@apache.org on 2017/05/12 13:28:16 UTC

incubator-metron git commit: METRON-902 ES improperly indexes Bro logs (JonZeolla) closes apache/incubator-metron#555

Repository: incubator-metron
Updated Branches:
  refs/heads/master 53990090e -> 9a5e1ba73


METRON-902 ES improperly indexes Bro logs (JonZeolla) closes apache/incubator-metron#555


Project: http://git-wip-us.apache.org/repos/asf/incubator-metron/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-metron/commit/9a5e1ba7
Tree: http://git-wip-us.apache.org/repos/asf/incubator-metron/tree/9a5e1ba7
Diff: http://git-wip-us.apache.org/repos/asf/incubator-metron/diff/9a5e1ba7

Branch: refs/heads/master
Commit: 9a5e1ba73ddf1d7154fff6f41fa9b9e41fed3328
Parents: 5399009
Author: JonZeolla <ze...@gmail.com>
Authored: Fri May 12 09:27:41 2017 -0400
Committer: jonzeolla <jo...@apache.org>
Committed: Fri May 12 09:27:41 2017 -0400

----------------------------------------------------------------------
 .../METRON/CURRENT/package/files/bro_index.template         | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-metron/blob/9a5e1ba7/metron-deployment/packaging/ambari/metron-mpack/src/main/resources/common-services/METRON/CURRENT/package/files/bro_index.template
----------------------------------------------------------------------
diff --git a/metron-deployment/packaging/ambari/metron-mpack/src/main/resources/common-services/METRON/CURRENT/package/files/bro_index.template b/metron-deployment/packaging/ambari/metron-mpack/src/main/resources/common-services/METRON/CURRENT/package/files/bro_index.template
index 50eae30..7521af7 100644
--- a/metron-deployment/packaging/ambari/metron-mpack/src/main/resources/common-services/METRON/CURRENT/package/files/bro_index.template
+++ b/metron-deployment/packaging/ambari/metron-mpack/src/main/resources/common-services/METRON/CURRENT/package/files/bro_index.template
@@ -154,11 +154,12 @@
           "index": "not_analyzed"
         },
         "request_body_len": {
-          "type": "integer"
+          "type": "long"
         },
         "uri": {
           "type": "string",
-          "index": "not_analyzed"
+          "index": "not_analyzed",
+          "ignore_above": 8191
         },
         "uid": {
           "type": "string",
@@ -180,7 +181,7 @@
           "index": "not_analyzed"
         },
         "response_body_len": {
-          "type": "integer"
+          "type": "long"
         },
         "user_agent": {
           "type": "string"
@@ -190,7 +191,7 @@
           "index": "not_analyzed"
         },
         "answers": {
-          "type": "ip"
+          "type": "string"
         },
         "AA": {
           "type": "boolean"