Open Giu-seppe opened 2 years ago
Hi @Giu-seppe, thanks for the feature request. Are you able to write a PR to make the code changes to Telegraf? Could you provide test data that we can use to build a unit test for array data?
No, unfortunately I am not able to write this code :(
This is an example of a byte array I try to read.
@Giu-seppe I've labeled this "help wanted" to invite any interested developers to contribute a PR
Thank you @reimda
@Giu-seppe Did you already find another solution to log arrays? Since I see this topic is still open. I am also in the need to log data that's inside an array.
Use Case
I am using the plugin OPC UA but cannot access inside an array
For objects I simply solved by pointing to the variable within the structure Structure example:
Configuration used
Expected behavior
It would be convenient to access an array address via dot annotation or by entering the address in square brackets
Examples
or
Actual behavior
It is currently not possible to read data within an array. If you try to read the metrics of an entire array, the plugin does not return any errors but not even any data
Additional info
I have previously opened a post on the influx data forum, I am attaching the link in case it may be useful