[Bro-Dev] #772: Problem with $path_func in Log filters

Bro Tracker bro at tracker.bro-ids.org
Thu Feb 16 07:52:04 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):

 The value of the `path` parameter in the `path_func` is tricky.  Here's
 the documentation for it:

 {{{
         ## path: A suggested path value, which may be either the filter's
         ##       ``path`` if defined, else a previous result from the
 function.
         ##       If no ``path`` is defined for the filter, then the first
 call
         ##       to the function will contain an empty string.
 }}}

 So does setting `$path = "dns"` and `$path = "http"` in the filters do
 what you want?

-- 
Ticket URL: <http://tracker.bro-ids.org/bro/ticket/772#comment:2>
Bro Tracker <http://tracker.bro-ids.org/bro>
Bro Issue Tracker



More information about the bro-dev mailing list