[ 
https://issues.apache.org/jira/browse/METRON-2306?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shane Ardell updated METRON-2306:
---------------------------------
    Description: 
Right now, existing Grok parsers in the UI have two timestamp name fields. One 
is a field is used to force a user to add a name in the case of creating a grok 
parser, and the other allows the user to edit the existing name (or delete it 
altogether!). See the attached image for reference.

A simple fix would be to hide the first mentioned instance if the parser isn't 
new. Another possibility is just removing the first field altogether and 
requiring the parser config object to have the timestampField property if it's 
a Grok parser. We also might want to remove the capability to delete the 
timestampField in the second instance since that's a required field for Grok 
parsers.

  was:
Right now, existing Grok parsers in the UI have two timestamp name fields. One 
is a field is used to force a user to add a name in the case of creating a grok 
parser, and the other allows the user to edit the existing name (or delete it 
altogether!). See the attached image for reference.

A simple fix would be to hide the first mentioned instance if the parser isn't 
new. We also might want to remove the capability to delete the timestampField 
in the second instance since that's a required field for Grok parsers.


> [UI] Grok parsers' have duplicate timestampField
> ------------------------------------------------
>
>                 Key: METRON-2306
>                 URL: https://issues.apache.org/jira/browse/METRON-2306
>             Project: Metron
>          Issue Type: Bug
>            Reporter: Shane Ardell
>            Priority: Major
>         Attachments: Screen Shot 2019-10-30 at 4.41.14 PM.png, Screen Shot 
> 2019-10-30 at 4.41.21 PM.png
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Right now, existing Grok parsers in the UI have two timestamp name fields. 
> One is a field is used to force a user to add a name in the case of creating 
> a grok parser, and the other allows the user to edit the existing name (or 
> delete it altogether!). See the attached image for reference.
> A simple fix would be to hide the first mentioned instance if the parser 
> isn't new. Another possibility is just removing the first field altogether 
> and requiring the parser config object to have the timestampField property if 
> it's a Grok parser. We also might want to remove the capability to delete the 
> timestampField in the second instance since that's a required field for Grok 
> parsers.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to