<?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 Apache Metron Alerts UI not showing any alerts in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Apache-Metron-Alerts-UI-not-showing-any-alerts/m-p/305374#M222420</link>
    <description>&lt;P&gt;Hello, Hope all of you are fine,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I recently started learning Apache Metron and I have been performing the squid tutorial for the last week.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;(I installed HDP 3.1.4 on Ambari 2.7.3 with HCP 2.0.0.0)&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;The problem I am facing is that my logs aren't showing the the alerts UI.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have already defined a elasticsearch index template with the two fields "&lt;STRONG&gt;metron_alert&lt;/STRONG&gt;" and "&lt;STRONG&gt;alert&lt;/STRONG&gt;"&lt;/P&gt;
&lt;P&gt;Here is the sensor information&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="t_n.PNG" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/29328i2AE8430393FB5413/image-size/medium?v=v2&amp;amp;px=400" role="button" title="t_n.PNG" alt="t_n.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;parser logs are being created in kibana &lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kib.PNG" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/29330i0282D7F4759497C5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kib.PNG" alt="kib.PNG" /&gt;&lt;/span&gt; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Below is the index template&lt;/P&gt;
&lt;P&gt;when you run&amp;nbsp;&lt;/P&gt;
&lt;P&gt;GET alert_ui_test_*&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="alert_ui.PNG" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/29331iDC045330CA4018E2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="alert_ui.PNG" alt="alert_ui.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="aler.PNG" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/29332i59ECAA45FA5E9455/image-size/medium?v=v2&amp;amp;px=400" role="button" title="aler.PNG" alt="aler.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Below is the sensor and enrichment config&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sensor_conf.PNG" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/29333iB73B3DCE12D36992/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sensor_conf.PNG" alt="sensor_conf.PNG" /&gt;&lt;/span&gt; &lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="enrich_conf.PNG" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/29334i154CCCED32DE2D41/image-size/medium?v=v2&amp;amp;px=400" role="button" title="enrich_conf.PNG" alt="enrich_conf.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;When I see the logs at /var/log/metron/metron-rest.log&lt;/P&gt;
&lt;P&gt;I see this error , but not sure about what it is&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="erro.PNG" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/29335i11B2C11234DEDD10/image-size/medium?v=v2&amp;amp;px=400" role="button" title="erro.PNG" alt="erro.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;</description>
    <pubDate>Fri, 16 Sep 2022 14:39:17 GMT</pubDate>
    <dc:creator>Mustafa_</dc:creator>
    <dc:date>2022-09-16T14:39:17Z</dc:date>
    <item>
      <title>Apache Metron Alerts UI not showing any alerts</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Apache-Metron-Alerts-UI-not-showing-any-alerts/m-p/305374#M222420</link>
      <description>&lt;P&gt;Hello, Hope all of you are fine,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I recently started learning Apache Metron and I have been performing the squid tutorial for the last week.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;(I installed HDP 3.1.4 on Ambari 2.7.3 with HCP 2.0.0.0)&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;The problem I am facing is that my logs aren't showing the the alerts UI.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have already defined a elasticsearch index template with the two fields "&lt;STRONG&gt;metron_alert&lt;/STRONG&gt;" and "&lt;STRONG&gt;alert&lt;/STRONG&gt;"&lt;/P&gt;
&lt;P&gt;Here is the sensor information&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="t_n.PNG" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/29328i2AE8430393FB5413/image-size/medium?v=v2&amp;amp;px=400" role="button" title="t_n.PNG" alt="t_n.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;parser logs are being created in kibana &lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kib.PNG" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/29330i0282D7F4759497C5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kib.PNG" alt="kib.PNG" /&gt;&lt;/span&gt; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Below is the index template&lt;/P&gt;
&lt;P&gt;when you run&amp;nbsp;&lt;/P&gt;
&lt;P&gt;GET alert_ui_test_*&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="alert_ui.PNG" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/29331iDC045330CA4018E2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="alert_ui.PNG" alt="alert_ui.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="aler.PNG" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/29332i59ECAA45FA5E9455/image-size/medium?v=v2&amp;amp;px=400" role="button" title="aler.PNG" alt="aler.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Below is the sensor and enrichment config&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sensor_conf.PNG" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/29333iB73B3DCE12D36992/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sensor_conf.PNG" alt="sensor_conf.PNG" /&gt;&lt;/span&gt; &lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="enrich_conf.PNG" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/29334i154CCCED32DE2D41/image-size/medium?v=v2&amp;amp;px=400" role="button" title="enrich_conf.PNG" alt="enrich_conf.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;When I see the logs at /var/log/metron/metron-rest.log&lt;/P&gt;
&lt;P&gt;I see this error , but not sure about what it is&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="erro.PNG" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/29335i11B2C11234DEDD10/image-size/medium?v=v2&amp;amp;px=400" role="button" title="erro.PNG" alt="erro.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 14:39:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Apache-Metron-Alerts-UI-not-showing-any-alerts/m-p/305374#M222420</guid>
      <dc:creator>Mustafa_</dc:creator>
      <dc:date>2022-09-16T14:39:17Z</dc:date>
    </item>
    <item>
      <title>Re: Apache Metron Alerts UI not showing any alerts</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Apache-Metron-Alerts-UI-not-showing-any-alerts/m-p/305476#M222459</link>
      <description>&lt;P&gt;Issue is resolved. It seems that for some reason my hbase tables 'user_settings' and 'metron_update' that were mentioned in the zookeeper global config file of metron were not present in my hbase.&lt;/P&gt;&lt;P&gt;Simply creating the tables in hbase resolved the issue and updates appeared in the alerts ui.&lt;/P&gt;&lt;P&gt;I used the following commands&amp;nbsp;&lt;/P&gt;&lt;P&gt;hbase shell&lt;/P&gt;&lt;P&gt;create 'user_settings' , 'cf'&lt;/P&gt;&lt;P&gt;create 'metron_update' , 't'&lt;/P&gt;</description>
      <pubDate>Thu, 05 Nov 2020 11:13:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Apache-Metron-Alerts-UI-not-showing-any-alerts/m-p/305476#M222459</guid>
      <dc:creator>Mustafa_</dc:creator>
      <dc:date>2020-11-05T11:13:19Z</dc:date>
    </item>
  </channel>
</rss>

