You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@metron.apache.org by ma...@apache.org on 2017/12/19 10:59:31 UTC

svn commit: r23800 [14/24] - in /dev/metron/0.4.2-RC2: ./ site-book/ site-book/css/ site-book/images/ site-book/images/logos/ site-book/images/profiles/ site-book/img/ site-book/js/ site-book/metron-analytics/ site-book/metron-analytics/metron-maas-ser...

Added: dev/metron/0.4.2-RC2/site-book/metron-interface/metron-config/index.html
==============================================================================
--- dev/metron/0.4.2-RC2/site-book/metron-interface/metron-config/index.html (added)
+++ dev/metron/0.4.2-RC2/site-book/metron-interface/metron-config/index.html Tue Dec 19 10:59:31 2017
@@ -0,0 +1,348 @@
+<!DOCTYPE html>
+<!--
+ | Generated by Apache Maven Doxia at 2017-12-08
+ | Rendered using Apache Maven Fluido Skin 1.3.0
+-->
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+  <head>
+    <meta charset="UTF-8" />
+    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
+    <meta name="Date-Revision-yyyymmdd" content="20171208" />
+    <meta http-equiv="Content-Language" content="en" />
+    <title>Metron &#x2013; Metron Management UI</title>
+    <link rel="stylesheet" href="../../css/apache-maven-fluido-1.3.0.min.css" />
+    <link rel="stylesheet" href="../../css/site.css" />
+    <link rel="stylesheet" href="../../css/print.css" media="print" />
+
+      
+    <script type="text/javascript" src="../../js/apache-maven-fluido-1.3.0.min.js"></script>
+
+                          
+        
+<script type="text/javascript">$( document ).ready( function() { $( '.carousel' ).carousel( { interval: 3500 } ) } );</script>
+          
+            </head>
+        <body class="topBarDisabled">
+          
+                
+                    
+    
+        <div class="container-fluid">
+          <div id="banner">
+        <div class="pull-left">
+                                    <a href="http://metron.apache.org/" id="bannerLeft">
+                                                                                                <img src="../../images/metron-logo.png"  alt="Apache Metron" width="148px" height="48px"/>
+                </a>
+                      </div>
+        <div class="pull-right">  </div>
+        <div class="clear"><hr/></div>
+      </div>
+
+      <div id="breadcrumbs">
+        <ul class="breadcrumb">
+                
+                    
+                              <li class="">
+                    <a href="http://www.apache.org" class="externalLink" title="Apache">
+        Apache</a>
+        </li>
+      <li class="divider ">/</li>
+            <li class="">
+                    <a href="http://metron.apache.org/" class="externalLink" title="Metron">
+        Metron</a>
+        </li>
+      <li class="divider ">/</li>
+            <li class="">
+                    <a href="../../index.html" title="Documentation">
+        Documentation</a>
+        </li>
+      <li class="divider ">/</li>
+        <li class="">Metron Management UI</li>
+        
+                
+                    
+                  <li id="publishDate" class="pull-right">Last Published: 2017-12-08</li> <li class="divider pull-right">|</li>
+              <li id="projectVersion" class="pull-right">Version: 0.4.2</li>
+            
+                            </ul>
+      </div>
+
+            
+      <div class="row-fluid">
+        <div id="leftColumn" class="span3">
+          <div class="well sidebar-nav">
+                
+                    
+                <ul class="nav nav-list">
+                    <li class="nav-header">User Documentation</li>
+                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     
                                                                          
