Prerequisites to using the mqtt() destination
In this chapter you can read about the prerequisites of using the mqtt() destination in syslog-ng OSE.
Using the current implementation of the mqtt() destination has the following prerequisites:
-
Installing the eclipse-paho-mqtt-c library.
NOTE: The default package manager for some Linux operating systems contains the eclipse-paho-mqtt-c library, but depending on your OS, you may have to install the library manually. For more information about how you can download and install the eclipse-paho-mqtt-c library, see Eclipse Paho on the Eclipse Foundation website.
-
Having a broker entity in a functional MQTT system.
NOTE: In your configuration, you will specify the broker entity of your MQTT system in the address() option of your mqtt() destination.