[Bro] field value missing error

ps sunu pssunu6 at gmail.com
Fri May 13 13:51:21 PDT 2016


Ya solved  Thank you

On Sat, May 14, 2016 at 1:48 AM, Azoff, Justin S <jazoff at illinois.edu>
wrote:

> > On May 13, 2016, at 4:01 PM, ps sunu <pssunu6 at gmail.com> wrote:
> >
> >
> > event KRB::log_krb (rec: KRB::Info)
> > {
> >
> >   host_name_user1[rec$id$orig_h] = rec$client;
> > }
> >
> >
> >                This is my sample code, while running this i am getting
> below error
> > virtual-machine:~/Newlogs$ sudo bro -C
> contrained-delegation/Krb-contrained-delegation.cap  Musers.bro
> > orig
> > 1139998844.531337 expression error in ./Musers.bro, line 51: field value
> missing [Musers::rec$client]
> >
> >             that error line no 51 is marked as red ,any problem in this
> code ?
> >
>
> client is an optional field, you need to wrap that statement with a
>
>     if(rec?$client) { }
>
> --
> - Justin Azoff
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ICSI.Berkeley.EDU/pipermail/bro/attachments/20160514/a4ee7b57/attachment.html 


More information about the Bro mailing list