[Bro] define a variable name based on string in bro

william de ping bill.de.ping at gmail.com
Tue Apr 18 04:07:13 PDT 2017

Hi Jan,

Thank you, but I fail to see what it is your speaking of in the link ?
Do you mean that each element in the table is a variable ?

In that case, writing\reading from this table will have complexity of O(n),
right ?

Thanks again

On Tue, Apr 18, 2017 at 12:27 PM, Jan Grashöfer <jan.grashoefer at gmail.com>

> > I am trying to auto generate a variable name dynamically.
> > ...
> > The above does not work, so is there any command in bro language that
> could
> > transform a string into a variable ?
> Seems what you're looking for is a string indexed table:
> https://www.bro.org/sphinx-git/scripting/index.html#id12
> Jan
> _______________________________________________
> Bro mailing list
> bro at bro-ids.org
> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/bro
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ICSI.Berkeley.EDU/pipermail/bro/attachments/20170418/ec6c87f1/attachment.html 

More information about the Bro mailing list