[Bro-Dev] [JIRA] (BIT-1157) optional fields are missing from JSON logs

Seth Hall (JIRA) jira at bro-tracker.atlassian.net
Fri Mar 14 09:00:18 PDT 2014


    [ https://bro-tracker.atlassian.net/browse/BIT-1157?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15734#comment-15734 ] 

Seth Hall commented on BIT-1157:
--------------------------------

Are those fields null or are they empty?  I think if they aren't represented in the output then they're actually null.  I could change the behavior to be if a field is null, have it actually write out "answers":null but I feel like that is just needlessly filling the output since not including the field has essentially the same effect with less junk being output.

> optional fields are missing from JSON logs
> ------------------------------------------
>
>                 Key: BIT-1157
>                 URL: https://bro-tracker.atlassian.net/browse/BIT-1157
>             Project: Bro Issue Tracker
>          Issue Type: Problem
>          Components: Bro
>    Affects Versions: git/master
>            Reporter: Justin Azoff
>            Assignee: Seth Hall
>




--
This message was sent by Atlassian JIRA
(v6.2-OD-10-004-WN#6253)


More information about the bro-dev mailing list