IIS(using nxlog) add customFields
hi
is there a way to add customFields to iis logs(in nxlog configuration) ?
something like i did in log4net ?
<customField>
<key>Environment</key>
-
Official comment
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
Please sign in to leave a comment.
Comments
1 comment