Line Protocol import / manually

Hi
I don’t understand the lineprotokol import because all the example I find don’t give any data in buckets “import”.
For exmaple, I manually entered a simple line entry in the bucket “import”:
totalenergy value=157800 1701388800000
(totalenergy is the labelname, value 1587800 wh and timestamp unix)

No errors but, also no entry either :slight_smile:

What am I doing wrong?

Hi! The entry should be there. Just set the range to query the corresponding date.
Your example line protocol is sending data to GMT : Thursday, 16 July 1970 22:04:48

Hope it helps!

Best Regards!

Thank you very much, you showed me the right way.
The solution is to fill the missing numbers up to 19 digits with 0.

Example with measurement total energy and value:
total energy value=157800 1701388800000000000

Best regards

1 Like

I have a workaround. I used Grafana to read out the data, have a look to the resolution and adjusting it so that it is usable. The exported data (time stamp corrected to 19 digits with a excel vbs script) with line protocol into the newly installed influx transferred, where the admin can now make backups etc. again.

An example from the line protocol:
tempmax value=13.4 1732789235064000000
tempmax value=24.7 1732838400000000000
tempmax value=21.2 1732924800000000000