[Bro-Dev] #772: Problem with $path_func in Log filters
Bro Tracker
bro at tracker.bro-ids.org
Thu Feb 16 08:22:03 PST 2012
#772: Problem with $path_func in Log filters
----------------------+------------------------
Reporter: seth | Owner:
Type: Problem | Status: new
Priority: High | Milestone: Bro2.1
Component: Bro | Version: git/master
Resolution: | Keywords:
----------------------+------------------------
Comment (by jsiwek):
> > So does setting `$path = "dns"` and `$path = "http"` in the filters do
> > what you want?
>
> Hm, I suppose it would. There should be the default path that is set
though, right?
I don't think that gets decided internally anymore: it's entirely up to
the `default_path_func`, which you're now replacing. Maybe a better way
than explicitly setting a filter $path is to find a way to refactor/re-use
the code in `default_path_func` that transforms the Log::ID into a default
path and then call out to it from the new path_func.
--
Ticket URL: <http://tracker.bro-ids.org/bro/ticket/772#comment:4>
Bro Tracker <http://tracker.bro-ids.org/bro>
Bro Issue Tracker
More information about the bro-dev
mailing list