Skip to content

What's your UNS maturity level? Get a custom report: Take the UNS Maturity Assessment

HiveMQ Plugins: MQTT Access Log Plugin

by HiveMQ Team
4 min read

HiveMQ was released recently and the first two free HiveMQ plugins are also available for download. Besides many other remarkable features, HiveMQ excels with its outstanding extensibility. This enables you to deeply integrate HiveMQ in your existing M2M solution or any other software system. In this blog post series we want to show you some of the most popular HiveMQ extensions which you can use for free and which could be a perfect fit for your next M2M or Internet of Things project with MQTT. The first plugin we want to introduce is the MQTT Access Log Plugin.

MQTT Access Log Plugin

The MQTT Access Log Plugin was initially developed to monitor the actions of different clients in High Availability clusters. With the MQTT Access Log plugin you are able to log the following client actions:

  • A client connects to HiveMQ

  • A client publishes a message

  • A client subscribes to topics

  • A client unsubscribes from topics

  • A client disconnects from HiveMQ

The ability to monitor all client actions is incredibly useful for debugging, if you want to track the client actions of your clients to see what went wrong in a particular scenario. We use this plugin ourselves very often when verifying client distributions in HiveMQ clusters. The Access Log Plugin is extremely simple to use since it does not need any configuration. The following shows a example output of the Access Log:

2013-06-17 13:45:02  firstClient CONNECTED
2013-06-17 13:45:02  firstClient SUBSCRIBED TO [Topic{topic='#', qoS=AT_MOST_ONCE}]
2013-06-17 13:45:53  client2 CONNECTED
2013-06-17 13:45:53  client2 PUBLISHED MESSAGE TO test PAYLOAD: test
2013-06-17 13:45:53  client2 DISCONNECTED
2013-06-17 13:46:20  client3 CONNECTED
2013-06-17 13:46:20  client3 PUBLISHED MESSAGE TO topic/to/publish PAYLOAD: myMessage
2013-06-17 13:46:20  client3 DISCONNECTED

Although the plugin is extremely useful for development and debugging purposes, it should be used with care in production environments. The plugin logs every client interaction with the message broker, including publishes, to a log file. When you are dealing with massive amounts of distributed messages per second, the plugin will most likely be a bottleneck and will slow down the whole HiveMQ instance. For your smaller projects this may be no issue, though.

In the next weeks, additional free HiveMQ plugins will be available in the plugin section of our website. We will release a public Plugin SDK at the end of July so you can implement your own plugins very easily. An early access preview is available, just contact us for more information.

HiveMQ Team

The HiveMQ team loves writing about MQTT, Sparkplug, Unified Namespace (UNS), Industrial IoT protocols, IoT Data Streaming, how to deploy our platform, and more. We focus on industries ranging from energy, to transportation and logistics, to automotive manufacturing. Our experts are here to help, contact us with any questions.

Related content:

Understanding MQTT Message Ordering

Understand how MQTT and Sparkplug handle message ordering, especially in clustered environments. Learn how HiveMQ ensures order and reliability.

Blog

Solving Common Industrial IoT Data Streaming Challenges with MQTT

Struggling with real-time IIoT data flow? Learn how MQTT solves legacy integration, scaling, reliability, and security challenges in manufacturing.

Blog

Deploying Real-World UNS Architectures with MQTT and Node-RED

Explore real-world UNS architectures using MQTT and Node-RED, as discussed in CONNACK Episode 4 featuring insights from Mayker.

Blog

It’s Your Time to Shine: Apply to Win an MQTT Innovation Award

HiveMQ Innovation Awards 2025 are back. A tribute to what our customers have achieved with the HiveMQ platform & MQTT across industries.

Blog

Managing HiveMQ Releases and Support: What You Need to Know

Understand HiveMQ releases, support windows, and how to plan upgrades for secure, reliable, and high-performing deployments.

Blog

How HiveMQ’s ISO 27001 and SOC 2 Certifications Support GxP Compliance

Learn how HiveMQ’s ISO 27001 and SOC 2 certifications helps companies meet GxP compliance for secure, reliable Industrial IoT data streaming.

Blog

A Step-by-Step Guide to Connecting Ignition to MQTT and HiveMQ

Learn how to connect Ignition to MQTT and HiveMQ to enable secure, real-time industrial data streaming and bridge OT and IT systems with ease.

Blog

MQTT Platform Evaluation Checklist

Download this checklist to evaluate MQTT platforms against enterprise criteria like scalability, performance, and total cost of ownership (TCO).

Resource

Building a Unified Namespace: Why MQTT Outperforms NATS

Is NATS a fit for UNS? Explore how its fast, flat pub/sub model compares to MQTT’s hierarchy, and where each excels in Unified Namespace design.

