For context this relates to an upload service included in the IoTaWatt energy monitor. The device has supported uploading to the OSS 1.x version for a couple of years now. Recently made the changes to upload to 2.0. The device can push data to various upstream servers seamlessly, so sometimes that may involve uploading a backlog after a communications outage.
Now I’d like to provide the ability to upload essentially all of the data collected so that larger users can aggregate their data in the cloud version. Problem is that the line protocol is way verbose and repetitive. The CSV format would be very efficient.
I can see where CSV can be pulled from files, but have not come across a simple way to just push annotated CSV to an influx endpoint. Not really interested in agents, python scripts or other middleware. I can build clean annotated CSV to send directly.
Surely this is possible given the wholesale conversion to CSV and tables in flux. Can someone point me at the best (any) way to do this?