http [1]
The http module has only one driver, which is the http() destination driver. The http() driver sends messages to web services using HTTP protocol.
Important Information
Error and status messages received from the HTTP server are forwarded to the internal logs of syslog-ng.
Only HTTP connections are supported, HTTPS is not.
This implementation does not require Java.
Only the PUT and the POST methods are supported. For more methods, Java is required which will be covered in the Java driver post.
Status
Architecture
Status
x86
Works
ARM
Works
Testing
To test the HTTP destination driver, we need to be able to send the data to a host that can accept the PUT/POST methods and display confirmation of the same. A dummy server python script is shown below to achieve the same. To test this, we will send a PUT/POST request from our syslog-ng to the dummy server we set up and look for the output of the server.
Server code ( python3 )
Configuration file used
Proof
Last updated