IIS(using nxlog) add customFields

Comments

1 comment

  • Official comment
    Avatar
    Joshua Schnitzer

    Hi Gilad,

    In the nxlog there is a line like the following

    Exec $raw_event = '[Logzio_loggin_toke][type=iis]' + $raw_event;

    In the section [type=iis] you can add a key=value combination to the template to add more data to the logs.

     

    EG:

    Exec $raw_event = '[Logzio_loggin_toke][type=iis envionment=production]' + $raw_event;

     

    Comment actions Permalink

Please sign in to leave a comment.