The posts provide some useful info if we’re using MQTT
Thought I would share my findings to help others who want to send app logs to a Solace queue.
There are a number of possible ways to send logs to Solace :
- some people are using a community plugin from Logstash or Fluentd to publish the logs via MQTT into Solace PubSub+ using topics. From there, use topic to queue mapping to persistently store the logs and also most importantly do some routing/filtering as needed.
One sample plugin is here: GitHub - toyokazu/fluent-plugin-mqtt-io: Fluent plugin for MQTT Input/Output. Look at the output part.
See the previous discussion on this thread.
- logstash can send logs to Solace via a JMS output plugin.
-
its possible to use the curl command to post log messages to Solace queues directly
-
or write a custom Java daemon to read logs and forward to Solace via JMS.