Quantcast
Channel: InfluxDB - Grafana Labs Community Forums
Viewing all articles
Browse latest Browse all 199

Displaying in table / geomap from Influx DB

$
0
0

Hi

All I am importing MQTT data into Influx DB. I have configured my tags and fields.

The MQTT payload is JSON as follows:

{“sq”:47307260698,“f”:14075431,“md”:“FT8”,“rp”:-19,“t”:1718034854,“sc”:“M1CVZ”,“sl”:“IO91QW”,“rc”:“R2FC”,“rl”:“KO14dp”,“sa”:223,“ra”:126,“b”:“20m”}

I am using Telegraf to parse this as JSON and then add to the data some extra fields.

This all appears to be working.

Using the following Flux query

import “influxdata/influxdb/schema”
from(bucket: “PSK”)
|> range(start: -24h, stop: 0m)
|> filter(fn: (r) => r[“_measurement”] == “M1CVZ”)
|> filter(fn: (r) => r[“Mode”] == “FT8”)
|> schema.fieldsAsCols()

I am able to get the following format:

I am trying to replicate this format in Grafana using the same query I get the following result:

In the screen shot I can see a single row from the data and a selector to select each row. This only shows the name of the measure so not very usefull.

I would like to show a table on the dashboard and a Geomap based on the Latitude and Longitude of each row.

I cannot seem to get the map to display even a single row of data.

The idea is that in the map each LAT and Long should show Symbol with the title being from the Call field in the data.

I am suck, Please be nice.

The data is public so if any one wants access let me know?

Thank you

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 199

Trending Articles