<?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: How to temporarily bypass Metron enrichments in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-temporarily-bypass-Metron-enrichments/m-p/146785#M40348</link>
    <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/11842/zeolla.html"&gt;Jon Zeolla&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You can bypass enrichment for bro by following the below steps :-&lt;/P&gt;&lt;P&gt;1.Establish SSH connection to the node where metron service(s) is installed.&lt;/P&gt;&lt;P&gt;2.On the specified node navigate to the following path :- /usr/metron/0.2.0BETA/config/zookeeper/enrichments&lt;/P&gt;&lt;P&gt;3.Create a backup of the existing bro.json file in some directory so that you can use it later.&lt;/P&gt;&lt;P&gt;4.Now edit the bro.json file and change the content to the following :-&lt;/P&gt;&lt;PRE&gt;{
  "index": "bro",
  "batchSize": 5
}&lt;/PRE&gt;&lt;P&gt;5.Now execute the following command to push the config to the zookeeper :-&lt;/P&gt;&lt;PRE&gt;/usr/metron/0.2.0BETA/bin/zk_load_configs.sh -z ZOOKEEPER_HOST:2181 -m PUSH -i /usr/metron/0.2.0BETA/config/zookeeper/
&lt;/PRE&gt;&lt;P&gt;Please replace the ZOOKEEPER_HOST text with your zookeeper node hostname.&lt;/P&gt;&lt;P&gt;6.Perform the following command to make sure the config got pushed all good to zookeeper and no errors are seen.&lt;/P&gt;&lt;PRE&gt;/usr/metron/0.2.0BETA/bin/zk_load_configs.sh -z ZOOKEEPER_HOST:2181 -m DUMP&lt;/PRE&gt;&lt;P&gt;Since the current bro.json file @/usr/metron/0.2.0BETA/config/zookeeper/enrichments/bro.json does not contain any mention of enrichment so enrichment should be by passed for the the Bro logs.&lt;/P&gt;&lt;P&gt;Please let me know if the above steps solves the issue you are facing.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;neha&lt;/P&gt;</description>
    <pubDate>Mon, 12 Sep 2016 13:35:33 GMT</pubDate>
    <dc:creator>nsinha</dc:creator>
    <dc:date>2016-09-12T13:35:33Z</dc:date>
    <item>
      <title>How to temporarily bypass Metron enrichments</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-temporarily-bypass-Metron-enrichments/m-p/146784#M40347</link>
      <description>&lt;P&gt;I am running an 8 node physical Metron cluster (2 search ES nodes, and a 6 node HDP 2.4 cluster that also runs the additional Metron services).  &lt;/P&gt;&lt;P&gt;I started pushing bro logs onto the bro topic and have noticed it taking extremely long times to process (roughly 50 minutes from send to hitting the enrichment bolts).  I'd like to speed this up and, at least for the short term, could live with bypassing the enrichment topic.  Is there a simple way to do this?  &lt;/P&gt;</description>
      <pubDate>Mon, 12 Sep 2016 10:39:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-temporarily-bypass-Metron-enrichments/m-p/146784#M40347</guid>
      <dc:creator>zeolla</dc:creator>
      <dc:date>2016-09-12T10:39:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to temporarily bypass Metron enrichments</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-temporarily-bypass-Metron-enrichments/m-p/146785#M40348</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/11842/zeolla.html"&gt;Jon Zeolla&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You can bypass enrichment for bro by following the below steps :-&lt;/P&gt;&lt;P&gt;1.Establish SSH connection to the node where metron service(s) is installed.&lt;/P&gt;&lt;P&gt;2.On the specified node navigate to the following path :- /usr/metron/0.2.0BETA/config/zookeeper/enrichments&lt;/P&gt;&lt;P&gt;3.Create a backup of the existing bro.json file in some directory so that you can use it later.&lt;/P&gt;&lt;P&gt;4.Now edit the bro.json file and change the content to the following :-&lt;/P&gt;&lt;PRE&gt;{
  "index": "bro",
  "batchSize": 5
}&lt;/PRE&gt;&lt;P&gt;5.Now execute the following command to push the config to the zookeeper :-&lt;/P&gt;&lt;PRE&gt;/usr/metron/0.2.0BETA/bin/zk_load_configs.sh -z ZOOKEEPER_HOST:2181 -m PUSH -i /usr/metron/0.2.0BETA/config/zookeeper/
&lt;/PRE&gt;&lt;P&gt;Please replace the ZOOKEEPER_HOST text with your zookeeper node hostname.&lt;/P&gt;&lt;P&gt;6.Perform the following command to make sure the config got pushed all good to zookeeper and no errors are seen.&lt;/P&gt;&lt;PRE&gt;/usr/metron/0.2.0BETA/bin/zk_load_configs.sh -z ZOOKEEPER_HOST:2181 -m DUMP&lt;/PRE&gt;&lt;P&gt;Since the current bro.json file @/usr/metron/0.2.0BETA/config/zookeeper/enrichments/bro.json does not contain any mention of enrichment so enrichment should be by passed for the the Bro logs.&lt;/P&gt;&lt;P&gt;Please let me know if the above steps solves the issue you are facing.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;neha&lt;/P&gt;</description>
      <pubDate>Mon, 12 Sep 2016 13:35:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-temporarily-bypass-Metron-enrichments/m-p/146785#M40348</guid>
      <dc:creator>nsinha</dc:creator>
      <dc:date>2016-09-12T13:35:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to temporarily bypass Metron enrichments</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-temporarily-bypass-Metron-enrichments/m-p/146786#M40349</link>
      <description>&lt;P&gt;I did this and it worked - I just wanted to clarify for others that when you make the backup of your .json file, it needs to be in a different directory than under /usr/metron/0.2.0BETA/config/zookeeper/.  I made a backup by simply copying bro.json to bro.json.bkp and when I ran the PUSH command, I ended up with both a "bro" and a "bro.json" znode.  I assume this is because the script gets all files in those dirs and removes the last extension ("bro.json" becomes "bro", and "bro.json.bkp" becomes "bro.json"), then uses that as the name on create.  &lt;/P&gt;</description>
      <pubDate>Mon, 12 Sep 2016 18:23:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-temporarily-bypass-Metron-enrichments/m-p/146786#M40349</guid>
      <dc:creator>zeolla</dc:creator>
      <dc:date>2016-09-12T18:23:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to temporarily bypass Metron enrichments</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-temporarily-bypass-Metron-enrichments/m-p/146787#M40350</link>
      <description>&lt;P&gt;
	&lt;A rel="user" href="https://community.cloudera.com/users/2865/nsinha.html" nodeid="2865"&gt;@Neha Sinha&lt;/A&gt;'s solution worked, however that way it still goes through the enrichment tier, it just goes kafkaSpout -&amp;gt; Split -&amp;gt; Join -&amp;gt; Split -&amp;gt; Join -&amp;gt; Output.  There is another way to do this that completely skips the enrichment tier and writes from the parser's topic (bro) directly to indexing via:&lt;/P&gt;&lt;PRE&gt;	  "parserConfig": {
            "kafka.topic" : "indexing"
          }&lt;/PRE&gt;&lt;P&gt;This exists in `/usr/metron/0.2.0BETA/config/zookeeper/parsers/bro.json` and can be pushed via `&lt;/P&gt;&lt;P&gt;/usr/metron/0.2.0BETA/bin/zk_load_configs.sh -z $zk -m PUSH -i /usr/metron/0.2.0BETA/config/zookeeper/`&lt;/P&gt;</description>
      <pubDate>Fri, 30 Sep 2016 02:12:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-temporarily-bypass-Metron-enrichments/m-p/146787#M40350</guid>
      <dc:creator>zeolla</dc:creator>
      <dc:date>2016-09-30T02:12:12Z</dc:date>
    </item>
  </channel>
</rss>

