<?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: Exception in indexingBolt of indexing topology in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Exception-in-indexingBolt-of-indexing-topology/m-p/123640#M55415</link>
    <description>&lt;P&gt;Thank you so much! I will feed back if it works.&lt;/P&gt;</description>
    <pubDate>Tue, 28 Feb 2017 10:52:41 GMT</pubDate>
    <dc:creator>308741831</dc:creator>
    <dc:date>2017-02-28T10:52:41Z</dc:date>
    <item>
      <title>Exception in indexingBolt of indexing topology</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Exception-in-indexingBolt-of-indexing-topology/m-p/123630#M55405</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;P&gt;After runing Metron a little while,I received this exception:&lt;/P&gt;&lt;P&gt;
index [bro_index_2017.02.23.16], type [bro_doc], id [AVpp_hu_luwdJ-LP4qUA], message [MapperParsingException[failed to parse [ip_dst_addr]]; nested: IllegalArgumentException[failed to parse ip [ff02::0001:0003], not a valid ipv4 address (4 dots)];]&lt;/P&gt;&lt;P&gt;How do i resolve it ? I'll appreciate it for any help!&lt;/P&gt;</description>
      <pubDate>Fri, 24 Feb 2017 13:30:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Exception-in-indexingBolt-of-indexing-topology/m-p/123630#M55405</guid>
      <dc:creator>308741831</dc:creator>
      <dc:date>2017-02-24T13:30:23Z</dc:date>
    </item>
    <item>
      <title>Re: Exception in indexingBolt of indexing topology</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Exception-in-indexingBolt-of-indexing-topology/m-p/123631#M55406</link>
      <description>&lt;P&gt;Well, the problem is actually in the elasticsearch indexing templates.  Normally, I'd say that you could use a message filter to filter out the IPv6 data in the parser, but I know that they don't work in HCS 1.0.  As a workaround, you could transform the IPv6 addresses to 0.0.0.0 and they'll index.  You can also save off the old address in a new field.  This would be how you would do it with Stellar field transformations.&lt;/P&gt;&lt;P&gt;Edit $METRON_HOME/config/zookeeper/parsers/bro.json to add the "fieldTransformations" section, like so:&lt;/P&gt;&lt;PRE&gt;{
  "parserClassName":"org.apache.metron.parsers.bro.BasicBroParser",
  "sensorTopic":"bro",
  "parserConfig": {},
  "fieldTransformations" : [
    {
      "transformation" : "STELLAR"
    ,"output" : [ "raw_dst_ip"
                , "ip_dst_addr"
                ]
    ,"config" : {
 "raw_dst_ip" : "ip_dst_addr"
,"ip_dst_addr" : "if IS_IP(ip_dst_addr, 'IPV4') then ip_dst_addr else '0.0.0.0'"
                }
    }
                           ]
}
&lt;/PRE&gt;&lt;P&gt;If things work out like they should, you'll have a raw_dst_ip field and ip_dst_addr will either be IPv4 or '0.0.0.0', which will index just fine.&lt;/P&gt;&lt;P&gt;In the next release, you'll have a message filter that works so you could drop them easier.&lt;/P&gt;&lt;P&gt;Hope this helps!  Report back if you get into trouble.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Feb 2017 14:01:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Exception-in-indexingBolt-of-indexing-topology/m-p/123631#M55406</guid>
      <dc:creator>cstella</dc:creator>
      <dc:date>2017-02-24T14:01:05Z</dc:date>
    </item>
    <item>
      <title>Re: Exception in indexingBolt of indexing topology</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Exception-in-indexingBolt-of-indexing-topology/m-p/123632#M55407</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/597/cstella.html" nodeid="597"&gt;@cstella&lt;/A&gt; is there any approches to do this?&lt;/P&gt;</description>
      <pubDate>Fri, 24 Feb 2017 14:01:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Exception-in-indexingBolt-of-indexing-topology/m-p/123632#M55407</guid>
      <dc:creator>308741831</dc:creator>
      <dc:date>2017-02-24T14:01:06Z</dc:date>
    </item>
    <item>
      <title>Re: Exception in indexingBolt of indexing topology</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Exception-in-indexingBolt-of-indexing-topology/m-p/123633#M55408</link>
      <description>&lt;P&gt;We do not currently support IPv6 addresses in Metron.  You have unfortunately hit &lt;A href="https://issues.apache.org/jira/browse/METRON-293" target="_blank"&gt;https://issues.apache.org/jira/browse/METRON-293&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Feb 2017 14:01:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Exception-in-indexingBolt-of-indexing-topology/m-p/123633#M55408</guid>
      <dc:creator>cstella</dc:creator>
      <dc:date>2017-02-24T14:01:06Z</dc:date>
    </item>
    <item>
      <title>Re: Exception in indexingBolt of indexing topology</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Exception-in-indexingBolt-of-indexing-topology/m-p/123634#M55409</link>
      <description>&lt;P&gt;so i wanna disable ipv6 in bro ,do you know how to do that?&lt;/P&gt;</description>
      <pubDate>Fri, 24 Feb 2017 14:01:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Exception-in-indexingBolt-of-indexing-topology/m-p/123634#M55409</guid>
      <dc:creator>308741831</dc:creator>
      <dc:date>2017-02-24T14:01:07Z</dc:date>
    </item>
    <item>
      <title>Re: Exception in indexingBolt of indexing topology</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Exception-in-indexingBolt-of-indexing-topology/m-p/123635#M55410</link>
      <description>&lt;P&gt;i just do not want ipv6  show up in bro logs&lt;/P&gt;</description>
      <pubDate>Fri, 24 Feb 2017 14:01:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Exception-in-indexingBolt-of-indexing-topology/m-p/123635#M55410</guid>
      <dc:creator>308741831</dc:creator>
      <dc:date>2017-02-24T14:01:08Z</dc:date>
    </item>
    <item>
      <title>Re: Exception in indexingBolt of indexing topology</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Exception-in-indexingBolt-of-indexing-topology/m-p/123636#M55411</link>
      <description>&lt;P&gt;I should point out that you will need to, after you make that change, push the configs to zookeeper via $METRON_HOME/bin/zk_load_configs.sh --mode PUSH -i $METRON_HOME/config/zookeeper -z $ZK_QUORUM&lt;/P&gt;&lt;P&gt;where ZK_QUORUM is something like hostname:2181&lt;/P&gt;</description>
      <pubDate>Fri, 24 Feb 2017 14:03:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Exception-in-indexingBolt-of-indexing-topology/m-p/123636#M55411</guid>
      <dc:creator>cstella</dc:creator>
      <dc:date>2017-02-24T14:03:22Z</dc:date>
    </item>
    <item>
      <title>Re: Exception in indexingBolt of indexing topology</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Exception-in-indexingBolt-of-indexing-topology/m-p/123637#M55412</link>
      <description>&lt;P&gt;actually ,i hope bro logs capture ipv4 info only ,is there any configuration to set &lt;/P&gt;</description>
      <pubDate>Fri, 24 Feb 2017 14:31:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Exception-in-indexingBolt-of-indexing-topology/m-p/123637#M55412</guid>
      <dc:creator>308741831</dc:creator>
      <dc:date>2017-02-24T14:31:12Z</dc:date>
    </item>
    <item>
      <title>Re: Exception in indexingBolt of indexing topology</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Exception-in-indexingBolt-of-indexing-topology/m-p/123638#M55413</link>
      <description>&lt;P&gt;or why dont you translate ipv6 to ipv4 with stellar script?&lt;/P&gt;</description>
      <pubDate>Fri, 24 Feb 2017 15:03:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Exception-in-indexingBolt-of-indexing-topology/m-p/123638#M55413</guid>
      <dc:creator>308741831</dc:creator>
      <dc:date>2017-02-24T15:03:53Z</dc:date>
    </item>
    <item>
      <title>Re: Exception in indexingBolt of indexing topology</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Exception-in-indexingBolt-of-indexing-topology/m-p/123639#M55414</link>
      <description>&lt;P&gt;What cstella is suggesting should work, but you can also filter upstream in bro using a predicate.  I can give more help later if necessary but I first suggest you read and understand the below post and look at my bro script.  My script filters IPv6 traffic for Conn, HTTP, and dns, and also filters all non-internet traffic (you can simply remove that part of the logic for your situation) if you are using the Kafka plugin.&lt;/P&gt;&lt;P&gt;&lt;A href="http://blog.bro.org/2012/02/filtering-logs-with-bro.html"&gt;http://blog.bro.org/2012/02/filtering-logs-with-bro.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/JonZeolla/Development/blob/master/bro/logs-to-kafka.bro"&gt;https://github.com/JonZeolla/Development/blob/master/bro/logs-to-kafka.bro&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;</description>
      <pubDate>Sat, 25 Feb 2017 02:44:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Exception-in-indexingBolt-of-indexing-topology/m-p/123639#M55414</guid>
      <dc:creator>zeolla</dc:creator>
      <dc:date>2017-02-25T02:44:35Z</dc:date>
    </item>
    <item>
      <title>Re: Exception in indexingBolt of indexing topology</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Exception-in-indexingBolt-of-indexing-topology/m-p/123640#M55415</link>
      <description>&lt;P&gt;Thank you so much! I will feed back if it works.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2017 10:52:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Exception-in-indexingBolt-of-indexing-topology/m-p/123640#M55415</guid>
      <dc:creator>308741831</dc:creator>
      <dc:date>2017-02-28T10:52:41Z</dc:date>
    </item>
    <item>
      <title>Re: Exception in indexingBolt of indexing topology</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Exception-in-indexingBolt-of-indexing-topology/m-p/123641#M55416</link>
      <description>&lt;P&gt;Thank you ! It works.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2017 15:43:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Exception-in-indexingBolt-of-indexing-topology/m-p/123641#M55416</guid>
      <dc:creator>308741831</dc:creator>
      <dc:date>2017-02-28T15:43:41Z</dc:date>
    </item>
  </channel>
</rss>

