[Bro] Writing JSON logs

Siwek, Jonathan Luke jsiwek at illinois.edu
Fri Nov 22 07:44:23 PST 2013


On Nov 22, 2013, at 8:47 AM, Tritium Cat <tritium.cat at gmail.com> wrote:

> event bro_init()
> {
>         LogAscii::write_json=T;
> }
> 
> results in
> 
> # bin/broctl check
> manager failed.
>    error in /usr/local/3rd-party/bro/share/bro/site/local.bro, line 7:
> const is not a modifiable lvalue (LogAscii::write_json)
It’s a “const” so you can’t change the value at run-time.  Use `redef` to assign a new value at parse-time.

- Jon



More information about the Bro mailing list