Ask questions. Get answers. Find technical product solutions from passionate experts in the NXLog community.

How could I pass output of to_json() from nxlog.conf to perl file?
Hi, I have this type of input in nxlog.conf: <Input udp> Module im_udp Host 0.0.0.0 Port 514 Exec parse_syslog(); to_json(); perl_call("process"); </Input> My question is, how should I include that JSON output that I get from to_json() to my perl code? Should I write like this?: my ( $event ) = @_; Or it's only the output of parse_syslog_bsd() (as in example for xm_perl https://nxlog.co/documentation/nxlog-user-guide/xm_perl.html)? More generally, my question is how to include JSON output that i get from to_json() to perl code of xm_perl module?

EZ created
Replies: 1
View post »
last updated
Pass the value of the variable in nxlog from perl script
Hello! I want pass value a variable from NxLog in Perl script, and pass variable in nxlog after running the script. how do I do this ? Thank

toreno93 created
Replies: 1
View post »
last updated
the perl interpreter failed to parse /tmp/nxlog/Perl/perl.pl
Hello. Help me please, i beginner in NxLog. I use NxLog on Unix and use Perl module, and script perl.pl What this error ERROR the perl interpreter failed to parse /tmp/nxlog/Perl/perl.pl?? How do i fix this??     beginner  

toreno93 created
Replies: 1
View post »
last updated