Hello,
I am collecting data from multiple CNC machines that is being sent to an influx v2 database in the form of a dataframe, with the headers and values as strings. Unfortunately it is not possible for me to change the code for data collection or the code that sends the data to influx at the moment. Using the following flux query, I am able to see the data as a table and plot it on the influx UI/grafana (image attached)
from(bucket: “fanuc”)
|> range(start: v.timeRangeStart, stop: v.timeRangeStop)
|> filter(fn: (r) => r[“_measurement”] == “axis”)
|> filter(fn: (r) => r[“_field”] == “load”)
|> map(fn: (r) => ({
r with
_value: float(v: r._value),
_time: time(v: r._time)
}))
I would like to display the data from only one of the axis on the graph (I would like to select the data from one of the columns for display on the dashboard instead of displaying 8 parameters at once). How can I modify my flux query to achieve this?
Thanks in advance for your assistance!
Adi