Support uploading workflow logs from child devices #3303
Labels
idea
ideas/opportunities/feature requests which need to be further investigated before implementation
theme:childdevices
Theme: Child device related topics
theme:workflows
Is your feature request related to a problem? Please describe.
thin-edge.io supports automatically uploading the associated workflow log file on failure via the following setting:
Currently this feature has the limitation that it only works on the main device, as the tedge-mapper-c8y reads the command's
.logPath
property, and checks if the paths exists (on the main device), then uploads it. When an operation is sent to a child device which is running the tedge-agent, the log file referenced in the operation only exists on the child device, and is not accessible to the tedge-mapper-c8y. Below is an example of an operation sent to the child device with the reference to the.logPath
which the mapper does not have access to:Describe the solution you'd like
thin-edge.io should support a way for child devices to send their log files so that the tedge-mapper-c8y can upload them to Cumulocity. A logical fit would be using the File Transfer Service for this, but for that to work, the tedge-mapper-c8y should inject a property which includes the URL where log files can be uploaded to from the child device.
Describe alternatives you've considered
Additional context
The text was updated successfully, but these errors were encountered: