-
Notifications
You must be signed in to change notification settings - Fork 50
Description
Hi,
I'm using two Volkov Labs plugins (Business Forms to POST to a workflow on Node-RED, that insert IOCs in a different firewalls, and Business Text to show a results HTML file after that insertion), in conjunction with a Live Results table panel connected to a MQTT datasource, that shows the output details for every firewall with each status result (that is the output of Node-RED workflow, write all the results to a topic).
Originally, I was obtaining the Live Results via Grafana WebSockets plugin, but it is not stable, and I'm obtaining Query A - Starting WebSocket: connection Error: unexpected EOF
error quite frequently.
After I changed the dashboard to use Live Results table panel connected to a MQTT datasource, it is working ok when I do the first POST with Business Forms, but after that, on the subsequent POSTs, I'm obtaining empty rows in the panel (red rectangle):

As you can see, the first "Add IOCs" task was succeed, and you can see the results on Live Results - MQTT panel (it is at the bottom of the table because I have a transform that sort the results by Timestamp, reverse), but the next tasks (even "Add IOCs" or "Remove IOCs", always testing adding and removing 1.2.3.4 IP address) are shown as empty rows (I'm consuming that events with a MQTT in in Node-RED to test, and they are being received without any issue).
On Business Forms plugin, I'm using context.grafana.locationService.reload() context parameter to reload the dashboard after the POST, mainly because I'm showing the analysis of the IOCs on the "IOC Analysis" panel, and the HTML that the panel show is being modified every time by the Node-RED workflow, after the POST, to show the last IOC analysis.
Without use context.grafana.locationService.reload() context parameter, the Live Results - MQTT panel is working as expected, but I cannot show the last IOC analysis on the "IOC Analysis" panel.
Is there a way to solve this, or a workaround to use MQTT panel with context.grafana.locationService.reload() context parameter without this failing?
Grafana Version: v11.6.5
MQTT Plugin Version: grafana-mqtt-datasource v1.2.0
Thanks in advance for your help.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status