Hi,

You can use the following to remove fields:
 Exec delete($field1); delete($field2);
To rewrite the fields, you can use the replace() function or regular
expressions. See here:
http://nxlog.org/nxlog-docs/en/nxlog-reference-manual.html#processing_rewrite

Regards,
Botond

On Thu, 27 Feb 2014 21:07:39 +0200
Shedis <she...@gmail.com> wrote:

> Hi Botond,
> Yes can choose or convert the eventing to one of these format before sending 
> over network.
> 
> Perhaps I couldn't explain it clearly enough. My question to is how I can 
> rewrite the message and remove some of the fields/item before sending it over 
> the wire. Currently all of the fields of an eventlog entry  is being sent 
> over network I would like to remove some fields before sending over network.
> Regards,
> 
> Sent from my Mobile Device!
> 
> > On Feb 27, 2014, at 13:48, Botond Botyanszki <b...@nxlog.org> wrote:
> > 
> > Hi,
> > 
> > There are several options to send the fields across the network.
> > * "OutputType Binary" and "InputType Binary"
> > * to_json() and parse_json()
> > * to_syslog_ietf() and parse_syslog()
> > * kvp
> > * csv
> > 
> > Example with SSL:
> > Client side.
> > http://nxlog.org/nxlog-docs/en/nxlog-reference-manual.html#idp36192432
> > Server side:
> > http://nxlog.org/nxlog-docs/en/nxlog-reference-manual.html#idp35449296
> > 
> > Regards,
> > Botond
> > 
> > On Thu, 27 Feb 2014 03:43:52 +0200
> > Shedis <she...@gmail.com> wrote:
> > 
> >> Hi,
> >> 
> >> I’m able to setup I’m_msvistalog, query the needed events, filter using 
> >> Exec statements and finally output via om_file and xm_csv module. 
> >> 
> >> In order to send some of the fields of event log message, i have setup the 
> >> output tcp module. but couldn’t figure out how to go about sending some of 
> >> the fields of event log to a remote server. 
> >> Any example or hint would be appreciated.
> >> 
> >> Thanks in advance!
> >> 
> >> kind regards,
> >> 
> >> Shedis
> >> ------------------------------------------------------------------------------
> >> Flow-based real-time traffic analytics software. Cisco certified tool.
> >> Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
> >> Customize your own dashboards, set traffic alerts and generate reports.
> >> Network behavioral analysis & security monitoring. All-in-one tool.
> >> http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
> >> _______________________________________________
> >> nxlog-ce-users mailing list
> >> nxlog-ce-users@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/nxlog-ce-users
> > 
> > ------------------------------------------------------------------------------
> > Flow-based real-time traffic analytics software. Cisco certified tool.
> > Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
> > Customize your own dashboards, set traffic alerts and generate reports.
> > Network behavioral analysis & security monitoring. All-in-one tool.
> > http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
> > _______________________________________________
> > nxlog-ce-users mailing list
> > nxlog-ce-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/nxlog-ce-users
> 
> ------------------------------------------------------------------------------
> Flow-based real-time traffic analytics software. Cisco certified tool.
> Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
> Customize your own dashboards, set traffic alerts and generate reports.
> Network behavioral analysis & security monitoring. All-in-one tool.
> http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
> _______________________________________________
> nxlog-ce-users mailing list
> nxlog-ce-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nxlog-ce-users

------------------------------------------------------------------------------
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
_______________________________________________
nxlog-ce-users mailing list
nxlog-ce-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nxlog-ce-users

Reply via email to