Hi all,
I use Elasticsearch and Filebeat to fetch data from 2 Node MCUs via the UDP interface. The messages are formatted within the MCUs and are sent successfully in JSON format:
"message": {
"FFT_Freq": [
0,
78.125,
156.25,
234.375,
312.5,
390.625,
468.75,
546.875,
],
"FFT_Magn": [
3394.808,
1488.456,
15.87906,
54.76368,
17.0278,
86.5359,
133.0211,
81.6696,
],
"cnt_Tx": 6565,
"deviceID": "CurSensor_MCU",
"t_Tx": 2144553233,
"MCU_current": 101.1
}
Grafana is accessing the data just fine. However, the FFT_Freq and FFT_magn fields contain a signalâs FFT Frequencies and respective Magnitudes as arrays in the JSON. Of course FFT is not âtime-variantâ to display it as time-series, but it would be nice if I could visualize a kind of X-Y plot, with X being the Frequencies and Y the respective magnitudes, and these would be refreshed each time a new message arrives in Grafana.
Is there a way I can achieve that in Grafana? Iâm aware of the posts here and here, but they are not of much help.