<?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 - Error enriching squid data in Storm in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Metron-Error-enriching-squid-data-in-Storm/m-p/125058#M43245</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/13655/aaronharris.html" nodeid="13655"&gt;@Aaron Harris&lt;/A&gt; Glad you are up and running!   &lt;/P&gt;</description>
    <pubDate>Mon, 17 Oct 2016 18:51:52 GMT</pubDate>
    <dc:creator>Carolyn</dc:creator>
    <dc:date>2016-10-17T18:51:52Z</dc:date>
    <item>
      <title>Metron - Error enriching squid data in Storm</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Metron-Error-enriching-squid-data-in-Storm/m-p/125046#M43233</link>
      <description>&lt;P&gt;Am running through the tutorial to add a new telemetry source into Metron and have encountered a problem with the enrichmentJoinBolt in Storm, it is failing to process any of the messages that the Squid topology has process with the below error;&lt;/P&gt;&lt;PRE&gt;2016-10-11 14:32:09 o.a.m.e.b.EnrichmentSplitterBolt [ERROR] Unable to retrieve a sensor enrichment config of squid
2016-10-11 14:32:09 o.a.m.e.b.EnrichmentJoinBolt [ERROR] Unable to retrieve a sensor enrichment config of squid
2016-10-11 14:32:09 o.a.m.e.b.JoinBolt [ERROR] [Metron] Unable to join messages: {"code":0,"method":"GET","enrichmentsplitterbolt.splitter.end.ts":"1476196329341","enrichmentsplitterbolt.splitter.begin.ts":"1476196329341","url":"https:\/\/tfl.gov.uk\/plan-a-journey\/","source.type":"squid","elapsed":31271,"ip_dst_addr":null,"original_string":"1476113538.772  31271 127.0.0.1 TCP_MISS\/000 0 GET https:\/\/tfl.gov.uk\/plan-a-journey\/ - DIRECT\/tfl.gov.uk -","bytes":0,"action":"TCP_MISS","ip_src_addr":"127.0.0.1","timestamp":1476113538772}
java.lang.NullPointerException: null
	at org.apache.metron.enrichment.bolt.EnrichmentJoinBolt.joinMessages(EnrichmentJoinBolt.java:76) ~[stormjar.jar:na]
	at org.apache.metron.enrichment.bolt.EnrichmentJoinBolt.joinMessages(EnrichmentJoinBolt.java:33) ~[stormjar.jar:na]
	at org.apache.metron.enrichment.bolt.JoinBolt.execute(JoinBolt.java:111) ~[stormjar.jar:na]
	at backtype.storm.daemon.executor$fn__7014$tuple_action_fn__7016.invoke(executor.clj:670) [storm-core-0.10.0.2.3.0.0-2557.jar:0.10.0.2.3.0.0-2557]
	at backtype.storm.daemon.executor$mk_task_receiver$fn__6937.invoke(executor.clj:426) [storm-core-0.10.0.2.3.0.0-2557.jar:0.10.0.2.3.0.0-2557]
	at backtype.storm.disruptor$clojure_handler$reify__6513.onEvent(disruptor.clj:58) [storm-core-0.10.0.2.3.0.0-2557.jar:0.10.0.2.3.0.0-2557]
	at backtype.storm.utils.DisruptorQueue.consumeBatchToCursor(DisruptorQueue.java:125) [storm-core-0.10.0.2.3.0.0-2557.jar:0.10.0.2.3.0.0-2557]
	at backtype.storm.utils.DisruptorQueue.consumeBatchWhenAvailable(DisruptorQueue.java:99) [storm-core-0.10.0.2.3.0.0-2557.jar:0.10.0.2.3.0.0-2557]
	at backtype.storm.disruptor$consume_batch_when_available.invoke(disruptor.clj:80) [storm-core-0.10.0.2.3.0.0-2557.jar:0.10.0.2.3.0.0-2557]
	at backtype.storm.daemon.executor$fn__7014$fn__7027$fn__7078.invoke(executor.clj:808) [storm-core-0.10.0.2.3.0.0-2557.jar:0.10.0.2.3.0.0-2557]
	at backtype.storm.util$async_loop$fn__545.invoke(util.clj:475) [storm-core-0.10.0.2.3.0.0-2557.jar:0.10.0.2.3.0.0-2557]
	at clojure.lang.AFn.run(AFn.java:22) [clojure-1.6.0.jar:na]
	at java.lang.Thread.run(Thread.java:745) [na:1.8.0_40]&lt;/PRE&gt;&lt;P&gt;I am using the full-dev environment with Metron 0.2.0BETA and the guide, &lt;A href="https://cwiki.apache.org/confluence/display/METRON/2016/04/25/Metron+Tutorial+-+Fundamentals+Part+1%3A+Creating+a+New+Telemetry" target="_blank"&gt;https://cwiki.apache.org/confluence/display/METRON/2016/04/25/Metron+Tutorial+-+Fundamentals+Part+1%3A+Creating+a+New+Telemetry&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I can see data in the kibana dashboard from Bro and Yaf, which both also have indexes created in elastic, however there is no index for the squid data.&lt;/P&gt;&lt;P&gt;I tried killing the Storm topologies and re-running ./run_enrichment_role.sh then after this restarting the squid parser topology.&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated. &lt;/P&gt;</description>
      <pubDate>Tue, 11 Oct 2016 22:00:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Metron-Error-enriching-squid-data-in-Storm/m-p/125046#M43233</guid>
      <dc:creator>aaron_harris</dc:creator>
      <dc:date>2016-10-11T22:00:53Z</dc:date>
    </item>
    <item>
      <title>Re: Metron - Error enriching squid data in Storm</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Metron-Error-enriching-squid-data-in-Storm/m-p/125047#M43234</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/13655/aaronharris.html" nodeid="13655"&gt;@Aaron Harris&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Check to be sure the enrichment config and parser configs for squid are installed using the zk_load_configs.sh with the -m DUMP method:&lt;/P&gt;&lt;P&gt;For example on quick dev run this command.  The parser enrichment configs are in bold:&lt;/P&gt;&lt;P&gt;[vagrant@node1 ~]$ /usr/metron/0.2.0BETA/bin/zk_load_configs.sh -i /usr/metron/0.2.0BETA/config/zookeeper/ -m DUMP -z localhost:2181 | grep -i squid | grep Config&lt;/P&gt;&lt;P&gt;log4j:WARN No appenders could be found for logger (org.apache.curator.framework.imps.CuratorFrameworkImpl).&lt;/P&gt;&lt;P&gt;log4j:WARN Please initialize the log4j system properly.&lt;/P&gt;&lt;P&gt;log4j:WARN See &lt;A href="http://logging.apache.org/log4j/1.2/faq.html#noconfig" target="_blank"&gt;http://logging.apache.org/log4j/1.2/faq.html#noconfig&lt;/A&gt; for more info.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;PARSER Config: squid&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ENRICHMENT Config: squid&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;If not, check the zookeeper config directory:&lt;/P&gt;&lt;P&gt;[vagrant@node1 ~]$ ls /usr/metron/0.2.0BETA/config/zookeeper/enrichments/&lt;/P&gt;&lt;P&gt;bro.json  snort.json  &lt;STRONG&gt;squid.json&lt;/STRONG&gt;  websphere.json  yaf.json&lt;/P&gt;&lt;P&gt;Then update zookeeper:&lt;/P&gt;&lt;P&gt;/usr/metron/0.2.0BETA/bin/zk_load_configs.sh -i /usr/metron/0.2.0BETA/config/zookeeper/ -m PUSH -z localhost:2181&lt;/P&gt;&lt;P&gt;Then you will probably need to restart the enrichment topology.  From Ambari, go to the storm UI, click into the enrichment topology and then the Kill button.  If you are using quick dev, monit should automatically restart.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Oct 2016 23:43:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Metron-Error-enriching-squid-data-in-Storm/m-p/125047#M43234</guid>
      <dc:creator>Carolyn</dc:creator>
      <dc:date>2016-10-11T23:43:13Z</dc:date>
    </item>
    <item>
      <title>Re: Metron - Error enriching squid data in Storm</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Metron-Error-enriching-squid-data-in-Storm/m-p/125048#M43235</link>
      <description>&lt;P style="margin-left: 20px;"&gt;&lt;A rel="user" href="https://community.cloudera.com/users/12116/cduby.html" nodeid="12116"&gt;@cduby
