Justin Azoff created BIT-1301:
---------------------------------

             Summary: Log::add_filter should have a transform func
                 Key: BIT-1301
                 URL: https://bro-tracker.atlassian.net/browse/BIT-1301
             Project: Bro Issue Tracker
          Issue Type: New Feature
          Components: Bro
            Reporter: Justin Azoff
            Assignee: Justin Azoff


One should be able to do something like

{code}

Log::add_filter(HTTP::LOG, [
    $transform=function(rec: HTTP:Info): HTTP::Info {
        #modify rec somehow
    }
]);

{code}

Not sure if it should modify the record in place, or return the modified 
version.

This could allow the user to do similar things to include/exclude, but on a 
more granular level.



--
This message was sent by Atlassian JIRA
(v6.4-OD-12-026#64007)
_______________________________________________
bro-dev mailing list
[email protected]
http://mailman.icsi.berkeley.edu/mailman/listinfo/bro-dev

Reply via email to