[Bro-Dev] [JIRA] (BIT-1301) Log::add_filter should have a transform func

Justin Azoff (JIRA) jira at bro-tracker.atlassian.net
Thu Dec 18 06:52:00 PST 2014

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


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


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

More information about the bro-dev mailing list