&lt;/A&gt;&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;Thanks the missing enrichment config was definitely the issue, I copied the yaf.json and amended the index JSON field to squid instead of yaf and then uploaded as per your instructions. Below is the squid.json file I created.&lt;/P&gt;&lt;PRE&gt;{
  "index":"squid",
  "batchSize": 5,
  "enrichment" : {
    "fieldMap":
      {
      "geo": ["ip_dst_addr", "ip_src_addr"]
    }
  },
  "threatIntel": {
    "fieldMap":
      {
      "hbaseThreatIntel": ["ip_src_addr", "ip_dst_addr"]
    },
    "fieldToTypeMap":
      {
      "ip_src_addr" : ["malicious_ip"],
      "ip_dst_addr" : ["malicious_ip"]
    }
  }
}&lt;/PRE&gt;&lt;P style="margin-left: 20px;"&gt;However I am now getting another error in the enrichment join bolt as below&lt;/P&gt;&lt;PRE&gt;2016-10-11 19:59:09 o.a.m.e.b.JoinBolt [ERROR] [Metron] Unable to join messages: {"enrichments.geo.ip_dst_addr":"","adapter.geoadapter.end.ts":"1476215988122","enrichments.geo.ip_src_addr":"
","adapter.geoadapter.begin.ts":"1476215988122","source.type":"squid"}&lt;/PRE&gt;</description>
      <pubDate>Wed, 12 Oct 2016 03:26:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Metron-Error-enriching-squid-data-in-Storm/m-p/125048#M43235</guid>
      <dc:creator>aaron_harris</dc:creator>
      <dc:date>2016-10-12T03:26:42Z</dc:date>
    </item>
    <item>
      <title>Re: Metron - Error enriching squid data in Storm</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Metron-Error-enriching-squid-data-in-Storm/m-p/125049#M43236</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/13655/aaronharris.html" nodeid="13655"&gt;@Aaron Harris&lt;/A&gt; Is there any more context to the error log.  For example a log entry that says Joining problem?&lt;/P&gt;&lt;P&gt;Also is your geo enrichment topology running cleanly?  Check out the Storm UI.  Go to the enrichment topology and see if you have any errors with the geo bolt.  A common issue is that that geoenrichment bolt requires mysql.  If it isn't running the geo bolt will fail.  &lt;/P&gt;&lt;P&gt;Check out Michael Young's article : &lt;A href="https://community.hortonworks.com/content/kbentry/59801/troubleshooting-missing-events-in-metron-quick-dev.html"&gt;https://community.hortonworks.com/content/kbentry/59801/troubleshooting-missing-events-in-metron-quick-dev.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;It is geared toward quick dev but much of it applies to other deployments as well.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Oct 2016 03:43:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Metron-Error-enriching-squid-data-in-Storm/m-p/125049#M43236</guid>
      <dc:creator>Carolyn</dc:creator>
      <dc:date>2016-10-12T03:43:41Z</dc:date>
    </item>
    <item>
      <title>Re: Metron - Error enriching squid data in Storm</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Metron-Error-enriching-squid-data-in-Storm/m-p/125050#M43237</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/12116/cduby.html" nodeid="12116"&gt;@cduby&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thanks for the pointers, I restarted the Metron VM and started the services again and it seems to be up and running now, I can see an index in elastic for the squid data.&lt;/P&gt;&lt;P&gt;My next problem however is that when I try to create an index in elastic for the squid data it can't resolve any Time-field names and the dropdown is blank. &lt;/P&gt;&lt;P&gt;I have inspected the data in the head plugin and there is definitely a "timestamp" field held under "_source" field in the JSON data.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Oct 2016 16:39:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Metron-Error-enriching-squid-data-in-Storm/m-p/125050#M43237</guid>
      <dc:creator>aaron_harris</dc:creator>
      <dc:date>2016-10-12T16:39:38Z</dc:date>
    </item>
    <item>
      <title>Re: Metron - Error enriching squid data in Storm</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Metron-Error-enriching-squid-data-in-Storm/m-p/125051#M43238</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/13655/aaronharris.html" nodeid="13655"&gt;@Aaron Harris&lt;/A&gt;&lt;P&gt;Are you following the tutorial below:&lt;/P&gt;&lt;P&gt;&lt;A href="https://cwiki.apache.org/confluence/display/METRON/2016/06/22/Metron+Tutorial+-+Fundamentals+Part+7%3A+Dashboarding+with+Kibana"&gt;https://cwiki.apache.org/confluence/display/METRON/2016/06/22/Metron+Tutorial+-+Fundamentals+Part+7%3A+Dashboarding+with+Kibana&lt;/A&gt;&lt;/P&gt;&lt;P&gt;After deleting the index, I got a similar error.  I generated some more log entries to the squid topic.  Then I was able configure the index and the timestamp appeared.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2016 03:09:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Metron-Error-enriching-squid-data-in-Storm/m-p/125051#M43238</guid>
      <dc:creator>Carolyn</dc:creator>
      <dc:date>2016-10-13T03:09:11Z</dc:date>
    </item>
    <item>
      <title>Re: Metron - Error enriching squid data in Storm</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Metron-Error-enriching-squid-data-in-Storm/m-p/125052#M43239</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/12116/cduby.html" nodeid="12116"&gt;@cduby&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Yes that is the tutorial I am following, however I have another problem now with the Storm UI throwing an error, even though Ambari is showing that all the Storm components are running fine.&lt;/P&gt;&lt;PRE&gt;java.lang.RuntimeException: Could not find leader nimbus from seed hosts ["node1"]. Did you specify a valid list of nimbus hosts for config nimbus.seeds&lt;/PRE&gt;&lt;P&gt;I have posted it in a separate topic as I think the enrichment issue is now resolved as I can see index data in elastic.&lt;/P&gt;&lt;P&gt;How did you delete the index? Was that through elastic, and was it just a case of pushing the logs to the kafka topic that created the new index and resolved the issue.&lt;/P&gt;&lt;P&gt;Thanks again for all your help, really appreciate it.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2016 14:57:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Metron-Error-enriching-squid-data-in-Storm/m-p/125052#M43239</guid>
      <dc:creator>aaron_harris</dc:creator>
      <dc:date>2016-10-13T14:57:58Z</dc:date>
    </item>
    <item>
      <title>Re: Metron - Error enriching squid data in Storm</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Metron-Error-enriching-squid-data-in-Storm/m-p/125053#M43240</link>
      <description>&lt;P&gt;Fixed the storm issue it was to do with a backup I took of the storm local data directory when I was having problems starting the storm supervisor. I restored the nimbus/stormdist data from my backup and it is started up correctly now.&lt;/P&gt;&lt;P&gt;So next step is to look at the indexing in elasticsearch.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2016 15:40:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Metron-Error-enriching-squid-data-in-Storm/m-p/125053#M43240</guid>
      <dc:creator>aaron_harris</dc:creator>
      <dc:date>2016-10-13T15:40:06Z</dc:date>
    </item>
    <item>
      <title>Re: Metron - Error enriching squid data in Storm</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Metron-Error-enriching-squid-data-in-Storm/m-p/125054#M43241</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/13655/aaronharris.html" nodeid="13655"&gt;@Aaron Harris&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;How did you delete the index? Was that through elastic, and was it just a case of pushing the logs to the kafka topic that created the new index and resolved the issue&lt;/P&gt;&lt;P&gt;See Step 3 of the tutorial.  You an use the rest service to delete the index:&lt;/P&gt;&lt;PRE&gt;curl -XDELETE node1:9200/squid*&lt;/PRE&gt;</description>
      <pubDate>Thu, 13 Oct 2016 20:16:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Metron-Error-enriching-squid-data-in-Storm/m-p/125054#M43241</guid>
      <dc:creator>Carolyn</dc:creator>
      <dc:date>2016-10-13T20:16:47Z</dc:date>
    </item>
    <item>
      <title>Re: Metron - Error enriching squid data in Storm</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Metron-Error-enriching-squid-data-in-Storm/m-p/125055#M43242</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/12116/cduby.html" nodeid="12116"&gt;@cduby&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Thanks for that have removed the historical index from elastic so I now have no squid indexes, however I am back to the previous problem with the enrichmentJoinBolt, I have checked and MySQL is running and no errors are showing in the geoEnrichmentBolt, I am also getting data from bro and yaf showing up in elastic.&lt;/P&gt;&lt;P&gt;Have worked through the troubleshooting article and cannot see any problems, the only thing I can think of is that the enrichment config I have provided has something incorrect in it although I cannot see what.&lt;/P&gt;&lt;P&gt;Pasted below is the error in the Storm geo enrichment bolt and a few of the logs either side, there are no other errors in Storm UI.&lt;/P&gt;&lt;PRE&gt;2016-10-14 09:11:47 b.s.d.executor [INFO] Prepared bolt simpleHBaseEnrichmentBolt:(8)
2016-10-14 09:12:07 o.a.m.e.b.JoinBolt [ERROR] [Metron] Unable to join messages: {"enrichments.geo.ip_dst_addr":"","adapter.geoadapter.end.ts":"1476436327576","enrichments.geo.ip_src_addr":"","adapter.geoadapter.begin.ts":"1476436327576","source.type":"squid"}
java.lang.NullPointerException: null
	at org.apache.metron.enrichment.bolt.EnrichmentJoinBolt.joinMessages(EnrichmentJoinBolt.java:76) ~[stormjar.jar:na]
	at org.apache.metron.enrichment.bolt.EnrichmentJoinBolt.joinMessages(EnrichmentJoinBolt.java:33) ~[stormjar.jar:na]
	at org.apache.metron.enrichment.bolt.JoinBolt.execute(JoinBolt.java:111) ~[stormjar.jar:na]
	at backtype.storm.daemon.executor$fn__7014$tuple_action_fn__7016.invoke(executor.clj:670) [storm-core-0.10.0.2.3.0.0-2557.jar:0.10.0.2.3.0.0-2557]
	at backtype.storm.daemon.executor$mk_task_receiver$fn__6937.invoke(executor.clj:426) [storm-core-0.10.0.2.3.0.0-2557.jar:0.10.0.2.3.0.0-2557]
	at backtype.storm.disruptor$clojure_handler$reify__6513.onEvent(disruptor.clj:58) [storm-core-0.10.0.2.3.0.0-2557.jar:0.10.0.2.3.0.0-2557]
	at backtype.storm.utils.DisruptorQueue.consumeBatchToCursor(DisruptorQueue.java:125) [storm-core-0.10.0.2.3.0.0-2557.jar:0.10.0.2.3.0.0-2557]
	at backtype.storm.utils.DisruptorQueue.consumeBatchWhenAvailable(DisruptorQueue.java:99) [storm-core-0.10.0.2.3.0.0-2557.jar:0.10.0.2.3.0.0-2557]
	at backtype.storm.disruptor$consume_batch_when_available.invoke(disruptor.clj:80) [storm-core-0.10.0.2.3.0.0-2557.jar:0.10.0.2.3.0.0-2557]
	at backtype.storm.daemon.executor$fn__7014$fn__7027$fn__7078.invoke(executor.clj:808) [storm-core-0.10.0.2.3.0.0-2557.jar:0.10.0.2.3.0.0-2557]
	at backtype.storm.util$async_loop$fn__545.invoke(util.clj:475) [storm-core-0.10.0.2.3.0.0-2557.jar:0.10.0.2.3.0.0-2557]
	at clojure.lang.AFn.run(AFn.java:22) [clojure-1.6.0.jar:na]
	at java.lang.Thread.run(Thread.java:745) [na:1.8.0_40]
2016-10-14 09:12:07 b.s.d.executor [ERROR] 
java.lang.NullPointerException: null
	at org.apache.metron.enrichment.bolt.EnrichmentJoinBolt.joinMessages(EnrichmentJoinBolt.java:76) ~[stormjar.jar:na]
	at org.apache.metron.enrichment.bolt.EnrichmentJoinBolt.joinMessages(EnrichmentJoinBolt.java:33) ~[stormjar.jar:na]
	at org.apache.metron.enrichment.bolt.JoinBolt.execute(JoinBolt.java:111) ~[stormjar.jar:na]
	at backtype.storm.daemon.executor$fn__7014$tuple_action_fn__7016.invoke(executor.clj:670) [storm-core-0.10.0.2.3.0.0-2557.jar:0.10.0.2.3.0.0-2557]
	at backtype.storm.daemon.executor$mk_task_receiver$fn__6937.invoke(executor.clj:426) [storm-core-0.10.0.2.3.0.0-2557.jar:0.10.0.2.3.0.0-2557]
	at backtype.storm.disruptor$clojure_handler$reify__6513.onEvent(disruptor.clj:58) [storm-core-0.10.0.2.3.0.0-2557.jar:0.10.0.2.3.0.0-2557]
	at backtype.storm.utils.DisruptorQueue.consumeBatchToCursor(DisruptorQueue.java:125) [storm-core-0.10.0.2.3.0.0-2557.jar:0.10.0.2.3.0.0-2557]
	at backtype.storm.utils.DisruptorQueue.consumeBatchWhenAvailable(DisruptorQueue.java:99) [storm-core-0.10.0.2.3.0.0-2557.jar:0.10.0.2.3.0.0-2557]
	at backtype.storm.disruptor$consume_batch_when_available.invoke(disruptor.clj:80) [storm-core-0.10.0.2.3.0.0-2557.jar:0.10.0.2.3.0.0-2557]
	at backtype.storm.daemon.executor$fn__7014$fn__7027$fn__7078.invoke(executor.clj:808) [storm-core-0.10.0.2.3.0.0-2557.jar:0.10.0.2.3.0.0-2557]
	at backtype.storm.util$async_loop$fn__545.invoke(util.clj:475) [storm-core-0.10.0.2.3.0.0-2557.jar:0.10.0.2.3.0.0-2557]
	at clojure.lang.AFn.run(AFn.java:22) [clojure-1.6.0.jar:na]
	at java.lang.Thread.run(Thread.java:745) [na:1.8.0_40]
2016-10-14 09:12:42 b.s.m.n.Server [INFO] Getting metrics for server on port 6703
2016-10-14 09:12:45 s.k.ZkCoordinator [INFO] Task [1/1] Refreshing partition manager connections
2016-10-14 09:12:45 s.k.DynamicBrokersReader [INFO] Read partition info from zookeeper: GlobalPartitionInformation{partitionMap={0=node1:6667}}
&lt;/PRE&gt;</description>
      <pubDate>Fri, 14 Oct 2016 16:24:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Metron-Error-enriching-squid-data-in-Storm/m-p/125055#M43242</guid>
      <dc:creator>aaron_harris</dc:creator>
      <dc:date>2016-10-14T16:24:07Z</dc:date>
    </item>
    <item>
      <title>Re: Metron - Error enriching squid data in Storm</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Metron-Error-enriching-squid-data-in-Storm/m-p/125056#M43243</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/13655/aaronharris.html" nodeid="13655"&gt;@Aaron Harris&lt;/A&gt;&lt;/P&gt;&lt;P&gt;First check HBase in Ambari to make sure it is green.   The threat intelligence enrichments are using hbase.&lt;/P&gt;&lt;P&gt;Another thing to check is the squid log that is sent to kafka.  One of the things I found with squid is that if you aren't constantly sending http requests to squid the logs roll over and there are no messages in the latest log.  In a production system where squid is routing user http request the log won't be empty.   I think you may be running into this problem:&lt;/P&gt;&lt;P&gt;Check the messages going to the squid topic.  It looks like they might be missing some information such as the source and dest ips.   An easy way to fix this is to do the squid requests again and populate the most recent log.&lt;/P&gt;&lt;P&gt;The squid messages should look something like this:&lt;/P&gt;&lt;P&gt;[vagrant@node1 ~]$ /usr/hdp/2.4.2.0-258/kafka/bin/kafka-console-consumer.sh --zookeeper localhost:2181 --topic squid --from-beginning&lt;/P&gt;&lt;P&gt;{metadata.broker.list=node1:6667, request.timeout.ms=30000, client.id=console-consumer-31722, security.protocol=PLAINTEXT}&lt;/P&gt;&lt;P&gt;1476285641.838   1439 127.0.0.1 TCP_MISS/200 457194 GET &lt;A href="http://www.aliexpress.com/af/shoes.html" target="_blank"&gt;http://www.aliexpress.com/af/shoes.html&lt;/A&gt;? - DIRECT/104.81.164.40 text/html&lt;/P&gt;&lt;P&gt;1476285642.545    704 127.0.0.1 TCP_MISS/200 40385 GET &lt;A href="http://www.help.1and1.co.uk/domains-c40986/transfer-domains-c79878" target="_blank"&gt;http://www.help.1and1.co.uk/domains-c40986/transfer-domains-c79878&lt;/A&gt; - DIRECT/212.227.34.3 text/html&lt;/P&gt;&lt;P&gt;1476285644.617   2068 127.0.0.1 TCP_MISS/200 177264 GET &lt;A href="http://www.pravda.ru/science/" target="_blank"&gt;http://www.pravda.ru/science/&lt;/A&gt; - DIRECT/185.103.135.90 text/html&lt;/P&gt;&lt;P&gt;Then check the squid messages going to the enrichments topic.  They should look something like this:&lt;/P&gt;&lt;P&gt;[vagrant@node1 ~]$ /usr/hdp/2.4.2.0-258/kafka/bin/kafka-console-consumer.sh --zookeeper localhost:2181 --topic enrichments --from-beginning | grep squid&lt;/P&gt;&lt;P&gt;{"full_hostname":"www.aliexpress.com","code":200,"method":"GET","url":"http:\/\/www.aliexpress.com\/af\/shoes.html?","source.type":"squid","elapsed":1439,"ip_dst_addr":"104.81.164.40","original_string":"1476285641.838   1439 127.0.0.1 TCP_MISS\/200 457194 GET http:\/\/www.aliexpress.com\/af\/shoes.html? - DIRECT\/104.81.164.40 text\/html","bytes":457194,"domain_without_subdomains":"aliexpress.com","action":"TCP_MISS","ip_src_addr":"127.0.0.1","timestamp":1476285641838}&lt;/P&gt;&lt;P&gt;{"full_hostname":"www.help.1and1.co.uk","code":200,"method":"GET","url":"http:\/\/www.help.1and1.co.uk\/domains-c40986\/transfer-domains-c79878","source.type":"squid","elapsed":704,"ip_dst_addr":"212.227.34.3","original_string":"1476285642.545    704 127.0.0.1 TCP_MISS\/200 40385 GET http:\/\/www.help.1and1.co.uk\/domains-c40986\/transfer-domains-c79878 - DIRECT\/212.227.34.3 text\/html","bytes":40385,"domain_without_subdomains":"1and1.co.uk","action":"TCP_MISS","ip_src_addr":"127.0.0.1","timestamp":1476285642545}&lt;/P&gt;</description>
      <pubDate>Fri, 14 Oct 2016 21:51:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Metron-Error-enriching-squid-data-in-Storm/m-p/125056#M43243</guid>
      <dc:creator>Carolyn</dc:creator>
      <dc:date>2016-10-14T21:51:22Z</dc:date>
    </item>
    <item>
      <title>Re: Metron - Error enriching squid data in Storm</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Metron-Error-enriching-squid-data-in-Storm/m-p/125057#M43244</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/12116/cduby.html" nodeid="12116"&gt;@cduby&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Thanks for all your help along the way I think I am finally up and running now.&lt;/P&gt;&lt;P&gt;Found the issue with the enrichments, it was that the squid logs I had generated were missing the destination IP address, once I regenerated these, cleared the kafka queues and restarted the topologies the data started flowing through into elastic index.&lt;/P&gt;&lt;P&gt;Then to get around the timestamp issue I had to curl in a template to elastic to create a template for the squid data with the timestamp field specified as a date as below;&lt;/P&gt;&lt;PRE&gt;curl -XPUT &lt;A href="http://node1:9200/_template/squid"&gt;http://node1:9200/_template/squid&lt;/A&gt; -d '{"template":"squid*","mappings": {"squid*": {"properties": {"timestamp": { "type": "date" }}}}}'
&lt;/PRE&gt;</description>
      <pubDate>Mon, 17 Oct 2016 17:36:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Metron-Error-enriching-squid-data-in-Storm/m-p/125057#M43244</guid>
      <dc:creator>aaron_harris</dc:creator>
      <dc:date>2016-10-17T17:36:39Z</dc:date>
    </item>
    <item>
      <title>Re: Metron - Error enriching squid data in Storm</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Metron-Error-enriching-squid-data-in-Storm/m-p/125058#M43245</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/13655/aaronharris.html" nodeid="13655"&gt;@Aaron Harris&lt;/A&gt; Glad you are up and running!   &lt;/P&gt;</description>
      <pubDate>Mon, 17 Oct 2016 18:51:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Metron-Error-enriching-squid-data-in-Storm/m-p/125058#M43245</guid>
      <dc:creator>Carolyn</dc:creator>
      <dc:date>2016-10-17T18:51:52Z</dc:date>
    </item>
  </channel>
</rss>

