-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OPCUA - Read the data of an array #11898
Comments
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? |
@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. |
@Doolhofx @Giu-seppe @reimda PR with a possible solution created. |
Thank you very much! If there is more information I will test if we experience any problems with it. Where can I see if the request is accepted in the new Telegraf? |
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
The text was updated successfully, but these errors were encountered: