[Bro] Checking for null/undefined variables

Aubrey Wells awells at digiumcloud.com
Tue Nov 18 07:52:54 PST 2014


Beautiful, thank you!


---------------------
Aubrey Wells
Manager, Network Operations
Digium Cloud Services
Main: 888.305.3850
Support: 877.344.4861 or http://www.digium.com/en/support
<http://www.digium.com/en/support?elq=65516445a5964d3597e25eaf566bc2cf&elqCampaignId=>

On Tue, Nov 18, 2014 at 10:51 AM, Siwek, Jon <jsiwek at illinois.edu> wrote:

>
> > On Nov 18, 2014, at 9:38 AM, Aubrey Wells <awells at digiumcloud.com>
> wrote:
> >
> > Is there a way to check for null/undefined variables that I'm just
> missing, or do I need to rethink they way I'm doing this entirely?
>
> The “?$” operator can be used to check whether an optional field of a
> record actually has a value.  Example:
>
> http://try.bro.org/#/trybro/saved/96c4ba9d-3d49-4372-a01b-aa31157e46e1
>
> - Jon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ICSI.Berkeley.EDU/pipermail/bro/attachments/20141118/9b28980d/attachment.html 


More information about the Bro mailing list