Version
This destination is only supported on the Linux platform.
Only HTTP connections are supported, HTTPS is not.
This destination requires Java. For an http destination that does not use Java, see http: Posting messages over HTTP without Java.
@module mod-java
java(
class-path("/syslog-ng/install_dir/lib/syslog-ng/java-modules/*.jar")
class-name("org.syslog_ng.http.HTTPDestination")
option("url", "http://<server-address>:<port-number>")
);The following example defines an http destination.
@module mod-java
destination d_http {
java(
class-path("/syslog-ng/install_dir/lib/syslog-ng/java-modules/*.jar")
class-name("org.syslog_ng.http.HTTPDestination")
option("url", "http://192.168.1.1:80")
);
};
log
{ source(s_file); destination(d_http); flags(flow-control); };
© ALL RIGHTS RESERVED. Termini di utilizzo Privacy Centro preferenze cookie