Actions3
Overview
This n8n node interacts with the BlueIris API to retrieve system logs. It is designed for scenarios where users need to fetch and process log entries from their BlueIris video security system, such as monitoring events, troubleshooting issues, or integrating log data into automated workflows.
Practical examples:
- Automatically collecting logs after a certain date for compliance or auditing.
- Triggering alerts in n8n when specific log entries appear.
- Aggregating logs from multiple BlueIris instances for centralized analysis.
Properties
| Name | Type | Meaning |
|---|---|---|
| API URL | String | The URL of the BlueIris API endpoint (e.g., https://yourdomain:81/json). Required. |
| After | DateTime | Returns logs after the specified date; if not set, all available logs are returned. Optional. |
Output
The node outputs an array of log entries retrieved from the BlueIris API. Each entry in the output corresponds to a log record. The exact structure of each log entry depends on the BlueIris API response, but typically includes fields such as timestamp, message, and log type.
Example output:
[
{
"time": "2024-06-01T12:34:56Z",
"type": "info",
"message": "Camera started recording"
},
...
]
If an error occurs and "Continue On Fail" is enabled, the output will include an object with an error field containing the error message.
Dependencies
- External Service: Requires access to a running BlueIris server with its API enabled.
- Credentials: Needs valid n8n credentials of type
blueIrisApi. - API URL: Must provide the correct API endpoint URL.
- n8n Configuration: No special environment variables required beyond standard credential setup.
Troubleshooting
Common Issues:
- Invalid API URL: If the API URL is incorrect or unreachable, the node will throw a connection error.
- Authentication Failure: Missing or invalid credentials will result in authentication errors.
- Date Format Errors: Providing an incorrectly formatted date in the "After" property may cause the API call to fail.
Error Messages:
"Cannot connect to BlueIris API": Check your API URL and network connectivity."Authentication failed": Verify your BlueIris API credentials in n8n."Invalid date format": Ensure the "After" property uses a valid date-time format.
