HiveMQ

Monitor MQTT Security Logs

Hello Team,

we are using MQTT Brokers by using jwt based client authentication and username and password based. our developers has enabled logs but we are not getting any security content in that log.

could you please help us what logs we need to monitor, if you have some sample logs please share with us.

Thank you,

Hey plokesh1,

welcome to the HiveMQ community!

Since you are using JWT based authentication, I am assuming you are working with a custom extension. Is this correct?
If so, you should be able to log at at any point by simply calling log.info("some information").
This will then be appended to your regular log.

I hope this helps!

Kind regards,
Finn of the HiveMQ Team