7.7. Posting messages over HTTP
Version 3.7 of syslog-ng OSE can directly post log messages to web services using the HTTP protocol. Error and status messages received from the HTTP server are forwarded to the internal logs of syslog-ng OSE. The current implementation has the following limitations:
This destination is only supported on the Linux platform.
Only HTTP connections are supported, HTTPS is not.
This destination requires Java. For an
httpdestination that does not use Java, see Section 7.8,
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>") );