[Bro-Dev] #912: Need option for ASCII logging writer to only print CSV header line
Bro Tracker
bro at tracker.bro-ids.org
Wed Oct 31 08:51:05 PDT 2012
#912: Need option for ASCII logging writer to only print CSV header line
------------------------------+-------------------------------
Reporter: carsten | Owner:
Type: Feature Request | Status: new
Priority: Normal | Milestone: Bro2.2
Component: Bro | Version: git/master
Resolution: | Keywords: logging csv ascii
------------------------------+-------------------------------
Comment (by robin):
On Wed, Oct 31, 2012 at 08:54 -0000, you wrote:
> But I checked the source code and it is not obvious to me how to use
it.
> It seems the feature of the config table is there, but none of the
current
> writers actually use it
Almost true. :) The (dummy) {{{None}}} write actually prints out the
values for debugging; they show up in the {{{WriterInfo::config}}
table, see {{{logging/writers/None.cc}}}, lines 24-25.
> b) Do you have a naming scheme in mind on how to name options and
values?
Not really (but I appreciate you asking!). As these are
writer-specific values, we don't need to standardize them much but
what you suggest sounds good: lower-cased with underscores, T/F for
boolean values.
Bernhard, please chime in if you have thoughts (he's using the
equivalent mechanism for Input Framework readers).
Robin
--
Ticket URL: <http://tracker.bro-ids.org/bro/ticket/912#comment:6>
Bro Tracker <http://tracker.bro-ids.org/bro>
Bro Issue Tracker
More information about the bro-dev
mailing list