In the Knime server there was an option to download the log files via the portal or use the api call rest/v4/admin/logs to get them.
How can I get the logs in the Knime hub. I have checked the api documentation and I could not find something there.
In the Knime server there was an option to download the log files via the portal or use the api call rest/v4/admin/logs to get them.
How can I get the logs in the Knime hub. I have checked the api documentation and I could not find something there.
Hi @nicks
If you’re looking for the logs of a specific job, you can download the relevant logs from the job in the workflow overview, e.g. as seen here for some jobs from a deployment:
There, you can also directly view jobs in the browser, without the need to download the workflow (Job Viewer feature, notes for admins to enable the Job Viewer).
To analyze issues with KNIME Business Hub in general, you can create a support bundle via the KOTS admin console. This bundle is stored locally on your hub, though you have the option to download the logs, or if desired, share them directly with KNIME for an analysis (assuming your hub has access to the internet).
Kind regards
Marvin
Thanks for the response Marvin. The jobs’ logs does not help my use case. I would like to report how the hub has been used for a period of time (e.g. which deployments were called last month by which users). This was possible in the logs found in the portal on the Knime server (and the api which was really helpful).
I will check the support bundle and get back to you.
Hi @nicks,
Thanks for explaining the use-case. While technically possible, I believe the support bundle isn’t ideal for usage reporting. I’ve brought this question up in a broader round internally. We hope to get back to you with some suggestions here.
Kind regards
Marvin
Hi @nicks,
We’ve built a few workflows for administrators that may be useful in this case. Specifically, the Admin Dashboard for a quick overview, and the Workflow Jobs Monitoring Data App to dig further into specifics.
Might they fit the details you’re looking to monitor?
Kind regards
Marvin
Hey @marvin.kickuth
The Workflow Jobs Monitoring seems to contain the info I need. I will explore the node inside to understand what apis does it use.
Thanks
ps. @marvin.kickuth do you know for how long are the job info available? (e.g If I have a deleted job will it show up in the job info after 6 months?)
I assume you’re referring to the job-instrumentation-service endpoints, though please let me know if I didn’t get that right.
The service stores data for 30 days by default, but that is configurable in the KOTS admin console.
Kind regards
Marvin
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.