Hello I am writing to a db using c#, the following data using lineprotocol
“temperature,location=L1 value=79.69,L2=76.07,L3=84.41,L4=68.86”
writeApi.WriteRecord(“DemoData”, orgid, WritePrecision.Ns, s);
The write goes through, but when I look at the data, I only see values for L1 - it seems that all the values get put into L1.
How can I see the other values L2,L3,L4 etc ?
The query code is from the c# client samples:
try
{
int i=0;
var fluxTables = await influxDBClient.GetQueryApi().QueryAsync(flux, orgid);
fluxTables.ForEach(fluxTable =>
{
var fluxRecords = fluxTable.Records;
fluxRecords.ForEach(fluxRecord =>
{
listbox.Items.Add(i+"\t"+$"{fluxRecord.GetTime()}\t{fluxRecord.GetValue()}\t{fluxRecord.GetValueByIndex(8)}");
i++;
});
});
}
catch (Exception ex)
{
listbox.Items.Add("2=" + ex.Message+ex.StackTrace);
}
Thanks