How to send application log to a Solace queue

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 :

  1. 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.

  1. logstash can send logs to Solace via a JMS output plugin.
  1. its possible to use the curl command to post log messages to Solace queues directly

  2. or write a custom Java daemon to read logs and forward to Solace via JMS.