Masks IPs, email addresses, and usernames in KNIME Server Logs for all standard cases.
How it's used
Most conveniently, it's executed as a Data App on KNIME Server where the logs are stored and the workflow will fetch logs automatically.
You can also execute the workflow locally and enter the server credentials manually to access the current server logs.
In case the server is not reachable or you have a set of logs already, you can execute the workflow locally and provide the logs as a zip file.
Please remember that this is a workflow you can modify and extend to your specific needs.
What it does
With this Data App, KNIME Server log files can be depersonalized in a way such that IPs, email addresses, and usernames are masked. Emails and IP addresses (IPv4 and IPv6) are both detected via regex and any match will be masked (see linked websites below). Usernames are determined from
- KNIME Server internal DB
- Foldernames in the /Users folder
- Usernames that occur in the localhost access logs.
There can be no guarantee that this workflow removes "all personal information" , since an organization may have naming protocols for different aspects of KNIME that KNIME can know nothing about. The list of search/replace criteria can therefore be extended by providing a CSV File containing a column "username" to extend the list.
Usernames and IP addresses found in the localhost_access logs will receive a mapping throughout all logs (Eva Musterfrau -> , Max Mustermann -> , ... and 127.0.0.2 -> , 127.0.0.3 -> , ...), everything else that matches will be masked with a generic tag (personal@example.com -> , generic@example.com -> , ...).
Possible processed log files
- localhost_access
- localhost
- catalina
- the executor log (KNIME log) can also be processed but is very large and not usually needed for support purposes, therefore processing this log is by default NOT done unless the setting is overwritten.
To use this workflow in KNIME, download it from the below URL and open it in KNIME:
Download WorkflowDeploy, schedule, execute, and monitor your KNIME workflows locally, in the cloud or on-premises – with our brand new NodePit Runner.
Try NodePit Runner!Do you have feedback, questions, comments about NodePit, want to support this platform, or want your own nodes or workflows listed here as well? Do you think, the search results could be improved or something is missing? Then please get in touch! Alternatively, you can send us an email to mail@nodepit.com, follow @NodePit on Twitter or botsin.space/@nodepit on Mastodon.
Please note that this is only about NodePit. We do not provide general support for KNIME — please use the KNIME forums instead.