+      <li>
+    
+                          <a href="../../index.html" title="Metron">
+          <i class="icon-chevron-down"></i>
+        Metron</a>
+                    <ul class="nav nav-list">
+                      
+      <li>
+    
+                          <a href="../../Upgrading.html" title="Upgrading">
+          <i class="none"></i>
+        Upgrading</a>
+            </li>
+                                                                                                                                                      
+      <li>
+    
+                          <a href="../../metron-analytics/index.html" title="Analytics">
+          <i class="icon-chevron-right"></i>
+        Analytics</a>
+                  </li>
+                      
+      <li>
+    
+                          <a href="../../metron-contrib/metron-docker/index.html" title="Docker">
+          <i class="none"></i>
+        Docker</a>
+            </li>
+                                                                                                                                                                                                                                                                                                                                                                                                            
+      <li>
+    
+                          <a href="../../metron-deployment/index.html" title="Deployment">
+          <i class="icon-chevron-right"></i>
+        Deployment</a>
+                  </li>
+                      
+      <li>
+    
+                          <a href="../../metron-interface/metron-alerts/index.html" title="Alerts">
+          <i class="none"></i>
+        Alerts</a>
+            </li>
+                      
+      <li class="active">
+    
+            <a href="#"><i class="none"></i>Config</a>
+          </li>
+                      
+      <li>
+    
+                          <a href="../../metron-interface/metron-rest/index.html" title="Rest">
+          <i class="none"></i>
+        Rest</a>
+            </li>
+                                                                                                                                                                                                                                                                                    
+      <li>
+    
+                          <a href="../../metron-platform/index.html" title="Platform">
+          <i class="icon-chevron-right"></i>
+        Platform</a>
+                  </li>
+                                                                                          
+      <li>
+    
+                          <a href="../../metron-sensors/index.html" title="Sensors">
+          <i class="icon-chevron-right"></i>
+        Sensors</a>
+                  </li>
+                      
+      <li>
+    
+                          <a href="../../metron-stellar/stellar-3rd-party-example/index.html" title="Stellar-3rd-party-example">
+          <i class="none"></i>
+        Stellar-3rd-party-example</a>
+            </li>
+                                                                        
+      <li>
+    
+                          <a href="../../metron-stellar/stellar-common/index.html" title="Stellar-common">
+          <i class="icon-chevron-right"></i>
+        Stellar-common</a>
+                  </li>
+                                                                                          
+      <li>
+    
+                          <a href="../../use-cases/index.html" title="Use-cases">
+          <i class="icon-chevron-right"></i>
+        Use-cases</a>
+                  </li>
+              </ul>
+        </li>
+            </ul>
+                
+                    
+                
+          <hr class="divider" />
+
+           <div id="poweredBy">
+                            <div class="clear"></div>
+                            <div class="clear"></div>
+                            <div class="clear"></div>
+                             <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
+        <img class="builtBy" alt="Built by Maven" src="../../images/logos/maven-feather.png" />
+      </a>
+                  </div>
+          </div>
+        </div>
+        
+                
+        <div id="bodyColumn"  class="span9" >
+                                  
+            <h1>Metron Management UI</h1>
+<p><a name="Metron_Management_UI"></a></p>
+<p>This module provides a user interface for management functions in Metron.</p>
+<div class="section">
+<h2><a name="Prerequisites"></a>Prerequisites</h2>
+
+<ul>
+  
+<li>A network accessible Metron REST application</li>
+  
+<li>nodejs v6.9+ (nodejs can be installed on Full Dev with <tt>curl --silent --location https://rpm.nodesource.com/setup_6.x | bash - &amp;&amp; yum install -y nodejs</tt>)</li>
+</ul></div>
+<div class="section">
+<h2><a name="Installation"></a>Installation</h2>
+<div class="section">
+<h3><a name="From_Source"></a>From Source</h3>
+
+<ol style="list-style-type: decimal">
+  
+<li>
+<p>Package the application with Maven:</p>
+  
+<div class="source">
+<div class="source">
+<pre>cd metron-interface/metron-config
+mvn clean package
+</pre></div></div></li>
+  
+<li>
+<p>Untar the archive in the $METRON_HOME directory. The directory structure will look like:</p>
+  
+<div class="source">
+<div class="source">
+<pre>bin
+  metron-management-ui
+web
+  expressjs
+    package.json
+    server.js
+  management-ui
+    web assets (html, css, js, ...)
+</pre></div></div></li>
+  
+<li>
+<p>Copy the <tt>$METRON_HOME/bin/metron-management-ui</tt> script to <tt>/etc/init.d/metron-management-ui</tt></p></li>
+  
+<li>
+<p>Install the <a class="externalLink" href="https://expressjs.com/">Express</a> web framework from the <tt>package.json</tt> file in <tt>$METRON_HOME/web/expressjs</tt>:</p>
+  
+<div class="source">
+<div class="source">
+<pre>npm --prefix $METRON_HOME/web/expressjs/ install
+</pre></div></div></li>
+</ol></div>
+<div class="section">
+<h3><a name="From_Package_Manager"></a>From Package Manager</h3>
+
+<ol style="list-style-type: decimal">
+  
+<li>
+<p>Deploy the RPM at <tt>/metron/metron-deployment/packaging/docker/rpm-docker/target/RPMS/noarch/metron-config-$METRON_VERSION-*.noarch.rpm</tt></p></li>
+  
+<li>
+<p>Install the RPM with:</p>
+  
+<div class="source">
+<div class="source">
+<pre>rpm -ih metron-config-$METRON_VERSION-*.noarch.rpm
+</pre></div></div></li>
+</ol></div></div>
+<div class="section">
+<h2><a name="Configuration"></a>Configuration</h2>
+<p>The Managment UI is configured in the <tt>$METRON_HOME/config/management_ui.yml</tt> file. Create this file and set the values to match your environment:</p>
+
+<div class="source">
+<div class="source">
+<pre>port: port the managment UI will run on
+
+rest:
+  host: REST application host
+  port: REST applciation port
+</pre></div></div></div>
+<div class="section">
+<h2><a name="Usage"></a>Usage</h2>
+<p>After configuration is complete, the Management UI can be managed as a service:</p>
+
+<div class="source">
+<div class="source">
+<pre>service metron-management-ui start
+</pre></div></div>
+<p>The application will be available at <a class="externalLink" href="http://host:4200">http://host:4200</a> assuming the port is set to <tt>4200</tt>. Logs can be found at <tt>/var/log/metron/metron-management-ui.log</tt>.</p></div>
+<div class="section">
+<h2><a name="Development"></a>Development</h2>
+<p>The Management UI can also be started in development mode. This allows changes to web assets to be seen interactively.</p>
+
+<ol style="list-style-type: decimal">
+  
+<li>
+<p>Install the application with dev dependencies:</p>
+  
+<div class="source">
+<div class="source">
+<pre>cd metron-interface/metron-config
+npm install
+</pre></div></div></li>
+  
+<li>
+<p>Start the application:</p>
+  
+<div class="source">
+<div class="source">
+<pre>./scripts/start_dev.sh
+</pre></div></div></li>
+</ol>
+<p>The application will be available at <a class="externalLink" href="http://localhost:4200/">http://localhost:4200/</a>. The REST application url defaults to <tt>http://localhost:8080</tt> but can be changed in the <tt>proxy.conf.json</tt> file.</p></div>
+<div class="section">
+<h2><a name="Testing"></a>Testing</h2>
+
+<ol style="list-style-type: decimal">
+  
+<li>
+<p>Install the application with dev dependencies:</p>
+  
+<div class="source">
+<div class="source">
+<pre>cd metron-interface/metron-config
+npm install
+</pre></div></div></li>
+  
+<li>
+<p>Unit tests can be run with:</p>
+  
+<div class="source">
+<div class="source">
+<pre>npm test
+</pre></div></div></li>
+</ol></div>
+<div class="section">
+<h2><a name="License"></a>License</h2>
+<p>This projects bundles Font Awesome which is available under the SIL Open Font License. See <a class="externalLink" href="http://fontawesome.io/license/">http://fontawesome.io/license/</a> for more details.</p></div>
+                  </div>
+            </div>
+          </div>
+
+    <hr/>
+
+    <footer>
+            <div class="container-fluid">
+              <div class="row span12">Copyright &copy;                    2017
+                        <a href="https://www.apache.org">The Apache Software Foundation</a>.
+            All Rights Reserved.      
+                    
+      </div>
+
+                          
+        
+                </div>
+    </footer>
+  </body>
+</html>

Added: dev/metron/0.4.2-RC2/site-book/metron-interface/metron-rest/index.html
==============================================================================
--- dev/metron/0.4.2-RC2/site-book/metron-interface/metron-rest/index.html (added)
+++ dev/metron/0.4.2-RC2/site-book/metron-interface/metron-rest/index.html Tue Dec 19 10:59:31 2017
@@ -0,0 +1,2564 @@
+<!DOCTYPE html>
+<!--
+ | Generated by Apache Maven Doxia at 2017-12-08
+ | Rendered using Apache Maven Fluido Skin 1.3.0
+-->
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+  <head>
+    <meta charset="UTF-8" />
+    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
+    <meta name="Date-Revision-yyyymmdd" content="20171208" />
+    <meta http-equiv="Content-Language" content="en" />
+    <title>Metron &#x2013; Metron REST</title>
+    <link rel="stylesheet" href="../../css/apache-maven-fluido-1.3.0.min.css" />
+    <link rel="stylesheet" href="../../css/site.css" />
+    <link rel="stylesheet" href="../../css/print.css" media="print" />
+
+      
+    <script type="text/javascript" src="../../js/apache-maven-fluido-1.3.0.min.js"></script>
+
+                          
+        
+<script type="text/javascript">$( document ).ready( function() { $( '.carousel' ).carousel( { interval: 3500 } ) } );</script>
+          
+            </head>
+        <body class="topBarDisabled">
+          
+                
+                    
+    
+        <div class="container-fluid">
+          <div id="banner">
+        <div class="pull-left">
+                                    <a href="http://metron.apache.org/" id="bannerLeft">
+                                                                                                <img src="../../images/metron-logo.png"  alt="Apache Metron" width="148px" height="48px"/>
+                </a>
+                      </div>
+        <div class="pull-right">  </div>
+        <div class="clear"><hr/></div>
+      </div>
+
+      <div id="breadcrumbs">
+        <ul class="breadcrumb">
+                
+                    
+                              <li class="">
+                    <a href="http://www.apache.org" class="externalLink" title="Apache">
+        Apache</a>
+        </li>
+      <li class="divider ">/</li>
+            <li class="">
+                    <a href="http://metron.apache.org/" class="externalLink" title="Metron">
+        Metron</a>
+        </li>
+      <li class="divider ">/</li>
+            <li class="">
+                    <a href="../../index.html" title="Documentation">
+        Documentation</a>
+        </li>
+      <li class="divider ">/</li>
+        <li class="">Metron REST</li>
+        
+                
+                    
+                  <li id="publishDate" class="pull-right">Last Published: 2017-12-08</li> <li class="divider pull-right">|</li>
+              <li id="projectVersion" class="pull-right">Version: 0.4.2</li>
+            
+                            </ul>
+      </div>
+
+            
+      <div class="row-fluid">
+        <div id="leftColumn" class="span3">
+          <div class="well sidebar-nav">
+                
+                    
+                <ul class="nav nav-list">
+                    <li class="nav-header">User Documentation</li>
+                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     
                                                                          
+      <li>
+    
+                          <a href="../../index.html" title="Metron">
+          <i class="icon-chevron-down"></i>
+        Metron</a>
+                    <ul class="nav nav-list">
+                      
+      <li>
+    
+                          <a href="../../Upgrading.html" title="Upgrading">
+          <i class="none"></i>
+        Upgrading</a>
+            </li>
+                                                                                                                                                      
+      <li>
+    
+                          <a href="../../metron-analytics/index.html" title="Analytics">
+          <i class="icon-chevron-right"></i>
+        Analytics</a>
+                  </li>
+                      
+      <li>
+    
+                          <a href="../../metron-contrib/metron-docker/index.html" title="Docker">
+          <i class="none"></i>
+        Docker</a>
+            </li>
+                                                                                                                                                                                                                                                                                                                                                                                                            
+      <li>
+    
+                          <a href="../../metron-deployment/index.html" title="Deployment">
+          <i class="icon-chevron-right"></i>
+        Deployment</a>
+                  </li>
+                      
+      <li>
+    
+                          <a href="../../metron-interface/metron-alerts/index.html" title="Alerts">
+          <i class="none"></i>
+        Alerts</a>
+            </li>
+                      
+      <li>
+    
+                          <a href="../../metron-interface/metron-config/index.html" title="Config">
+          <i class="none"></i>
+        Config</a>
+            </li>
+                      
+      <li class="active">
+    
+            <a href="#"><i class="none"></i>Rest</a>
+          </li>
+                                                                                                                                                                                                                                                                                    
+      <li>
+    
+                          <a href="../../metron-platform/index.html" title="Platform">
+          <i class="icon-chevron-right"></i>
+        Platform</a>
+                  </li>
+                                                                                          
+      <li>
+    
+                          <a href="../../metron-sensors/index.html" title="Sensors">
+          <i class="icon-chevron-right"></i>
+        Sensors</a>
+                  </li>
+                      
+      <li>
+    
+                          <a href="../../metron-stellar/stellar-3rd-party-example/index.html" title="Stellar-3rd-party-example">
+          <i class="none"></i>
+        Stellar-3rd-party-example</a>
+            </li>
+                                                                        
+      <li>
+    
+                          <a href="../../metron-stellar/stellar-common/index.html" title="Stellar-common">
+          <i class="icon-chevron-right"></i>
+        Stellar-common</a>
+                  </li>
+                                                                                          
+      <li>
+    
+                          <a href="../../use-cases/index.html" title="Use-cases">
+          <i class="icon-chevron-right"></i>
+        Use-cases</a>
+                  </li>
+              </ul>
+        </li>
+            </ul>
+                
+                    
+                
+          <hr class="divider" />
+
+           <div id="poweredBy">
+                            <div class="clear"></div>
+                            <div class="clear"></div>
+                            <div class="clear"></div>
+                             <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
+        <img class="builtBy" alt="Built by Maven" src="../../images/logos/maven-feather.png" />
+      </a>
+                  </div>
+          </div>
+        </div>
+        
+                
+        <div id="bodyColumn"  class="span9" >
+                                  
+            <h1>Metron REST</h1>
+<p><a name="Metron_REST"></a></p>
+<p>This module provides a RESTful API for interacting with Metron.</p>
+<div class="section">
+<h2><a name="Prerequisites"></a>Prerequisites</h2>
+
+<ul>
+  
+<li>A running Metron cluster</li>
+  
+<li>Java 8 installed</li>
+  
+<li>Storm CLI and Metron topology scripts (start_parser_topology.sh, start_enrichment_topology.sh, start_elasticsearch_topology.sh) installed</li>
+  
+<li>A relational database</li>
+</ul></div>
+<div class="section">
+<h2><a name="Installation"></a>Installation</h2>
+<div class="section">
+<h3><a name="From_Source"></a>From Source</h3>
+
+<ol style="list-style-type: decimal">
+  
+<li>
+<p>Package the application with Maven:</p>
+  
+<div class="source">
+<div class="source">
+<pre>mvn clean package
+</pre></div></div></li>
+  
+<li>
+<p>Untar the archive in the $METRON_HOME directory. The directory structure will look like:</p>
+  
+<div class="source">
+<div class="source">
+<pre>config
+  rest_application.yml
+bin
+  metron-rest
+lib
+  metron-rest-$METRON_VERSION.jar
+</pre></div></div></li>
+  
+<li>
+<p>Copy the <tt>$METRON_HOME/bin/metron-rest</tt> script to <tt>/etc/init.d/metron-rest</tt></p></li>
+</ol></div>
+<div class="section">
+<h3><a name="From_Package_Manager"></a>From Package Manager</h3>
+
+<ol style="list-style-type: decimal">
+  
+<li>
+<p>Deploy the RPM at <tt>/metron/metron-deployment/packaging/docker/rpm-docker/target/RPMS/noarch/metron-rest-$METRON_VERSION-*.noarch.rpm</tt></p></li>
+  
+<li>
+<p>Install the RPM with:</p>
+  
+<div class="source">
+<div class="source">
+<pre>rpm -ih metron-rest-$METRON_VERSION-*.noarch.rpm
+</pre></div></div></li>
+</ol></div></div>
+<div class="section">
+<h2><a name="Configuration"></a>Configuration</h2>
+<p>The REST application depends on several configuration parameters:</p>
+<div class="section">
+<h3><a name="REQUIRED"></a>REQUIRED</h3>
+<p>No optional parameter has a default.</p>
+
+<table border="0" class="table table-striped">
+  <thead>
+    
+<tr class="a">
+      
+<th>Environment Variable </th>
+      
+<th>Description</th>
+    </tr>
+  </thead>
+  <tbody>
+    
+<tr class="b">
+      
+<td>METRON_JDBC_DRIVER </td>
+      
+<td>JDBC driver class</td>
+    </tr>
+    
+<tr class="a">
+      
+<td>METRON_JDBC_URL </td>
+      
+<td>JDBC url</td>
+    </tr>
+    
+<tr class="b">
+      
+<td>METRON_JDBC_USERNAME </td>
+      
+<td>JDBC username</td>
+    </tr>
+    
+<tr class="a">
+      
+<td>METRON_JDBC_PLATFORM </td>
+      
+<td>JDBC platform (one of h2, mysql, postgres, oracle</td>
+    </tr>
+    
+<tr class="b">
+      
+<td>ZOOKEEPER </td>
+      
+<td>Zookeeper quorum (ex. node1:2181,node2:2181)</td>
+    </tr>
+    
+<tr class="a">
+      
+<td>BROKERLIST </td>
+      
+<td>Kafka Broker list (ex. node1:6667,node2:6667)</td>
+    </tr>
+    
+<tr class="b">
+      
+<td>HDFS_URL </td>
+      
+<td>HDFS url or <tt>fs.defaultFS</tt> Hadoop setting (ex. <a class="externalLink" href="hdfs://node1:8020">hdfs://node1:8020</a>)</td>
+    </tr>
+  </tbody>
+</table></div>
+<div class="section">
+<h3><a name="Optional_-_With_Defaults"></a>Optional - With Defaults</h3>
+
+<table border="0" class="table table-striped">
+  <thead>
+    
+<tr class="a">
+      
+<th>Environment Variable </th>
+      
+<th>Description </th>
+      
+<th>Required </th>
+      
+<th>Default</th>
+    </tr>
+  </thead>
+  <tbody>
+    
+<tr class="b">
+      
+<td>METRON_LOG_DIR </td>
+      
+<td>Directory where the log file is written </td>
+      
+<td>Optional </td>
+      
+<td>/var/log/metron/</td>
+    </tr>
+    
+<tr class="a">
+      
+<td>METRON_PID_FILE </td>
+      
+<td>File where the pid is written </td>
+      
+<td>Optional </td>
+      
+<td>/var/run/metron/</td>
+    </tr>
+    
+<tr class="b">
+      
+<td>METRON_REST_PORT </td>
+      
+<td>REST application port </td>
+      
+<td>Optional </td>
+      
+<td>8082</td>
+    </tr>
+    
+<tr class="a">
+      
+<td>METRON_JDBC_CLIENT_PATH </td>
+      
+<td>Path to JDBC client jar </td>
+      
+<td>Optional </td>
+      
+<td>H2 is bundled</td>
+    </tr>
+    
+<tr class="b">
+      
+<td>METRON_TEMP_GROK_PATH </td>
+      
+<td>Temporary directory used to test grok statements </td>
+      
+<td>Optional </td>
+      
+<td>./patterns/temp</td>
+    </tr>
+    
+<tr class="a">
+      
+<td>METRON_DEFAULT_GROK_PATH </td>
+      
+<td>Defaults HDFS directory used to store grok statements </td>
+      
+<td>Optional </td>
+      
+<td>/apps/metron/patterns</td>
+    </tr>
+    
+<tr class="b">
+      
+<td>SECURITY_ENABLED </td>
+      
+<td>Enables Kerberos support </td>
+      
+<td>Optional </td>
+      
+<td>false</td>
+    </tr>
+  </tbody>
+</table></div>
+<div class="section">
+<h3><a name="Optional_-_Blank_Defaults"></a>Optional - Blank Defaults</h3>
+
+<table border="0" class="table table-striped">
+  <thead>
+    
+<tr class="a">
+      
+<th>Environment Variable </th>
+      
+<th>Description </th>
+      
+<th>Required</th>
+    </tr>
+  </thead>
+  <tbody>
+    
+<tr class="b">
+      
+<td>METRON_JVMFLAGS </td>
+      
+<td>JVM flags added to the start command </td>
+      
+<td>Optional</td>
+    </tr>
+    
+<tr class="a">
+      
+<td>METRON_SPRING_PROFILES_ACTIVE </td>
+      
+<td>Active Spring profiles (see <a href="#spring-profiles">below</a>) </td>
+      
+<td>Optional</td>
+    </tr>
+    
+<tr class="b">
+      
+<td>METRON_SPRING_OPTIONS </td>
+      
+<td>Additional Spring input parameters </td>
+      
+<td>Optional</td>
+    </tr>
+    
+<tr class="a">
+      
+<td>METRON_PRINCIPAL_NAME </td>
+      
+<td>Kerberos principal for the metron user </td>
+      
+<td>Optional</td>
+    </tr>
+    
+<tr class="b">
+      
+<td>METRON_SERVICE_KEYTAB </td>
+      
+<td>Path to the Kerberos keytab for the metron user </td>
+      
+<td>Optional</td>
+    </tr>
+  </tbody>
+</table>
+<p>These are set in the <tt>/etc/default/metron</tt> file.</p></div></div>
+<div class="section">
+<h2><a name="Database_setup"></a>Database setup</h2>
+<p>The REST application persists data in a relational database and requires a dedicated database user and database (see <a class="externalLink" href="https://docs.spring.io/spring-boot/docs/current/reference/html/boot-features-sql.html">https://docs.spring.io/spring-boot/docs/current/reference/html/boot-features-sql.html</a> for more detail).<br />Spring uses Hibernate as the default ORM framework but another framework is needed becaused Hibernate is not compatible with the Apache 2 license. For this reason Metron uses <a class="externalLink" href="https://docs.spring.io/spring-boot/docs/current/reference/html/boot-features-sql.html#boot-features-embedded-database-support">EclipseLink</a>. See the <a class="externalLink" href="https://github.com/spring-projects/spring-data-examples/tree/master/jpa/eclipselink">Spring Data JPA - EclipseLink</a> project for an example on how to configure EclipseLink in Spring.</p>
+<div class="section">
+<h3><a name="Development"></a>Development</h3>
+<p>The REST application comes with <a class="externalLink" href="https://docs.spring.io/spring-boot/docs/current/reference/html/boot-features-sql.html#boot-features-embedded-database-support">embedded database support</a> for development purposes.</p>
+<p>For example, edit these variables in <tt>/etc/default/metron</tt> before starting the application to configure H2:</p>
+
+<div class="source">
+<div class="source">
+<pre>METRON_JDBC_DRIVER=&quot;org.h2.Driver&quot;
+METRON_JDBC_URL=&quot;jdbc:h2:file:~/metrondb&quot;
+METRON_JDBC_USERNAME=&quot;root&quot;
+METRON_JDBC_PLATFORM=&quot;h2&quot;
+</pre></div></div></div>
+<div class="section">
+<h3><a name="Production"></a>Production</h3>
+<p>The REST application should be configured with a production-grade database outside of development.</p>
+<div class="section">
+<h4><a name="Ambari_Install"></a>Ambari Install</h4>
+<p>Installing with Ambari is recommended for production deployments. Ambari handles setup, configuration, and management of the REST component. This includes managing the PID file, directing logging, etc.</p></div>
+<div class="section">
+<h4><a name="Manual_Install"></a>Manual Install</h4>
+<p>The following configures the application for MySQL:</p>
+
+<ol style="list-style-type: decimal">
+  
+<li>
+<p>Install MySQL if not already available (this example uses version 5.7, installation instructions can be found <a class="externalLink" href="https://dev.mysql.com/doc/refman/5.7/en/linux-installation-yum-repo.html">here</a>)</p></li>
+  
+<li>
+<p>Create a metron user and REST database and permission the user for that database:</p>
+  
+<div class="source">
+<div class="source">
+<pre>CREATE USER 'metron'@'node1' IDENTIFIED BY 'Myp@ssw0rd';
+CREATE DATABASE IF NOT EXISTS metronrest;
+GRANT ALL PRIVILEGES ON metronrest.* TO 'metron'@'node1';
+</pre></div></div></li>
+  
+<li>
+<p>Install the MySQL JDBC client onto the REST application host and configurate the METRON_JDBC_CLIENT_PATH variable:</p>
+  
+<div class="source">
+<div class="source">
+<pre>cd $METRON_HOME/lib
+wget https://dev.mysql.com/get/Downloads/Connector-J/mysql-connector-java-5.1.41.tar.gz
+tar xf mysql-connector-java-5.1.41.tar.gz
+</pre></div></div></li>
+  
+<li>
+<p>Edit these variables in <tt>/etc/default/metron</tt> to configure the REST application for MySQL:</p>
+  
+<div class="source">
+<div class="source">
+<pre>METRON_JDBC_DRIVER=&quot;com.mysql.jdbc.Driver&quot;
+METRON_JDBC_URL=&quot;jdbc:mysql://mysql_host:3306/metronrest&quot;
+METRON_JDBC_USERNAME=&quot;metron&quot;
+METRON_JDBC_PLATFORM=&quot;mysql&quot;
+METRON_JDBC_CLIENT_PATH=$METRON_HOME/lib/mysql-connector-java-5.1.41/mysql-connector-java-5.1.41-bin.jar
+</pre></div></div></li>
+  
+<li>
+<p>Switch to the metron user</p>
+  
+<div class="source">
+<div class="source">
+<pre>sudo su - metron
+</pre></div></div></li>
+  
+<li>
+<p>Start the REST API. Adjust the password as necessary.</p>
+  
+<div class="source">
+<div class="source">
+<pre>set -o allexport;
+source /etc/default/metron;
+set +o allexport;
+export METRON_JDBC_PASSWORD='Myp@ssw0rd';
+$METRON_HOME/bin/metron-rest.sh
+unset METRON_JDBC_PASSWORD;
+</pre></div></div></li>
+</ol></div></div></div>
+<div class="section">
+<h2><a name="Usage"></a>Usage</h2>
+<p>The REST application can be accessed with the Swagger UI at <a class="externalLink" href="http://host:port/swagger-ui.html#/">http://host:port/swagger-ui.html#/</a>. The default port is 8082.</p></div>
+<div class="section">
+<h2><a name="Security"></a>Security</h2>
+<div class="section">
+<h3><a name="Authentication"></a>Authentication</h3>
+<p>The metron-rest module uses <a class="externalLink" href="http://projects.spring.io/spring-security/">Spring Security</a> for authentication and stores user credentials in the relational database configured above. The required tables are created automatically the first time the application is started so that should be done first. For example (continuing the MySQL example above), users can be added by connecting to MySQL and running:</p>
+
+<div class="source">
+<div class="source">
+<pre>use metronrest;
+insert into users (username, password, enabled) values ('your_username','your_password',1);
+insert into authorities (username, authority) values ('your_username', 'ROLE_USER');
+</pre></div></div></div>
+<div class="section">
+<h3><a name="Kerberos"></a>Kerberos</h3>
+<p>Metron REST can be configured for a cluster with Kerberos enabled. A client JAAS file is required for Kafka and Zookeeper and a Kerberos keytab for the metron user principal is required for all other services. Configure these settings in the <tt>/etc/default/metron</tt> file:</p>
+
+<div class="source">
+<div class="source">
+<pre>SECURITY_ENABLED=true
+METRON_JVMFLAGS=&quot;-Djava.security.auth.login.config=$METRON_HOME/client_jaas.conf&quot;
+METRON_PRINCIPAL_NAME=&quot;metron@EXAMPLE.COM&quot;
+METRON_SERVICE_KEYTAB=&quot;/etc/security/keytabs/metron.keytab&quot;
+</pre></div></div></div></div>
+<div class="section">
+<h2><a name="Spring_Profiles"></a>Spring Profiles</h2>
+<p>The REST application comes with a few <a class="externalLink" href="http://docs.spring.io/autorepo/docs/spring-boot/current/reference/html/boot-features-profiles.html">Spring Profiles</a> to aid in testing and development.</p>
+
+<table border="0" class="table table-striped">
+  <thead>
+    
+<tr class="a">
+      
+<th>Profile </th>
+      
+<th>Description </th>
+    </tr>
+  </thead>
+  <tbody>
+    
+<tr class="b">
+      
+<td>test </td>
+      
+<td>sets variables to in-memory services, only used for integration testing </td>
+    </tr>
+    
+<tr class="a">
+      
+<td>dev </td>
+      
+<td>adds a test user to the database with credentials <tt>user/password</tt> </td>
+    </tr>
+    
+<tr class="b">
+      
+<td>vagrant </td>
+      
+<td>sets configuration variables to match the Metron vagrant environment </td>
+    </tr>
+    
+<tr class="a">
+      
+<td>docker </td>
+      
+<td>sets configuration variables to match the Metron docker environment </td>
+    </tr>
+  </tbody>
+</table>
+<p>Setting active profiles is done with the METRON_SPRING_PROFILES_ACTIVE variable. For example, set this variable in <tt>/etc/default/metron</tt> to configure the REST application for the Vagrant environment and add a test user:</p>
+
+<div class="source">
+<div class="source">
+<pre>METRON_SPRING_PROFILES_ACTIVE=&quot;vagrant,dev&quot;
+</pre></div></div></div>
+<div class="section">
+<h2><a name="API"></a>API</h2>
+<p>Request and Response objects are JSON formatted. The JSON schemas are available in the Swagger UI.</p>
+
+<table border="0" class="table table-striped">
+  <thead>
+    
+<tr class="a">
+      
+<th> </th>
+    </tr>
+  </thead>
+  <tbody>
+    
+<tr class="b">
+      
+<td><a href="#get-apiv1alertescalate"> <tt>POST /api/v1/alert/escalate</tt></a></td>
+    </tr>
+    
+<tr class="a">
+      
+<td><a href="#GET_apiv1alertprofile"> <tt>GET /api/v1/alert/profile</tt></a></td>
+    </tr>
+    
+<tr class="b">
+      
+<td><a href="#GET_apiv1alertprofileall"> <tt>GET /api/v1/alert/profile/all</tt></a></td>
+    </tr>
+    
+<tr class="a">
+      
+<td><a href="#DELETE_apiv1alertprofile"> <tt>DELETE /api/v1/alert/profile</tt></a></td>
+    </tr>
+    
+<tr class="b">
+      
+<td><a href="#POST_apiv1alertprofile"> <tt>POST /api/v1/alert/profile</tt></a></td>
+    </tr>
+    
+<tr class="a">
+      
+<td><a href="#GET_apiv1globalconfig"> <tt>GET /api/v1/global/config</tt></a></td>
+    </tr>
+    
+<tr class="b">
+      
+<td><a href="#DELETE_apiv1globalconfig"> <tt>DELETE /api/v1/global/config</tt></a></td>
+    </tr>
+    
+<tr class="a">
+      
+<td><a href="#POST_apiv1globalconfig"> <tt>POST /api/v1/global/config</tt></a></td>
+    </tr>
+    
+<tr class="b">
+      
+<td><a href="#GET_apiv1grokgetstatement"> <tt>GET /api/v1/grok/get/statement</tt></a></td>
+    </tr>
+    
+<tr class="a">
+      
+<td><a href="#GET_apiv1groklist"> <tt>GET /api/v1/grok/list</tt></a></td>
+    </tr>
+    
+<tr class="b">
+      
+<td><a href="#POST_apiv1grokvalidate"> <tt>POST /api/v1/grok/validate</tt></a></td>
+    </tr>
+    
+<tr class="a">
+      
+<td><a href="#POST_apiv1hdfs"> <tt>POST /api/v1/hdfs</tt></a></td>
+    </tr>
+    
+<tr class="b">
+      
+<td><a href="#GET_apiv1hdfs"> <tt>GET /api/v1/hdfs</tt></a></td>
+    </tr>
+    
+<tr class="a">
+      
+<td><a href="#DELETE_apiv1hdfs"> <tt>DELETE /api/v1/hdfs</tt></a></td>
+    </tr>
+    
+<tr class="b">
+      
+<td><a href="#GET_apiv1hdfslist"> <tt>GET /api/v1/hdfs/list</tt></a></td>
+    </tr>
+    
+<tr class="a">
+      
+<td><a href="#GET_apiv1kafkatopic"> <tt>GET /api/v1/kafka/topic</tt></a></td>
+    </tr>
+    
+<tr class="b">
+      
+<td><a href="#POST_apiv1kafkatopic"> <tt>POST /api/v1/kafka/topic</tt></a></td>
+    </tr>
+    
+<tr class="a">
+      
+<td><a href="#GET_apiv1kafkatopicname"> <tt>GET /api/v1/kafka/topic/{name}</tt></a></td>
+    </tr>
+    
+<tr class="b">
+      
+<td><a href="#DELETE_apiv1kafkatopicname"> <tt>DELETE /api/v1/kafka/topic/{name}</tt></a></td>
+    </tr>
+    
+<tr class="a">
+      
+<td><a href="#GET_apiv1kafkatopicnamesample"> <tt>GET /api/v1/kafka/topic/{name}/sample</tt></a></td>
+    </tr>
+    
+<tr class="b">
+      
+<td><a href="#GET_apiv1metaalertsearchByAlert"> <tt>GET /api/v1/metaalert/searchByAlert</tt></a></td>
+    </tr>
+    
+<tr class="a">
+      
+<td><a href="#GET_apiv1metaalertcreate"> <tt>GET /api/v1/metaalert/create</tt></a></td>
+    </tr>
+    
+<tr class="b">
+      
+<td><a href="#GET_apiv1metaalertaddalert"> <tt>GET /api/v1/metaalert/add/alert</tt></a></td>
+    </tr>
+    
+<tr class="a">
+      
+<td><a href="#GET_apiv1metaalertremovealert"> <tt>GET /api/v1/metaalert/remove/alert</tt></a></td>
+    </tr>
+    
+<tr class="b">
+      
+<td><a href="#GET_apiv1metaalertupdatestatusguidstatus"> <tt>GET /api/v1/metaalert/update/status/{guid}/{status}</tt></a></td>
+    </tr>
+    
+<tr class="a">
+      
+<td><a href="#GET_apiv1searchsearch"> <tt>GET /api/v1/search/search</tt></a></td>
+    </tr>
+    
+<tr class="b">
+      
+<td><a href="#get-apiv1searchsearch"> <tt>POST /api/v1/search/search</tt></a></td>
+    </tr>
+    
+<tr class="a">
+      
+<td><a href="#get-apiv1searchgroup"> <tt>POST /api/v1/search/group</tt></a></td>
+    </tr>
+    
+<tr class="b">
+      
+<td><a href="#GET_apiv1searchfindOne"> <tt>GET /api/v1/search/findOne</tt></a></td>
+    </tr>
+    
+<tr class="a">
+      
+<td><a href="#GET_apiv1searchcolumnmetadata"> <tt>GET /api/v1/search/column/metadata</tt></a></td>
+    </tr>
+    
+<tr class="b">
+      
+<td><a href="#GET_apiv1sensorenrichmentconfig"> <tt>GET /api/v1/sensor/enrichment/config</tt></a></td>
+    </tr>
+    
+<tr class="a">
+      
+<td><a href="#GET_apiv1sensorenrichmentconfiglistavailableenrichments"> <tt>GET /api/v1/sensor/enrichment/config/list/available/enrichments</tt></a></td>
+    </tr>
+    
+<tr class="b">
+      
+<td><a href="#GET_apiv1sensorenrichmentconfiglistavailablethreattriageaggregators"> <tt>GET /api/v1/sensor/enrichment/config/list/available/threat/triage/aggregators</tt></a></td>
+    </tr>
+    
+<tr class="a">
+      
+<td><a href="#DELETE_apiv1sensorenrichmentconfigname"> <tt>DELETE /api/v1/sensor/enrichment/config/{name}</tt></a></td>
+    </tr>
+    
+<tr class="b">
+      
+<td><a href="#POST_apiv1sensorenrichmentconfigname"> <tt>POST /api/v1/sensor/enrichment/config/{name}</tt></a></td>
+    </tr>
+    
+<tr class="a">
+      
+<td><a href="#GET_apiv1sensorenrichmentconfigname"> <tt>GET /api/v1/sensor/enrichment/config/{name}</tt></a></td>
+    </tr>
+    
+<tr class="b">
+      
+<td><a href="#GET_apiv1sensorindexingconfig"> <tt>GET /api/v1/sensor/indexing/config</tt></a></td>
+    </tr>
+    
+<tr class="a">
+      
+<td><a href="#DELETE_apiv1sensorindexingconfigname"> <tt>DELETE /api/v1/sensor/indexing/config/{name}</tt></a></td>
+    </tr>
+    
+<tr class="b">
+      
+<td><a href="#POST_apiv1sensorindexingconfigname"> <tt>POST /api/v1/sensor/indexing/config/{name}</tt></a></td>
+    </tr>
+    
+<tr class="a">
+      
+<td><a href="#GET_apiv1sensorindexingconfigname"> <tt>GET /api/v1/sensor/indexing/config/{name}</tt></a></td>
+    </tr>
+    
+<tr class="b">
+      
+<td><a href="#POST_apiv1sensorparserconfig"> <tt>POST /api/v1/sensor/parser/config</tt></a></td>
+    </tr>
+    
+<tr class="a">
+      
+<td><a href="#GET_apiv1sensorparserconfig"> <tt>GET /api/v1/sensor/parser/config</tt></a></td>
+    </tr>
+    
+<tr class="b">
+      
+<td><a href="#GET_apiv1sensorparserconfiglistavailable"> <tt>GET /api/v1/sensor/parser/config/list/available</tt></a></td>
+    </tr>
+    
+<tr class="a">
+      
+<td><a href="#POST_apiv1sensorparserconfigparseMessage"> <tt>POST /api/v1/sensor/parser/config/parseMessage</tt></a></td>
+    </tr>
+    
+<tr class="b">
+      
+<td><a href="#GET_apiv1sensorparserconfigreloadavailable"> <tt>GET /api/v1/sensor/parser/config/reload/available</tt></a></td>
+    </tr>
+    
+<tr class="a">
+      
+<td><a href="#DELETE_apiv1sensorparserconfigname"> <tt>DELETE /api/v1/sensor/parser/config/{name}</tt></a></td>
+    </tr>
+    
+<tr class="b">
+      
+<td><a href="#GET_apiv1sensorparserconfigname"> <tt>GET /api/v1/sensor/parser/config/{name}</tt></a></td>
+    </tr>
+    
+<tr class="a">
+      
+<td><a href="#POST_apiv1stellarapplytransformations"> <tt>POST /api/v1/stellar/apply/transformations</tt></a></td>
+    </tr>
+    
+<tr class="b">
+      
+<td><a href="#GET_apiv1stellarlist"> <tt>GET /api/v1/stellar/list</tt></a></td>
+    </tr>
+    
+<tr class="a">
+      
+<td><a href="#GET_apiv1stellarlistfunctions"> <tt>GET /api/v1/stellar/list/functions</tt></a></td>
+    </tr>
+    
+<tr class="b">
+      
+<td><a href="#GET_apiv1stellarlistsimplefunctions"> <tt>GET /api/v1/stellar/list/simple/functions</tt></a></td>
+    </tr>
+    
+<tr class="a">
+      
+<td><a href="#POST_apiv1stellarvalidaterules"> <tt>POST /api/v1/stellar/validate/rules</tt></a></td>
+    </tr>
+    
+<tr class="b">
+      
+<td><a href="#GET_apiv1storm"> <tt>GET /api/v1/storm</tt></a></td>
+    </tr>
+    
+<tr class="a">
+      
+<td><a href="#GET_apiv1stormclientstatus"> <tt>GET /api/v1/storm/client/status</tt></a></td>
+    </tr>
+    
+<tr class="b">
+      
+<td><a href="#GET_apiv1stormenrichment"> <tt>GET /api/v1/storm/enrichment</tt></a></td>
+    </tr>
+    
+<tr class="a">
+      
+<td><a href="#GET_apiv1stormenrichmentactivate"> <tt>GET /api/v1/storm/enrichment/activate</tt></a></td>
+    </tr>
+    
+<tr class="b">
+      
+<td><a href="#GET_apiv1stormenrichmentdeactivate"> <tt>GET /api/v1/storm/enrichment/deactivate</tt></a></td>
+    </tr>
+    
+<tr class="a">
+      
+<td><a href="#GET_apiv1stormenrichmentstart"> <tt>GET /api/v1/storm/enrichment/start</tt></a></td>
+    </tr>
+    
+<tr class="b">
+      
+<td><a href="#GET_apiv1stormenrichmentstop"> <tt>GET /api/v1/storm/enrichment/stop</tt></a></td>
+    </tr>
+    
+<tr class="a">
+      
+<td><a href="#GET_apiv1stormindexing"> <tt>GET /api/v1/storm/indexing</tt></a></td>
+    </tr>
+    
+<tr class="b">
+      
+<td><a href="#GET_apiv1stormindexingactivate"> <tt>GET /api/v1/storm/indexing/activate</tt></a></td>
+    </tr>
+    
+<tr class="a">
+      
+<td><a href="#GET_apiv1stormindexingdeactivate"> <tt>GET /api/v1/storm/indexing/deactivate</tt></a></td>
+    </tr>
+    
+<tr class="b">
+      
+<td><a href="#GET_apiv1stormindexingstart"> <tt>GET /api/v1/storm/indexing/start</tt></a></td>
+    </tr>
+    
+<tr class="a">
+      
+<td><a href="#GET_apiv1stormindexingstop"> <tt>GET /api/v1/storm/indexing/stop</tt></a></td>
+    </tr>
+    
+<tr class="b">
+      
+<td><a href="#GET_apiv1stormparseractivatename"> <tt>GET /api/v1/storm/parser/activate/{name}</tt></a></td>
+    </tr>
+    
+<tr class="a">
+      
+<td><a href="#GET_apiv1stormparserdeactivatename"> <tt>GET /api/v1/storm/parser/deactivate/{name}</tt></a></td>
+    </tr>
+    
+<tr class="b">
+      
+<td><a href="#GET_apiv1stormparserstartname"> <tt>GET /api/v1/storm/parser/start/{name}</tt></a></td>
+    </tr>
+    
+<tr class="a">
+      
+<td><a href="#GET_apiv1stormparserstopname"> <tt>GET /api/v1/storm/parser/stop/{name}</tt></a></td>
+    </tr>
+    
+<tr class="b">
+      
+<td><a href="#GET_apiv1stormname"> <tt>GET /api/v1/storm/{name}</tt></a></td>
+    </tr>
+    
+<tr class="a">
+      
+<td><a href="#GET_apiv1stormsupervisors"> <tt>GET /api/v1/storm/supervisors</tt></a></td>
+    </tr>
+    
+<tr class="b">
+      
+<td><a href="#PATCH_apiv1updatepatch"> <tt>PATCH /api/v1/update/patch</tt></a></td>
+    </tr>
+    
+<tr class="a">
+      
+<td><a href="#patch-apiv1updatereplace"> <tt>PUT /api/v1/update/replace</tt></a></td>
+    </tr>
+    
+<tr class="b">
+      
+<td><a href="#GET_apiv1user"> <tt>GET /api/v1/user</tt></a></td>
+    </tr>
+  </tbody>
+</table>
+<div class="section">
+<h3><a name="POST_apiv1alertescalate"></a><tt>POST /api/v1/alert/escalate</tt></h3>
+
+<ul>
+  
+<li>Description: Escalates a list of alerts by producing it to the Kafka escalate topic</li>
+  
+<li>Input:
+  
+<ul>
+    
+<li>alerts - The alerts to be escalated</li>
+  </ul></li>
+  
+<li>Returns:
+  
+<ul>
+    
+<li>200 - Alerts were escalated</li>
+  </ul></li>
+</ul></div>
+<div class="section">
+<h3><a name="GET_apiv1alertprofile"></a><tt>GET /api/v1/alert/profile</tt></h3>
+
+<ul>
+  
+<li>Description: Retrieves the current user&#x2019;s alerts profile</li>
+  
+<li>Returns:
+  
+<ul>
+    
+<li>200 - Alerts profile</li>
+    
+<li>404 - The current user does not have an alerts profile</li>
+  </ul></li>
+</ul></div>
+<div class="section">
+<h3><a name="GET_apiv1alertprofileall"></a><tt>GET /api/v1/alert/profile/all</tt></h3>
+
+<ul>
+  
+<li>Description: Retrieves all users&#x2019; alerts profiles. Only users that are part of the &#x201c;ROLE_ADMIN&#x201d; role are allowed to get all alerts profiles.</li>
+  
+<li>Returns:
+  
+<ul>
+    
+<li>200 - List of all alerts profiles</li>
+    
+<li>403 - The current user does not have permission to get all alerts profiles</li>
+  </ul></li>
+</ul></div>
+<div class="section">
+<h3><a name="DELETE_apiv1alertprofile"></a><tt>DELETE /api/v1/alert/profile</tt></h3>
+
+<ul>
+  
+<li>Description: Deletes a user&#x2019;s alerts profile. Only users that are part of the &#x201c;ROLE_ADMIN&#x201d; role are allowed to delete user alerts profiles.</li>
+  
+<li>Input:
+  
+<ul>
+    
+<li>user - The user whose prolife will be deleted</li>
+  </ul></li>
+  
+<li>Returns:
+  
+<ul>
+    
+<li>200 - Alerts profile was deleted</li>
+    
+<li>403 - The current user does not have permission to delete alerts profiles</li>
+    
+<li>404 - Alerts profile could not be found</li>
+  </ul></li>
+</ul></div>
+<div class="section">
+<h3><a name="POST_apiv1alertprofile"></a><tt>POST /api/v1/alert/profile</tt></h3>
+
+<ul>
+  
+<li>Description: Creates or updates the current user&#x2019;s alerts profile</li>
+  
+<li>Input:
+  
+<ul>
+    
+<li>alertsProfile - The alerts profile to be saved</li>
+  </ul></li>
+  
+<li>Returns:
+  
+<ul>
+    
+<li>200 - Alerts profile updated. Returns saved alerts profile.</li>
+    
+<li>201 - Alerts profile created. Returns saved alerts profile.</li>
+  </ul></li>
+</ul></div>
+<div class="section">
+<h3><a name="GET_apiv1globalconfig"></a><tt>GET /api/v1/global/config</tt></h3>
+
+<ul>
+  
+<li>Description: Retrieves the current Global Config from Zookeeper</li>
+  
+<li>Returns:
+  
+<ul>
+    
+<li>200 - Returns current Global Config JSON in Zookeeper</li>
+    
+<li>404 - Global Config JSON was not found in Zookeeper</li>
+  </ul></li>
+</ul></div>
+<div class="section">
+<h3><a name="DELETE_apiv1globalconfig"></a><tt>DELETE /api/v1/global/config</tt></h3>
+
+<ul>
+  
+<li>Description: Deletes the current Global Config from Zookeeper</li>
+  
+<li>Returns:
+  
+<ul>
+    
+<li>200 - Global Config JSON was deleted</li>
+    
+<li>404 - Global Config JSON was not found in Zookeeper</li>
+  </ul></li>
+</ul></div>
+<div class="section">
+<h3><a name="POST_apiv1globalconfig"></a><tt>POST /api/v1/global/config</tt></h3>
+
+<ul>
+  
+<li>Description: Creates or updates the Global Config in Zookeeper</li>
+  
+<li>Input:
+  
+<ul>
+    
+<li>globalConfig - The Global Config JSON to be saved</li>
+  </ul></li>
+  
+<li>Returns:
+  
+<ul>
+    
+<li>200 - Global Config updated. Returns saved Global Config JSON</li>
+    
+<li>201 - Global Config created. Returns saved Global Config JSON</li>
+  </ul></li>
+</ul></div>
+<div class="section">
+<h3><a name="GET_apiv1grokgetstatement"></a><tt>GET /api/v1/grok/get/statement</tt></h3>
+
+<ul>
+  
+<li>Description: Retrieves a Grok statement from the classpath</li>
+  
+<li>Input:
+  
+<ul>
+    
+<li>path - Path to classpath resource</li>
+  </ul></li>
+  
+<li>Returns:
+  
+<ul>
+    
+<li>200 - Grok statement</li>
+  </ul></li>
+</ul></div>
+<div class="section">
+<h3><a name="GET_apiv1groklist"></a><tt>GET /api/v1/grok/list</tt></h3>
+
+<ul>
+  
+<li>Description: Lists the common Grok statements available in Metron</li>
+  
+<li>Returns:
+  
+<ul>
+    
+<li>200 - JSON object containing pattern label/Grok statements key value pairs</li>
+  </ul></li>
+</ul></div>
+<div class="section">
+<h3><a name="POST_apiv1grokvalidate"></a><tt>POST /api/v1/grok/validate</tt></h3>
+
+<ul>
+  
+<li>Description: Applies a Grok statement to a sample message</li>
+  
+<li>Input:
+  
+<ul>
+    
+<li>grokValidation - Object containing Grok statement and sample message</li>
+  </ul></li>
+  
+<li>Returns:
+  
+<ul>
+    
+<li>200 - JSON results</li>
+  </ul></li>
+</ul></div>
+<div class="section">
+<h3><a name="POST_apiv1hdfs"></a><tt>POST /api/v1/hdfs</tt></h3>
+
+<ul>
+  
+<li>Description: Writes contents to an HDFS file. Warning: this will overwrite the contents of a file if it already exists. Permissions must be set for all three groups if they are to be set. If any are missing, the default permissions will be used, and if any are invalid an exception will be thrown.</li>
+  
+<li>Input:
+  
+<ul>
+    
+<li>path - Path to HDFS file</li>
+    
+<li>contents - File contents</li>
+    
+<li>userMode - [optional] symbolic permission string for user portion of the permissions to be set on the file written. For example &#x2018;rwx&#x2019; or read, write, execute. The symbol &#x2018;-&#x2019; is used to exclude that permission such as &#x2018;rw-&#x2019; for read, write, no execute</li>
+    
+<li>groupMode - [optional] symbolic permission string for group portion of the permissions to be set on the file written. For example &#x2018;rwx&#x2019; or read, write, execute. The symbol &#x2018;-&#x2019; is used to exclude that permission such as &#x2018;rw-&#x2019; for read, write, no execute</li>
+    
+<li>otherMode - [optional] symbolic permission string for other portion of the permissions to be set on the file written. For example &#x2018;rwx&#x2019; or read, write, execute. The symbol &#x2018;-&#x2019; is used to exclude that permission such as &#x2018;rw-&#x2019; for read, write, no execute</li>
+  </ul></li>
+  
+<li>Returns:
+  
+<ul>
+    
+<li>200 - Contents were written</li>
+  </ul></li>
+</ul></div>
+<div class="section">
+<h3><a name="GET_apiv1hdfs"></a><tt>GET /api/v1/hdfs</tt></h3>
+
+<ul>
+  
+<li>Description: Reads a file from HDFS and returns the contents</li>
+  
+<li>Input:
+  
+<ul>
+    
+<li>path - Path to HDFS file</li>
+  </ul></li>
+  
+<li>Returns:
+  
+<ul>
+    
+<li>200 - Returns file contents</li>
+  </ul></li>
+</ul></div>
+<div class="section">
+<h3><a name="DELETE_apiv1hdfs"></a><tt>DELETE /api/v1/hdfs</tt></h3>
+
+<ul>
+  
+<li>Description: Deletes a file from HDFS</li>
+  
+<li>Input:
+  
+<ul>
+    
+<li>path - Path to HDFS file</li>
+    
+<li>recursive - Delete files recursively</li>
+  </ul></li>
+  
+<li>Returns:
+  
+<ul>
+    
+<li>200 - File was deleted</li>
+    
+<li>404 - File was not found in HDFS</li>
+  </ul></li>
+</ul></div>
+<div class="section">
+<h3><a name="GET_apiv1hdfslist"></a><tt>GET /api/v1/hdfs/list</tt></h3>
+
+<ul>
+  
+<li>Description: Lists an HDFS directory</li>
+  
+<li>Input:
+  
+<ul>
+    
+<li>path - Path to HDFS directory</li>
+  </ul></li>
+  
+<li>Returns:
+  
+<ul>
+    
+<li>200 - HDFS directory list</li>
+  </ul></li>
+</ul></div>
+<div class="section">
+<h3><a name="GET_apiv1kafkatopic"></a><tt>GET /api/v1/kafka/topic</tt></h3>
+
+<ul>
+  
+<li>Description: Retrieves all Kafka topics</li>
+  
+<li>Returns:
+  
+<ul>
+    
+<li>200 - Returns a list of all Kafka topics</li>
+  </ul></li>
+</ul></div>
+<div class="section">
+<h3><a name="POST_apiv1kafkatopic"></a><tt>POST /api/v1/kafka/topic</tt></h3>
+
+<ul>
+  
+<li>Description: Creates a new Kafka topic</li>
+  
+<li>Input:
+  
+<ul>
+    
+<li>topic - Kafka topic</li>
+  </ul></li>
+  
+<li>Returns:
+  
+<ul>
+    
+<li>200 - Returns saved Kafka topic</li>
+  </ul></li>
+</ul></div>
+<div class="section">
+<h3><a name="GET_apiv1kafkatopicname"></a><tt>GET /api/v1/kafka/topic/{name}</tt></h3>
+
+<ul>
+  
+<li>Description: Retrieves a Kafka topic</li>
+  
+<li>Input:
+  
+<ul>
+    
+<li>name - Kafka topic name</li>
+  </ul></li>
+  
+<li>Returns:
+  
+<ul>
+    
+<li>200 - Returns Kafka topic</li>
+    
+<li>404 - Kafka topic is missing</li>
+  </ul></li>
+</ul></div>
+<div class="section">
+<h3><a name="DELETE_apiv1kafkatopicname"></a><tt>DELETE /api/v1/kafka/topic/{name}</tt></h3>
+
+<ul>
+  
+<li>Description: Deletes a Kafka topic</li>
+  
+<li>Input:
+  
+<ul>
+    
+<li>name - Kafka topic name</li>
+  </ul></li>
+  
+<li>Returns:
+  
+<ul>
+    
+<li>200 - Kafka topic was deleted</li>
+    
+<li>404 - Kafka topic is missing</li>
+  </ul></li>
+</ul></div>
+<div class="section">
+<h3><a name="GET_apiv1kafkatopicnamesample"></a><tt>GET /api/v1/kafka/topic/{name}/sample</tt></h3>
+
+<ul>
+  
+<li>Description: Retrieves a sample message from a Kafka topic using the most recent offset</li>
+  
+<li>Input:
+  
+<ul>
+    
+<li>name - Kafka topic name</li>
+  </ul></li>
+  
+<li>Returns:
+  
+<ul>
+    
+<li>200 - Returns sample message</li>
+    
+<li>404 - Either Kafka topic is missing or contains no messages</li>
+  </ul></li>
+</ul></div>
+<div class="section">
+<h3><a name="POST_apiv1metaalertsearchByAlert"></a><tt>POST /api/v1/metaalert/searchByAlert</tt></h3>
+
+<ul>
+  
+<li>Description: Get all meta alerts that contain an alert.</li>
+  
+<li>Input:
+  
+<ul>
+    
+<li>guid - GUID of the alert</li>
+  </ul></li>
+  
+<li>Returns:
+  
+<ul>
+    
+<li>200 - Search results</li>
+  </ul></li>
+</ul></div>
+<div class="section">
+<h3><a name="POST_apiv1metaalertcreate"></a><tt>POST /api/v1/metaalert/create</tt></h3>
+
+<ul>
+  
+<li>Description: Creates a new meta alert from a list of existing alerts. The meta alert status will initially be set to &#x2018;ACTIVE&#x2019; and summary statistics will be computed from the list of alerts. A list of groups included in the request are also added to the meta alert.</li>
+  
+<li>Input:
+  
+<ul>
+    
+<li>request - Meta alert create request which includes a list of alert get requests and a list of custom groups used to annotate a meta alert.</li>
+  </ul></li>
+  
+<li>Returns:
+  
+<ul>
+    
+<li>200 - The GUID of the new meta alert</li>
+  </ul></li>
+</ul></div>
+<div class="section">
+<h3><a name="POST_apiv1metaalertaddalert"></a><tt>POST /api/v1/metaalert/add/alert</tt></h3>
+
+<ul>
+  
+<li>Description: Adds an alert to an existing meta alert. An alert will not be added if it is already contained in a meta alert.</li>
+  
+<li>Input:
+  
+<ul>
+    
+<li>request - Meta alert add request which includes a meta alert GUID and list of alert get requests</li>
+  </ul></li>
+  
+<li>Returns:
+  
+<ul>
+    
+<li>200 - Returns &#x2018;true&#x2019; if the alert was added and &#x2018;false&#x2019; if the meta alert did not change.</li>
+  </ul></li>
+</ul></div>
+<div class="section">
+<h3><a name="POST_apiv1metaalertremovealert"></a><tt>POST /api/v1/metaalert/remove/alert</tt></h3>
+
+<ul>
+  
+<li>Description: Removes an alert from an existing meta alert. If the alert to be removed is not in a meta alert, &#x2018;false&#x2019; will be returned.</li>
+  
+<li>Input:
+  
+<ul>
+    
+<li>request - Meta alert remove request which includes a meta alert GUID and list of alert get requests</li>
+  </ul></li>
+  
+<li>Returns:
+  
+<ul>
+    
+<li>200 - Returns &#x2018;true&#x2019; if the alert was removed and &#x2018;false&#x2019; if the meta alert did not change.</li>
+  </ul></li>
+</ul></div>
+<div class="section">
+<h3><a name="POST_apiv1metaalertupdatestatusguidstatus"></a><tt>POST /api/v1/metaalert/update/status/{guid}/{status}</tt></h3>
+
+<ul>
+  
+<li>Description: Updates the status of a meta alert to either &#x2018;ACTIVE&#x2019; or &#x2018;INACTIVE&#x2019;.</li>
+  
+<li>Input:
+  
+<ul>
+    
+<li>guid - Meta alert GUID</li>
+    
+<li>status - Meta alert status with a value of either &#x2018;ACTIVE&#x2019; or &#x2018;INACTIVE&#x2019;</li>
+  </ul></li>
+  
+<li>Returns:
+  
+<ul>
+    
+<li>200 - Returns &#x2018;true&#x2019; if the status changed and &#x2018;false&#x2019; if it did not.</li>
+  </ul></li>
+</ul></div>
+<div class="section">
+<h3><a name="POST_apiv1searchsearch"></a><tt>POST /api/v1/search/search</tt></h3>
+
+<ul>
+  
+<li>Description: Searches the indexing store. GUIDs must be quoted to ensure correct results.</li>
+  
+<li>Input:
+  
+<ul>
+    
+<li>searchRequest - Search request</li>
+  </ul></li>
+  
+<li>Returns:
+  
+<ul>
+    
+<li>200 - Search response</li>
+  </ul></li>
+</ul></div>
+<div class="section">
+<h3><a name="POST_apiv1searchgroup"></a><tt>POST /api/v1/search/group</tt></h3>
+
+<ul>
+  
+<li>Description: Searches the indexing store and returns field groups. GUIDs must be quoted to ensure correct results. Groups are hierarchical and nested in the order the fields appear in the &#x2018;groups&#x2019; request parameter. The default sorting within groups is by count descending. A groupOrder type of count will sort based on then number of documents in a group while a groupType of term will sort by the groupBy term.</li>
+  
+<li>Input:
+  
+<ul>
+    
+<li>groupRequest - Group request
+    
+<ul>
+      
+<li>indices - list of indices to search</li>
+      
+<li>query - lucene query</li>
+      
+<li>scoreField - field used to compute a total score for each group</li>
+      
+<li>groups - List of groups (field name and sort order)</li>
+    </ul></li>
+  </ul></li>
+  
+<li>Returns:
+  
+<ul>
+    
+<li>200 - Group response</li>
+  </ul></li>
+</ul></div>
+<div class="section">
+<h3><a name="GET_apiv1searchfindOne"></a><tt>GET /api/v1/search/findOne</tt></h3>
+
+<ul>
+  
+<li>Description: Returns latest document for a guid and sensor</li>
+  
+<li>Input:
+  
+<ul>
+    
+<li>getRequest - Get request
+    
+<ul>
+      
+<li>guid - message UUID</li>
+      
+<li>sensorType - Sensor Type</li>
+    </ul></li>
+    
+<li>Example: Return <tt>bro</tt> document with UUID of <tt>000-000-0000</tt></li>
+  </ul></li>
+</ul>
+
+<div class="source">
+<div class="source">
+<pre>{
+  &quot;guid&quot; : &quot;000-000-0000&quot;,
+  &quot;sensorType&quot; : &quot;bro&quot;
+}
+</pre></div></div>
+
+<ul>
+  
+<li>Returns:
+  
+<ul>
+    
+<li>200 - Document representing the output</li>
+    
+<li>404 - Document with UUID and sensor type not found</li>
+  </ul></li>
+</ul></div>
+<div class="section">
+<h3><a name="GET_apiv1searchcolumnmetadata"></a><tt>GET /api/v1/search/column/metadata</tt></h3>
+
+<ul>
+  
+<li>Description: Get index column metadata for a list of sensor types with duplicates removed. Column names and types for each sensor are retrieved from the most recent index. Columns that exist in multiple indices with different types will default to type &#x2018;other&#x2019;.</li>
+  
+<li>Input:
+  
+<ul>
+    
+<li>sensorTypes - Sensor Types</li>
+  </ul></li>
+  
+<li>Returns:
+  
+<ul>
+    
+<li>200 - Column Metadata</li>
+  </ul></li>
+</ul></div>
+<div class="section">
+<h3><a name="GET_apiv1sensorenrichmentconfig"></a><tt>GET /api/v1/sensor/enrichment/config</tt></h3>
+
+<ul>
+  
+<li>Description: Retrieves all SensorEnrichmentConfigs from Zookeeper</li>
+  
+<li>Returns:
+  
+<ul>
+    
+<li>200 - Returns all SensorEnrichmentConfigs</li>
+  </ul></li>
+</ul></div>
+<div class="section">
+<h3><a name="GET_apiv1sensorenrichmentconfiglistavailableenrichments"></a><tt>GET /api/v1/sensor/enrichment/config/list/available/enrichments</tt></h3>
+
+<ul>
+  
+<li>Description: Lists the available enrichments</li>
+  
+<li>Returns:
+  
+<ul>
+    
+<li>200 - Returns a list of available enrichments</li>
+  </ul></li>
+</ul></div>
+<div class="section">
+<h3><a name="GET_apiv1sensorenrichmentconfiglistavailablethreattriageaggregators"></a><tt>GET /api/v1/sensor/enrichment/config/list/available/threat/triage/aggregators</tt></h3>
+
+<ul>
+  
+<li>Description: Lists the available threat triage aggregators</li>
+  
+<li>Returns:
+  
+<ul>
+    
+<li>200 - Returns a list of available threat triage aggregators</li>
+  </ul></li>
+</ul></div>
+<div class="section">
+<h3><a name="DELETE_apiv1sensorenrichmentconfigname"></a><tt>DELETE /api/v1/sensor/enrichment/config/{name}</tt></h3>
+
+<ul>
+  
+<li>Description: Deletes a SensorEnrichmentConfig from Zookeeper</li>
+  
+<li>Input:
+  
+<ul>
+    
+<li>name - SensorEnrichmentConfig name</li>
+  </ul></li>
+  
+<li>Returns:
+  
+<ul>
+    
+<li>200 - SensorEnrichmentConfig was deleted</li>
+    
+<li>404 - SensorEnrichmentConfig is missing</li>
+  </ul></li>
+</ul></div>
+<div class="section">
+<h3><a name="POST_apiv1sensorenrichmentconfigname"></a><tt>POST /api/v1/sensor/enrichment/config/{name}</tt></h3>
+
+<ul>
+  
+<li>Description: Updates or creates a SensorEnrichmentConfig in Zookeeper</li>
+  
+<li>Input:
+  
+<ul>
+    
+<li>sensorEnrichmentConfig - SensorEnrichmentConfig</li>
+    
+<li>name - SensorEnrichmentConfig name</li>
+  </ul></li>
+  
+<li>Returns:
+  
+<ul>
+    
+<li>200 - SensorEnrichmentConfig updated. Returns saved SensorEnrichmentConfig</li>
+    
+<li>201 - SensorEnrichmentConfig created. Returns saved SensorEnrichmentConfig</li>
+  </ul></li>
+</ul></div>
+<div class="section">
+<h3><a name="GET_apiv1sensorenrichmentconfigname"></a><tt>GET /api/v1/sensor/enrichment/config/{name}</tt></h3>
+
+<ul>
+  
+<li>Description: Retrieves a SensorEnrichmentConfig from Zookeeper</li>
+  
+<li>Input:
+  
+<ul>
+    
+<li>name - SensorEnrichmentConfig name</li>
+  </ul></li>
+  
+<li>Returns:
+  
+<ul>
+    
+<li>200 - Returns SensorEnrichmentConfig</li>
+    
+<li>404 - SensorEnrichmentConfig is missing</li>
+  </ul></li>
+</ul></div>
+<div class="section">
+<h3><a name="GET_apiv1sensorindexingconfig"></a><tt>GET /api/v1/sensor/indexing/config</tt></h3>
+
+<ul>
+  
+<li>Description: Retrieves all SensorIndexingConfigs from Zookeeper</li>
+  
+<li>Returns:
+  
+<ul>
+    
+<li>200 - Returns all SensorIndexingConfigs</li>
+  </ul></li>
+</ul></div>
+<div class="section">
+<h3><a name="DELETE_apiv1sensorindexingconfigname"></a><tt>DELETE /api/v1/sensor/indexing/config/{name}</tt></h3>
+
+<ul>
+  
+<li>Description: Deletes a SensorIndexingConfig from Zookeeper</li>
+  
+<li>Input:
+  
+<ul>
+    
+<li>name - SensorIndexingConfig name</li>
+  </ul></li>
+  
+<li>Returns:
+  
+<ul>
+    
+<li>200 - SensorIndexingConfig was deleted</li>
+    
+<li>404 - SensorIndexingConfig is missing</li>
+  </ul></li>
+</ul></div>
+<div class="section">
+<h3><a name="POST_apiv1sensorindexingconfigname"></a><tt>POST /api/v1/sensor/indexing/config/{name}</tt></h3>
+
+<ul>
+  
+<li>Description: Updates or creates a SensorIndexingConfig in Zookeeper</li>
+  
+<li>Input:
+  
+<ul>
+    
+<li>sensorIndexingConfig - SensorIndexingConfig</li>
+    
+<li>name - SensorIndexingConfig name</li>
+  </ul></li>
+  
+<li>Returns:
+  
+<ul>
+    
+<li>200 - SensorIndexingConfig updated. Returns saved SensorIndexingConfig</li>
+    
+<li>201 - SensorIndexingConfig created. Returns saved SensorIndexingConfig</li>
+  </ul></li>
+</ul></div>
+<div class="section">
+<h3><a name="GET_apiv1sensorindexingconfigname"></a><tt>GET /api/v1/sensor/indexing/config/{name}</tt></h3>
+
+<ul>
+  
+<li>Description: Retrieves a SensorIndexingConfig from Zookeeper</li>
+  
+<li>Input:
+  
+<ul>
+    
+<li>name - SensorIndexingConfig name</li>
+  </ul></li>
+  
+<li>Returns:
+  
+<ul>
+    
+<li>200 - Returns SensorIndexingConfig</li>
+    
+<li>404 - SensorIndexingConfig is missing</li>
+  </ul></li>
+</ul></div>
+<div class="section">
+<h3><a name="POST_apiv1sensorparserconfig"></a><tt>POST /api/v1/sensor/parser/config</tt></h3>
+
+<ul>
+  
+<li>Description: Updates or creates a SensorParserConfig in Zookeeper</li>
+  
+<li>Input:
+  
+<ul>
+    
+<li>sensorParserConfig - SensorParserConfig</li>
+  </ul></li>
+  
+<li>Returns:
+  
+<ul>
+    
+<li>200 - SensorParserConfig updated. Returns saved SensorParserConfig</li>
+    
+<li>201 - SensorParserConfig created. Returns saved SensorParserConfig</li>
+  </ul></li>
+</ul></div>
+<div class="section">
+<h3><a name="GET_apiv1sensorparserconfig"></a><tt>GET /api/v1/sensor/parser/config</tt></h3>
+
+<ul>
+  
+<li>Description: Retrieves all SensorParserConfigs from Zookeeper</li>
+  
+<li>Returns:
+  
+<ul>
+    
+<li>200 - Returns all SensorParserConfigs</li>
+  </ul></li>
+</ul></div>
+<div class="section">
+<h3><a name="GET_apiv1sensorparserconfiglistavailable"></a><tt>GET /api/v1/sensor/parser/config/list/available</tt></h3>
+
+<ul>
+  
+<li>Description: Lists the available parser classes that can be found on the classpath</li>
+  
+<li>Returns:
+  
+<ul>
+    
+<li>200 - Returns a list of available parser classes</li>
+  </ul></li>
+</ul></div>
+<div class="section">
+<h3><a name="POST_apiv1sensorparserconfigparseMessage"></a><tt>POST /api/v1/sensor/parser/config/parseMessage</tt></h3>
+
+<ul>
+  
+<li>Description: Parses a sample message given a SensorParserConfig</li>
+  
+<li>Input:
+  
+<ul>
+    
+<li>parseMessageRequest - Object containing a sample message and SensorParserConfig</li>
+  </ul></li>
+  
+<li>Returns:
+  
+<ul>
+    
+<li>200 - Returns parsed message</li>
+  </ul></li>
+</ul></div>
+<div class="section">
+<h3><a name="GET_apiv1sensorparserconfigreloadavailable"></a><tt>GET /api/v1/sensor/parser/config/reload/available</tt></h3>
+
+<ul>
+  
+<li>Description: Scans the classpath for available parser classes and reloads the cached parser class list</li>
+  
+<li>Returns:
+  
+<ul>
+    
+<li>200 - Returns a list of available parser classes</li>
+  </ul></li>
+</ul></div>
+<div class="section">
+<h3><a name="DELETE_apiv1sensorparserconfigname"></a><tt>DELETE /api/v1/sensor/parser/config/{name}</tt></h3>
+
+<ul>
+  
+<li>Description: Deletes a SensorParserConfig from Zookeeper</li>
+  
+<li>Input:
+  
+<ul>
+    
+<li>name - SensorParserConfig name</li>
+  </ul></li>
+  
+<li>Returns:
+  
+<ul>
+    
+<li>200 - SensorParserConfig was deleted</li>
+    
+<li>404 - SensorParserConfig is missing</li>
+  </ul></li>
+</ul></div>
+<div class="section">
+<h3><a name="GET_apiv1sensorparserconfigname"></a><tt>GET /api/v1/sensor/parser/config/{name}</tt></h3>
+
+<ul>
+  
+<li>Description: Retrieves a SensorParserConfig from Zookeeper</li>
+  
+<li>Input:
+  
+<ul>
+    
+<li>name - SensorParserConfig name</li>
+  </ul></li>
+  
+<li>Returns:
+  
+<ul>
+    
+<li>200 - Returns SensorParserConfig</li>
+    
+<li>404 - SensorParserConfig is missing</li>
+  </ul></li>
+</ul></div>
+<div class="section">
+<h3><a name="POST_apiv1stellarapplytransformations"></a><tt>POST /api/v1/stellar/apply/transformations</tt></h3>
+
+<ul>
+  
+<li>Description: Executes transformations against a sample message</li>
+  
+<li>Input:
+  
+<ul>
+    
+<li>transformationValidation - Object containing SensorParserConfig and sample message</li>
+  </ul></li>
+  
+<li>Returns:
+  
+<ul>
+    
+<li>200 - Returns transformation results</li>
+  </ul></li>
+</ul></div>
+<div class="section">
+<h3><a name="GET_apiv1stellarlist"></a><tt>GET /api/v1/stellar/list</tt></h3>
+
+<ul>
+  
+<li>Description: Retrieves field transformations</li>
+  
+<li>Returns:
+  
+<ul>
+    
+<li>200 - Returns a list field transformations</li>
+  </ul></li>
+</ul></div>
+<div class="section">
+<h3><a name="GET_apiv1stellarlistfunctions"></a><tt>GET /api/v1/stellar/list/functions</tt></h3>
+
+<ul>
+  
+<li>Description: Lists the Stellar functions that can be found on the classpath</li>
+  
+<li>Returns:
+  
+<ul>
+    
+<li>200 - Returns a list of Stellar functions</li>
+  </ul></li>
+</ul></div>
+<div class="section">
+<h3><a name="GET_apiv1stellarlistsimplefunctions"></a><tt>GET /api/v1/stellar/list/simple/functions</tt></h3>
+
+<ul>
+  
+<li>Description: Lists the simple Stellar functions (functions with only 1 input) that can be found on the classpath</li>
+  
+<li>Returns:
+  
+<ul>
+    
+<li>200 - Returns a list of simple Stellar functions</li>
+  </ul></li>
+</ul></div>
+<div class="section">
+<h3><a name="POST_apiv1stellarvalidaterules"></a><tt>POST /api/v1/stellar/validate/rules</tt></h3>
+
+<ul>
+  
+<li>Description: Tests Stellar statements to ensure they are well-formed</li>
+  
+<li>Input:
+  
+<ul>
+    
+<li>statements - List of statements to validate</li>
+  </ul></li>
+  
+<li>Returns:
+  
+<ul>
+    
+<li>200 - Returns validation results</li>
+  </ul></li>
+</ul></div>
+<div class="section">
+<h3><a name="GET_apiv1storm"></a><tt>GET /api/v1/storm</tt></h3>
+
+<ul>
+  
+<li>Description: Retrieves the status of all Storm topologies</li>
+  
+<li>Returns:
+  
+<ul>
+    
+<li>200 - Returns a list of topologies with status information</li>
+  </ul></li>
+</ul></div>
+<div class="section">
+<h3><a name="GET_apiv1stormclientstatus"></a><tt>GET /api/v1/storm/client/status</tt></h3>
+
+<ul>
+  
+<li>Description: Retrieves information about the Storm command line client</li>
+  
+<li>Returns:
+  
+<ul>
+    
+<li>200 - Returns storm command line client information</li>
+  </ul></li>
+</ul></div>
+<div class="section">
+<h3><a name="GET_apiv1stormenrichment"></a><tt>GET /api/v1/storm/enrichment</tt></h3>
+
+<ul>
+  
+<li>Description: Retrieves the status of the Storm enrichment topology</li>
+  
+<li>Returns:
+  
+<ul>
+    
+<li>200 - Returns topology status information</li>
+    
+<li>404 - Topology is missing</li>
+  </ul></li>
+</ul></div>
+<div class="section">
+<h3><a name="GET_apiv1stormenrichmentactivate"></a><tt>GET /api/v1/storm/enrichment/activate</tt></h3>
+
+<ul>
+  
+<li>Description: Activates a Storm enrichment topology</li>
+  
+<li>Returns:
+  
+<ul>
+    
+<li>200 - Returns activate response message</li>
+  </ul></li>
+</ul></div>
+<div class="section">
+<h3><a name="GET_apiv1stormenrichmentdeactivate"></a><tt>GET /api/v1/storm/enrichment/deactivate</tt></h3>
+
+<ul>
+  
+<li>Description: Deactivates a Storm enrichment topology</li>
+  
+<li>Returns:
+  
+<ul>
+    
+<li>200 - Returns deactivate response message</li>
+  </ul></li>
+</ul></div>
+<div class="section">
+<h3><a name="GET_apiv1stormenrichmentstart"></a><tt>GET /api/v1/storm/enrichment/start</tt></h3>
+
+<ul>
+  
+<li>Description: Starts a Storm enrichment topology</li>
+  
+<li>Returns:
+  
+<ul>
+    
+<li>200 - Returns start response message</li>
+  </ul></li>
+</ul></div>
+<div class="section">
+<h3><a name="GET_apiv1stormenrichmentstop"></a><tt>GET /api/v1/storm/enrichment/stop</tt></h3>
+
+<ul>
+  
+<li>Description: Stops a Storm enrichment topology</li>
+  
+<li>Input:
+  
+<ul>
+    
+<li>stopNow - Stop the topology immediately</li>
+  </ul></li>
+  
+<li>Returns:
+  
+<ul>
+    
+<li>200 - Returns stop response message</li>
+  </ul></li>
+</ul></div>
+<div class="section">
+<h3><a name="GET_apiv1stormindexing"></a><tt>GET /api/v1/storm/indexing</tt></h3>
+
+<ul>
+  
+<li>Description: Retrieves the status of the Storm indexing topology</li>
+  
+<li>Returns:
+  
+<ul>
+    
+<li>200 - Returns topology status information</li>
+    
+<li>404 - Topology is missing</li>
+  </ul></li>
+</ul></div>
+<div class="section">
+<h3><a name="GET_apiv1stormindexingactivate"></a><tt>GET /api/v1/storm/indexing/activate</tt></h3>
+
+<ul>
+  
+<li>Description: Activates a Storm indexing topology</li>
+  
+<li>Returns:
+  
+<ul>
+    
+<li>200 - Returns activate response message</li>
+  </ul></li>
+</ul></div>
+<div class="section">
+<h3><a name="GET_apiv1stormindexingdeactivate"></a><tt>GET /api/v1/storm/indexing/deactivate</tt></h3>
+
+<ul>
+  
+<li>Description: Deactivates a Storm indexing topology</li>
+  
+<li>Returns:
+  
+<ul>
+    
+<li>200 - Returns deactivate response message</li>
+  </ul></li>
+</ul></div>
+<div class="section">
+<h3><a name="GET_apiv1stormindexingstart"></a><tt>GET /api/v1/storm/indexing/start</tt></h3>
+
+<ul>
+  
+<li>Description: Starts a Storm indexing topology</li>
+  
+<li>Returns:
+  
+<ul>
+    
+<li>200 - Returns start response message</li>
+  </ul></li>
+</ul></div>
+<div class="section">
+<h3><a name="GET_apiv1stormindexingstop"></a><tt>GET /api/v1/storm/indexing/stop</tt></h3>
+
+<ul>
+  
+<li>Description: Stops a Storm enrichment topology</li>
+  
+<li>Input:
+  
+<ul>
+    
+<li>stopNow - Stop the topology immediately</li>
+  </ul></li>
+  
+<li>Returns:
+  
+<ul>
+    
+<li>200 - Returns stop response message</li>
+  </ul></li>
+</ul></div>
+<div class="section">
+<h3><a name="GET_apiv1stormparseractivatename"></a><tt>GET /api/v1/storm/parser/activate/{name}</tt></h3>
+
+<ul>
+  
+<li>Description: Activates a Storm parser topology</li>
+  
+<li>Input:
+  
+<ul>
+    
+<li>name - Parser name</li>
+  </ul></li>
+  
+<li>Returns:
+  
+<ul>
+    
+<li>200 - Returns activate response message</li>
+  </ul></li>
+</ul></div>
+<div class="section">
+<h3><a name="GET_apiv1stormparserdeactivatename"></a><tt>GET /api/v1/storm/parser/deactivate/{name}</tt></h3>
+
+<ul>
+  
+<li>Description: Deactivates a Storm parser topology</li>
+  
+<li>Input:
+  
+<ul>
+    
+<li>name - Parser name</li>
+  </ul></li>
+  
+<li>Returns:
+  
+<ul>
+    
+<li>200 - Returns deactivate response message</li>
+  </ul></li>
+</ul></div>
+<div class="section">
+<h3><a name="GET_apiv1stormparserstartname"></a><tt>GET /api/v1/storm/parser/start/{name}</tt></h3>
+
+<ul>
+  
+<li>Description: Starts a Storm parser topology</li>
+  
+<li>Input:
+  
+<ul>
+    
+<li>name - Parser name</li>
+  </ul></li>
+  
+<li>Returns:
+  
+<ul>
+    
+<li>200 - Returns start response message</li>
+  </ul></li>
+</ul></div>
+<div class="section">
+<h3><a name="GET_apiv1stormparserstopname"></a><tt>GET /api/v1/storm/parser/stop/{name}</tt></h3>
+
+<ul>
+  
+<li>Description: Stops a Storm parser topology</li>
+  
+<li>Input:
+  
+<ul>
+    
+<li>name - Parser name</li>
+    
+<li>stopNow - Stop the topology immediately</li>
+  </ul></li>
+  
+<li>Returns:
+  
+<ul>
+    
+<li>200 - Returns stop response message</li>
+  </ul></li>
+</ul></div>
+<div class="section">
+<h3><a name="GET_apiv1stormname"></a><tt>GET /api/v1/storm/{name}</tt></h3>
+
+<ul>
+  
+<li>Description: Retrieves the status of a Storm topology</li>
+  
+<li>Input:
+  
+<ul>
+    
+<li>name - Topology name</li>
+  </ul></li>
+  
+<li>Returns:
+  
+<ul>
+    
+<li>200 - Returns topology status information</li>
+    
+<li>404 - Topology is missing</li>
+  </ul></li>
+</ul></div>
+<div class="section">
+<h3><a name="GET_apiv1stormsupervisors"></a><tt>GET /api/v1/storm/supervisors</tt></h3>
+
+<ul>
+  
+<li>Description: Retrieves the status of all Storm Supervisors</li>
+  
+<li>Returns:
+  
+<ul>
+    
+<li>200 - Returns a list of the status of all Storm Supervisors</li>
+  </ul></li>
+</ul></div>
+<div class="section">
+<h3><a name="PATCH_apiv1updatepatch"></a><tt>PATCH /api/v1/update/patch</tt></h3>
+
+<ul>
+  
+<li>Description: Update a document with a patch</li>
+  
+<li>Input:
+  
+<ul>
+    
+<li>request - Patch Request
+    
+<ul>
+      
+<li>guid - The Patch UUID</li>
+      
+<li>sensorType - The sensor type</li>
+      
+<li>patch - An array of <a class="externalLink" href="https://tools.ietf.org/html/rfc6902">RFC 6902</a> patches.</li>
+    </ul></li>
+    
+<li>Example adding a field called <tt>project</tt> with value <tt>metron</tt> to the <tt>bro</tt> message with UUID of <tt>000-000-0000</tt> :</li>
+  </ul></li>
+</ul>
+
+<div class="source">
+<div class="source">
+<pre>  {
+     &quot;guid&quot; : &quot;000-000-0000&quot;,
+     &quot;sensorType&quot; : &quot;bro&quot;,
+     &quot;patch&quot; : [
+      {
+                &quot;op&quot;: &quot;add&quot;
+               , &quot;path&quot;: &quot;/project&quot;
+               , &quot;value&quot;: &quot;metron&quot;
+      }
+              ]
+   }
+</pre></div></div>
+
+<ul>
+  
+<li>Returns:
+  
+<ul>
+    
+<li>200 - nothing</li>
+    
+<li>404 - document not found</li>
+  </ul></li>
+</ul></div>
+<div class="section">
+<h3><a name="PUT_apiv1updatereplace"></a><tt>PUT /api/v1/update/replace</tt></h3>
+
+<ul>
+  
+<li>Description: Replace a document</li>
+  
+<li>Input:
+  
+<ul>
+    
+<li>request - Replacement request
+    
+<ul>
+      
+<li>guid - The Patch UUID</li>
+      
+<li>sensorType - The sensor type</li>
+      
+<li>replacement - A Map representing the replaced document</li>
+    </ul></li>
+    
+<li>Example replacing a <tt>bro</tt> message with guid of <tt>000-000-0000</tt></li>
+  </ul></li>
+</ul>
+
+<div class="source">
+<div class="source">
+<pre>   {
+     &quot;guid&quot; : &quot;000-000-0000&quot;,
+     &quot;sensorType&quot; : &quot;bro&quot;,
+     &quot;replacement&quot; : {
+       &quot;source:type&quot;: &quot;bro&quot;,
+       &quot;guid&quot; : &quot;bro_index_2017.01.01.01:1&quot;,
+       &quot;ip_src_addr&quot;:&quot;192.168.1.2&quot;,
+       &quot;ip_src_port&quot;: 8009,
+       &quot;timestamp&quot;:200,
+       &quot;rejected&quot;:false
+      }
+   }
+</pre></div></div>
+
+<ul>
+  
+<li>Returns:
+  
+<ul>
+    
+<li>200 - Current user</li>
+  </ul></li>
+</ul></div>
+<div class="section">
+<h3><a name="GET_apiv1user"></a><tt>GET /api/v1/user</tt></h3>
+
+<ul>
+  
+<li>Description: Retrieves the current user</li>
+  
+<li>Returns:
+  
+<ul>
+    
+<li>200 - Current user</li>
+  </ul></li>
+</ul></div></div>
+<div class="section">
+<h2><a name="Testing"></a>Testing</h2>
+<p>Profiles are includes for both the metron-docker and Full Dev environments.</p>
+<div class="section">
+<h3><a name="metron-docker"></a>metron-docker</h3>
+<p>Start the <a href="../../metron-docker/index.html">metron-docker</a> environment. Build the metron-rest module and start it with the Spring Boot Maven plugin:</p>
+
+<div class="source">
+<div class="source">
+<pre>mvn clean package
+mvn spring-boot:run -Drun.profiles=docker,dev
+</pre></div></div>
+<p>The metron-rest application will be available at <a class="externalLink" href="http://localhost:8080/swagger-ui.html#/">http://localhost:8080/swagger-ui.html#/</a>.</p></div>
+<div class="section">
+<h3><a name="Full_Dev"></a>Full Dev</h3>
+<p>Start the <a href="../../metron-deployment/vagrant/full-dev-platform/index.html">Full Dev</a> environment. Build the metron-rest module and start it with the Spring Boot Maven plugin:</p>
+
+<div class="source">
+<div class="source">
+<pre>mvn clean package
+mvn spring-boot:run -Drun.profiles=vagrant,dev
+</pre></div></div>
+<p>The metron-rest application will be available at <a class="externalLink" href="http://localhost:8080/swagger-ui.html#/">http://localhost:8080/swagger-ui.html#/</a>.</p>
+<p>To run the application locally on the Full Dev host (node1), follow the <a href="#Installation">Installation</a> instructions above. Then set the METRON_SPRING_PROFILES_ACTIVE variable in <tt>/etc/default/metron</tt>:</p>
+
+<div class="source">
+<div class="source">
+<pre>METRON_SPRING_PROFILES_ACTIVE=&quot;vagrant,dev&quot;
+</pre></div></div>
+<p>and start the application:</p>
+
+<div class="source">
+<div class="source">
+<pre>service metron-rest start
+</pre></div></div>
+<p>In a cluster with Kerberos enabled, update the security settings in <tt>/etc/default/metron</tt>. Security is disabled by default in the <tt>vagrant</tt> Spring profile so that setting must be overriden with the METRON_SPRING_OPTIONS variable:</p>
+
+<div class="source">
+<div class="source">
+<pre>METRON_SPRING_PROFILES_ACTIVE=&quot;vagrant,dev&quot;
+METRON_JVMFLAGS=&quot;-Djava.security.auth.login.config=$METRON_HOME/client_jaas.conf&quot;
+METRON_SPRING_OPTIONS=&quot;--kerberos.enabled=true&quot;
+</pre></div></div>
+<p>The metron-rest application will be available at <a class="externalLink" href="http://node1:8082/swagger-ui.html#/">http://node1:8082/swagger-ui.html#/</a>.</p></div></div>
+<div class="section">
+<h2><a name="License"></a>License</h2>
+<p>This project depends on the Java Transaction API. See <a class="externalLink" href="https://java.net/projects/jta-spec/">https://java.net/projects/jta-spec/</a> for more details.</p></div>
+                  </div>
+            </div>
+          </div>
+
+    <hr/>
+
+    <footer>
+            <div class="container-fluid">
+              <div class="row span12">Copyright &copy;                    2017
+                        <a href="https://www.apache.org">The Apache Software Foundation</a>.
+            All Rights Reserved.      
+                    
+      </div>
+
+                          
+        
+                </div>
+    </footer>
+  </body>
+</html>