[Bro-Dev] [JIRA] (BIT-1301) Log::add_filter should have a transform func
Adam Slagell (JIRA)
jira at bro-tracker.atlassian.net
Sun Jan 10 08:43:00 PST 2016
[ https://bro-tracker.atlassian.net/browse/BIT-1301?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Adam Slagell updated BIT-1301:
------------------------------
Issue Type: Improvement (was: New Feature)
> 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: Improvement
> Components: Bro
> Reporter: Justin Azoff
> Assignee: Justin Azoff
> Priority: Low
> Labels: logging
> Fix For: 2.5
>
>
> 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
(v7.1.0-OD-03-049#71001)
More information about the bro-dev
mailing list