Checking logs
How to read Nilus runtime logs: what fields to capture, log-level configuration, common log patterns, and the recommended reading order.
Logs are the fastest way to find the exact failure after metrics tell you which resource needs attention.
What to capture
Resource name and resource_id
Connects logs, metrics, run history, and destination output.
Tenant and owner
Helps route follow-up and permissions checks.
Pipeline mode
Changes which source, sink, and state checks apply.
First error line
Usually closer to the cause than later retries or cleanup messages.
Final status line
Confirms whether the runtime failed before or after metrics push.
Log level
Set Nilus runtime logging with spec.logLevel in the resource and the LOG_LEVEL environment variable inside the runtime. Use INFO for normal operation and raise to DEBUG only during focused investigation.
spec:
logLevel: INFOUseful patterns
Search for these patterns in the resource logs:
Nilus app execution failed
The runtime raised an exception during pipeline execution.
Source not supported.
The source URI or pipeline mode did not resolve to a supported source.
Sink not supported.
The destination URI did not resolve to a supported destination.
metrics push failed
Runtime metrics could not be pushed to Pushgateway.
Final metrics push successful
The runtime reached final metrics push after pipeline execution.
Final metrics push failed
The run completed or failed, but final metrics push also failed.
Reading order
Start at the first error, not the final stack trace frame.
Look upward for the source or destination operation that triggered it.
Match the message to the source connector page, destination connector page, or common error catalog.
Check whether the same resource had a recent successful run.
Only change config after the failed stage is clear.
Related docs
Last updated
Was this helpful?