<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Metron Statistics Documentation Error in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Metron-Statistics-Documentation-Error/m-p/188630#M61890</link>
    <description>&lt;P&gt;Hi @HS, Thank you for your comment on our Metron documentation. Sorry the delay in responding to you. I've raised your question to the Dev team and I hope to have an answer for you shortly.&lt;/P&gt;</description>
    <pubDate>Wed, 31 May 2017 06:21:06 GMT</pubDate>
    <dc:creator>rmckissick</dc:creator>
    <dc:date>2017-05-31T06:21:06Z</dc:date>
    <item>
      <title>Metron Statistics Documentation Error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Metron-Statistics-Documentation-Error/m-p/188629#M61889</link>
      <description>&lt;P&gt;The enrichment configuration discussed in the this &lt;A href="https://github.com/apache/metron/tree/master/metron-analytics/metron-statistics"&gt;link&lt;/A&gt; seems to have an error:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;{
  "index": "mad",
  "batchSize": 1,
  "enrichment": {
    "fieldMap": {
      "stellar" : {
        "config" : {
          "parser_score" : "OUTLIER_MAD_SCORE(OUTLIER_MAD_STATE_MERGE(
PROFILE_GET( 'sketchy_mad', 'global', PROFILE_FIXED(10, 'MINUTES')) ), value)"
         ,"is_alert" : "if parser_score &amp;gt; 3.5 then true else is_alert"
        }
      }
    }
  ,"fieldToTypeMap": { }
  },
  "threatIntel": {
    "fieldMap": { },
    "fieldToTypeMap": { },
    "triageConfig" : {
      "riskLevelRules" : [
        {
          "rule" : "parser_score &amp;gt; 3.5",
          "score" : 10
        }
      ],
      "aggregator" : "MAX"
    }
  }
}&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I think the first two lines should appear in the corresponding indexing configuration and not the enrichment configuration. Using the enrichment config as is results in a parse error when pushing the configuration to zookeeper.&lt;/P&gt;&lt;P&gt;I just wanted to confirm this is the case. If not, what do those first two lines exactly mean?&lt;/P&gt;</description>
      <pubDate>Sat, 27 May 2017 05:51:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Metron-Statistics-Documentation-Error/m-p/188629#M61889</guid>
      <dc:creator>hamed1</dc:creator>
      <dc:date>2017-05-27T05:51:13Z</dc:date>
    </item>
    <item>
      <title>Re: Metron Statistics Documentation Error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Metron-Statistics-Documentation-Error/m-p/188630#M61890</link>
      <description>&lt;P&gt;Hi @HS, Thank you for your comment on our Metron documentation. Sorry the delay in responding to you. I've raised your question to the Dev team and I hope to have an answer for you shortly.&lt;/P&gt;</description>
      <pubDate>Wed, 31 May 2017 06:21:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Metron-Statistics-Documentation-Error/m-p/188630#M61890</guid>
      <dc:creator>rmckissick</dc:creator>
      <dc:date>2017-05-31T06:21:06Z</dc:date>
    </item>
    <item>
      <title>Re: Metron Statistics Documentation Error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Metron-Statistics-Documentation-Error/m-p/188631#M61891</link>
      <description>&lt;P&gt;Hi guys. Yes, it would appear that doc example is outdated. "index" and "batchSize" belong in the indexing config. Here is a sample for bro from the current source:&lt;/P&gt;&lt;PRE&gt;cat metron-platform/metron-enrichment/src/main/config/zookeeper/enrichments/bro.json
{
  "enrichment" : {
    "fieldMap": {
      "geo": ["ip_dst_addr", "ip_src_addr"],
      "host": ["host"]
    }
  },
  "threatIntel": {
    "fieldMap": {
      "hbaseThreatIntel": ["ip_src_addr", "ip_dst_addr"]
    },
    "fieldToTypeMap": {
      "ip_src_addr" : ["malicious_ip"],
      "ip_dst_addr" : ["malicious_ip"]
    }
  }
}
&lt;/PRE&gt;
&lt;PRE&gt;cat metron-platform/metron-indexing/src/main/config/zookeeper/indexing/bro.json
{
  "hdfs" : {
    "index": "bro",
    "batchSize": 5,
    "enabled" : true
  },
  "elasticsearch" : {
    "index": "bro",
    "batchSize": 5,
    "enabled" : true
  },
  "solr" : {
    "index": "bro",
    "batchSize": 5,
    "enabled" : false
  }
}&lt;/PRE&gt;</description>
      <pubDate>Wed, 31 May 2017 21:18:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Metron-Statistics-Documentation-Error/m-p/188631#M61891</guid>
      <dc:creator>mmiklavcic</dc:creator>
      <dc:date>2017-05-31T21:18:54Z</dc:date>
    </item>
    <item>
      <title>Re: Metron Statistics Documentation Error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Metron-Statistics-Documentation-Error/m-p/188632#M61892</link>
      <description>&lt;P&gt;I submitted a fix to this README. You can view progress here&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://github.com/apache/metron/pull/601" target="_blank"&gt;https://github.com/apache/metron/pull/601&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://issues.apache.org/jira/browse/METRON-977" target="_blank"&gt;https://issues.apache.org/jira/browse/METRON-977&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;@HS, the Metron community always looking for contributors and future committers and is extremely helpful (imho) in getting users involved. I see you've been active on the Metron boards here on HCC and we would be happy to get you open source community credit should you also choose to submit Jiras/PRs in the future. Best, Mike.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jun 2017 05:01:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Metron-Statistics-Documentation-Error/m-p/188632#M61892</guid>
      <dc:creator>mmiklavcic</dc:creator>
      <dc:date>2017-06-01T05:01:49Z</dc:date>
    </item>
  </channel>
</rss>

