<?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 Alert UI: indexing error with elasticsearch in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Metron-Alert-UI-indexing-error-with-elasticsearch/m-p/239195#M85600</link>
    <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/99539/xarulamim.html" nodeid="99539"&gt;@Amirul&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Yes, you need to create a template. Best way of creating it, is using an existing one of the example parsers that are delivered with HCP/Metron and modifying it to fit your new parser.&lt;/P&gt;&lt;P&gt;You'd need at least a section in that template with:&lt;/P&gt;&lt;PRE&gt;      "metron_alert" : {
      "type" : "nested"
    }&lt;/PRE&gt;&lt;P&gt;Here, I've written a small blog post about what you need to take care about, when you create a template:&lt;/P&gt;&lt;P&gt;&lt;A href="https://datahovel.com/2018/11/27/how-to-define-elastic-search-templates-for-apache-metron/" target="_blank"&gt;https://datahovel.com/2018/11/27/how-to-define-elastic-search-templates-for-apache-metron/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Here is the official documentation that describes that you need a template:&lt;/P&gt;&lt;P&gt;&lt;A href="https://metron.apache.org/current-book/metron-platform/metron-elasticsearch/index.html" target="_blank"&gt;https://metron.apache.org/current-book/metron-platform/metron-elasticsearch/index.html&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 19 Dec 2018 04:39:50 GMT</pubDate>
    <dc:creator>StefanDunkler</dc:creator>
    <dc:date>2018-12-19T04:39:50Z</dc:date>
    <item>
      <title>Metron Alert UI: indexing error with elasticsearch</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Metron-Alert-UI-indexing-error-with-elasticsearch/m-p/239194#M85599</link>
      <description>&lt;P&gt;
	Hi,&lt;/P&gt;&lt;P&gt;
	I already configure apache metron using hcp 1.7.1 with ambari 2.6.2 on bare 
metal (single node) os centos 7. The problem was the alert UI page does 
not working properly. There are data on the alert UI page but contains 
error log file "metron-rest.log".
&lt;/P&gt;&lt;PRE&gt;nested: IllegalStateException[[nested] failed to find nested object under path [metron_alert]&lt;/PRE&gt;&lt;P&gt;
	The parser used suricata 'eve.json' file, that load into nifi and from nifi to kafka. The topology on storm are created the parser used ' JSONMap '. Based on error on log file, that nested on elasticsearch indexing. After follow this link &lt;/P&gt;&lt;PRE&gt;&lt;A href="https://metron.apache.org/current-book/metron-platform/metron-elasticsearch/index.html" target="_blank"&gt;https://metron.apache.org/current-book/metron-platform/metron-elasticsearch/index.html&lt;/A&gt;&lt;/PRE&gt;&lt;P&gt;It solved the issue temporarily, but the error comes up again when elasticsearch create new index. Did i need create a template for solve this issue or any other fix?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Dec 2018 04:33:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Metron-Alert-UI-indexing-error-with-elasticsearch/m-p/239194#M85599</guid>
      <dc:creator>xarulamim</dc:creator>
      <dc:date>2018-12-19T04:33:44Z</dc:date>
    </item>
    <item>
      <title>Re: Metron Alert UI: indexing error with elasticsearch</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Metron-Alert-UI-indexing-error-with-elasticsearch/m-p/239195#M85600</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/99539/xarulamim.html" nodeid="99539"&gt;@Amirul&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Yes, you need to create a template. Best way of creating it, is using an existing one of the example parsers that are delivered with HCP/Metron and modifying it to fit your new parser.&lt;/P&gt;&lt;P&gt;You'd need at least a section in that template with:&lt;/P&gt;&lt;PRE&gt;      "metron_alert" : {
      "type" : "nested"
    }&lt;/PRE&gt;&lt;P&gt;Here, I've written a small blog post about what you need to take care about, when you create a template:&lt;/P&gt;&lt;P&gt;&lt;A href="https://datahovel.com/2018/11/27/how-to-define-elastic-search-templates-for-apache-metron/" target="_blank"&gt;https://datahovel.com/2018/11/27/how-to-define-elastic-search-templates-for-apache-metron/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Here is the official documentation that describes that you need a template:&lt;/P&gt;&lt;P&gt;&lt;A href="https://metron.apache.org/current-book/metron-platform/metron-elasticsearch/index.html" target="_blank"&gt;https://metron.apache.org/current-book/metron-platform/metron-elasticsearch/index.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Dec 2018 04:39:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Metron-Alert-UI-indexing-error-with-elasticsearch/m-p/239195#M85600</guid>
      <dc:creator>StefanDunkler</dc:creator>
      <dc:date>2018-12-19T04:39:50Z</dc:date>
    </item>
    <item>
      <title>Re: Metron Alert UI: indexing error with elasticsearch</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Metron-Alert-UI-indexing-error-with-elasticsearch/m-p/239196#M85601</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/17971/sdunkler.html" nodeid="17971"&gt;@Stefan Kupstaitis-Dunkler&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Thanks for your answer and thanks for the link.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Dec 2018 04:47:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Metron-Alert-UI-indexing-error-with-elasticsearch/m-p/239196#M85601</guid>
      <dc:creator>xarulamim</dc:creator>
      <dc:date>2018-12-19T04:47:21Z</dc:date>
    </item>
  </channel>
</rss>

