Hey there,
as I ran out of places to search for answers I end up here.
I want to do the following:
I compute FFTs of vibration-sensors with python over fixed time spans and want to get those FFTs into influxdb to see how they change over time. As a result of my python-script I get a simple .json in the form of {[frequency1:magnitude],[frequency2:magnitude],…}.
I tried endless configurations of the telegraf.json_v2 plugin with no results.
As far as I see from other posts, it’s untypical to load a 2d-array as a single metric into influx.
Is there any way to achieve this?
Thank you very much for your help
Correct, you have to be careful when bulk loading data like this to avoid overwriting the data. You need to ensure that each datapoint is unique.
As a result of my python-script
If you have control over the results it might be better to avoid needing to parse the data and produce line protocol in the first place.
Thank you for your help.