Actions8
- Table Actions
- Endpoint Actions
- Pipeline Actions
- Query Actions
- Script Actions
Overview
This node integrates with the UbuntuFabric platform to fetch logs related to script executions. Specifically, the "Logs" operation under the "Script" resource retrieves log data for a given script run identified by an ID. This is useful for monitoring, debugging, or auditing script runs within UbuntuFabric workflows.
Practical examples include:
- Fetching execution logs after running a script to verify its output or diagnose errors.
- Automating retrieval of logs for scheduled scripts to maintain audit trails.
- Integrating log data into other systems for centralized monitoring.
Properties
| Name | Meaning |
|---|---|
| ID | The unique identifier of the script run whose logs you want to fetch. This is a required string input. |
Output
The node outputs JSON data containing the logs associated with the specified script run ID. The exact structure depends on the UbuntuFabric API response but typically includes timestamped log entries, messages, and possibly severity levels.
No binary data output is indicated.
Dependencies
- Requires an API key credential for authenticating with the UbuntuFabric platform.
- The node makes HTTP GET requests to the endpoint:
https://app.ubuntufabric.io/api/interface_runs/{ID}/logs. - Proper network access to the UbuntuFabric API is necessary.
Troubleshooting
- Invalid or missing ID: If the provided script run ID is incorrect or missing, the API will likely return an error or empty logs. Ensure the ID is valid and corresponds to an existing script run.
- Authentication errors: Missing or invalid API credentials will cause authentication failures. Verify that the API key credential is correctly configured.
- Network issues: Connectivity problems to the UbuntuFabric API endpoint can cause request failures. Check network settings and firewall rules.
- API rate limits or service downtime: If the UbuntuFabric service is down or rate-limited, requests may fail or be delayed.
Links and References
- UbuntuFabric Official Website
- (No direct API documentation links were found in the source code)