analyze_logs | R Documentation |
This function scans a specified directory, extracts metadata from the log file names, reads their content, and computes some statistics (total number of lines and the number of lines containing "error" or "exception"). Additionally, it retrieves ShinyProxy user information from a separate directory of logs.
analyze_logs(path_container_logs, path_shinylogs = NULL)
path_container_logs |
Character. The path to the directory containing the container logs files. |
path_shinylogs |
Character. The path to the directory containing ShinyProxy identity logs. |
A list containing two data frames:
Detailed information for each file.
Summary information grouped by container (based on specId
, proxyId
, and startupTime
).
## Not run:
result <- analyze_logs("path/to/containersLogs", "path/to/shinylogs")
print(result$summary)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.