Blog

Building a Unified Namespace: Why MQTT Outperforms AMQP

Evaluate why AMQP falls short for building a Unified Namespace, with its complex routing and overhead, compared to MQTT’s lightweight, topic-based model.

Blog

HiveMQ vs. AWS IoT Core: A Comparative Analysis for IoT Messaging

Compare HiveMQ vs. AWS IoT Core on scalability, MQTT compliance, integrations, security, and vendor lock-in to choose the best IoT messaging platform.

Blog

G2 Recognizes HiveMQ as One of the Top 25 Best German Software Companies for 2025

HiveMQ is recognized by G2 as one of the top 25 Best German Software Company 2025 in Message Queue (MQ) category, validating our MQTT-powered solutions.

Blog

Visualizing HiveMQ Cluster and Node Metrics with Grafana

Gain visibility into your HiveMQ clusters, nodes, and extensions with Grafana’s powerful visualizations for performance and health monitoring.

Blog

Beyond MQTT: The Fit and Limitations of Other Technologies in a UNS

Learn why Kafka, OPC UA, Sparkplug and Snowflake fall short for a UNS & why MQTT is the top choice for real-time, event-driven industrial data flow.

Blog

Why MQTT is Critical for Building a Unified Namespace

Discover why MQTT is the only protocol that fully enables a scalable and real-time Unified Namespace (UNS), ensuring seamless data exchange at scale.

Blog

What Airports Can Learn from MQTT

Airports can learn from MQTT: Real-time updates, smarter queue management & better passenger flow. See how tech could prevent travel chaos!

Blog

Expanding Industrial IoT in 2025

Uncover 2025's top IIoT trends, challenges, and strategies. Download the report to explore AI, MQTT, UNS, and solutions driving industrial transformation!

Resource

MQTT Data Visualization with Grafana

See how organizations can transform raw operational data streams into actionable dashboards by pairing MQTT with Grafana's visualization capabilities.

Blog

2024 in Review: How HiveMQ Fueled IoT Innovation Across Industries

Explore how HiveMQ powered IoT innovation across industries in 2024 with its products. Dive into key highlights and accomplishments this year.

Blog

Machine Learning at the Edge with Scikit-Learn, Keras, BentoML, and HiveMQ

Explore how to run machine learning models at the edge with Scikit-Learn, Keras, BentoML, & HiveMQ using a manufacturing example on predictive quality.

Blog

HiveMQ vs. Mosquitto: An MQTT Broker Comparison

Compare HiveMQ’s scalability and clustering with Mosquitto’s lightweight design to choose the right MQTT broker for your application needs.

Blog

A CTO’s Guide to Selecting the Right IoT Partner

Learn how Lumo transforms agriculture with HiveMQ, which is simplifying complex integrations and offering a reliable MQTT platform.

Blog

Integrating AI-Driven Computer Vision with a Unified Namespace

Discover how Coretecs developed a AI-based anomaly detection on real-time process data using Unified Namespace, MQTT and HiveMQ MQTT platform.

Blog

Robust Industrial Asset Performance Management Solution with MQTT and UNS

Explore how MQTT & UNS are transforming industrial asset management by overcoming connectivity issues and simplifying data integration.

Blog

A Robust Data Foundation for Industrial Metaverse Using MQTT and Unified Namespace

Success in the industrial metaverse relies on data. Explore how to build a strong foundation with MQTT & UNS to future-proof IIoT systems.

Blog

Optimizing Data Cost Efficiency in MQTT-Based IoT and Connected Systems

Learn key strategies to enhance data cost efficiency in MQTT deployments so you can not only cut expenses but also optimize performance.

Blog

Monitoring an MQTT Broker for Key Performance Indicators (KPIs)

Explore the importance of monitoring MQTT Brokers for Key Performance Indicators (KPIs) and different ways to achieving this.

Blog

Revolutionizing Connectivity: Powerful MQTT Use Cases with Co-Inventor Andy Stanford-Clark

In this exciting webinar, MQTT co-inventor Andy Stanford-Clark and HiveMQ CTO Dominik Obermaier, showcase powerful use cases built on MQTT that are driving innovation and digital transformation

Webinar

Debunking Common MQTT QoS Misconceptions

Learn how MQTT QoS truly operates and mitigate two common misconceptions around message retransmission policy and downgrade of QoS.

Blog

Real-time Insights with MQTT to Power Conversational Marketing

Explore how HiveMQ & MQTT power Qualifico’s real-time marketing platform with 24/7 availability & reliability, optimizing customer interactions seamlessly.

Blog
HiveMQ logo
Review HiveMQ on G2