Justin Leet created METRON-1586:
-----------------------------------

             Summary: Defaulting for the source type field in alerts UI does 
not work
                 Key: METRON-1586
                 URL: https://issues.apache.org/jira/browse/METRON-1586
             Project: Metron
          Issue Type: Bug
            Reporter: Justin Leet


The alerts UI does not allow you to display an individual alert. The error is a 
404 against the findOne endpoint becuase the sensorType is set to "undefined". 
We should be defaulting this to source:type in the UI.

The POST data is:

{guid: "0e0d5f36-0fb5-4348-81fc-a6096ac4f74b", sensorType: "undefined"}

The core issue is everywhere in 
[https://github.com/apache/metron/pull/1010/files] that we're calling 
this.globalConfig['source.type.field'] should fall-back to source:type



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to