{"id":28429700,"url":"https://github.com/appsilon/loganalyzer","last_synced_at":"2025-07-04T19:31:36.157Z","repository":{"id":239742436,"uuid":"761071940","full_name":"Appsilon/LogAnalyzer","owner":"Appsilon","description":"A LogAnalyzer app for checking logs in Posit Connect","archived":false,"fork":false,"pushed_at":"2025-05-09T17:03:50.000Z","size":2081,"stargazers_count":9,"open_issues_count":5,"forks_count":2,"subscribers_count":9,"default_branch":"main","last_synced_at":"2025-06-05T13:48:05.478Z","etag":null,"topics":["connect","posit"],"latest_commit_sha":null,"homepage":"https://appsilon.github.io/LogAnalyzer/","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Appsilon.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-02-21T07:25:20.000Z","updated_at":"2025-04-30T15:45:31.000Z","dependencies_parsed_at":"2024-05-28T13:20:05.741Z","dependency_job_id":"7999500e-8688-48cf-9216-76555bc1e9c8","html_url":"https://github.com/Appsilon/LogAnalyzer","commit_stats":null,"previous_names":["appsilon/loganalyzer"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Appsilon/LogAnalyzer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Appsilon%2FLogAnalyzer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Appsilon%2FLogAnalyzer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Appsilon%2FLogAnalyzer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Appsilon%2FLogAnalyzer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Appsilon","download_url":"https://codeload.github.com/Appsilon/LogAnalyzer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Appsilon%2FLogAnalyzer/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263606458,"owners_count":23487639,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["connect","posit"],"created_at":"2025-06-05T13:38:53.464Z","updated_at":"2025-07-04T19:31:36.151Z","avatar_url":"https://github.com/Appsilon.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LogAnalyzer\n\nThe LogAnalyzer open-source app is a simple, plug and play application developed first in collaboration with [Elkem](https://www.elkem.com/). The app provides an ability to get semantically coloured logs for applications deployed on Posit Connect by simply changing the default environment variables and deploying it on Posit Connect. Given the general usefulness of the app, we have decided to share it with the wider community to use and improve upon it. No more sifting through long text files; you can simply find the reds and see where things break. It has never been easier to investigate what goes wrong with your applications.\n\n# How it works?\n\n-   The LogAnalyzer app uses the Posit Connect API to fetch logs for application run jobs, semantically colouring them so they are easier to read.\n-   The only thing you need to set this up and use is the `CONNECT_API_KEY` set as an environment variable. The idea is that the key should come from either an admin account or someone with privileges to view all apps. Apps that are not available to a user will not have their logs available to them.\n-   If you want to test the app locally, you will need to set the `CONNECT_SERVER` as an environment variable. When deployed, the `CONNECT_SERVER` is setup automatically for you.\n\n![](img/app_preview.gif)\n\n# Configuration\n\n-   `[app/logic/api_utils.R` - `get_app_list()]` Posit Connect differentiates apps with two `app_role` values: `owner` and `viewer`. You can toggle between these using the `config.yml` file. The set value is `owner`. If you want to use both together, you can simply set the value to a blank character `\"\"`.\n\n# FAQs\n\n- I get `\"Oops! Can't read apps from Posit Connect.\"` on the rightmost image?\n    - This may mean that the Posit Connect API's response did not send proper data.\n    - So far, one documented reason for this is that OAuth on Posit Connect instances may prevent the `/content` endpoint from sending app data.\n\n# Credits\n\nIt was our collaboration with \u003cimg src=\"img/elkem_logo.png\" alt=\"Elkem\" width=\"50\"/\u003e which led to the creation of this app. The initial idea came from use-cases where we realised we wanted to track all the logs and be able to read them properly since Posit Connect was the de facto deployment environment. When we made this app, we realised there was potential in sharing this with the rest of the community and invite everyone to use it and add it. We appreciate and thank Elkem for their openness to share it with the world.\n\nYou can read more about Appsilon and Elkem's collaboration on our case study [here](https://www.appsilon.com/case-studies/refining-elkems-processes-with-advanced-data-analytics).\n\n## Appsilon\n\n\u003cimg src=\"https://avatars0.githubusercontent.com/u/6096772\" align=\"right\" width=\"6%\"/\u003e\n\nAppsilon is a **Posit (formerly RStudio) Full Service Certified Partner**.\u003cbr/\u003e Learn more at [appsilon.com](https://appsilon.com).\n\nGet in touch [opensource\\@appsilon.com](mailto:opensource@appsilon.com)\n\nExplore the [Rhinoverse](https://rhinoverse.dev) - a family of R packages built around [Rhino](https://appsilon.github.io/rhino/)!\n\n\u003ca href = \"https://appsilon.us16.list-manage.com/subscribe?u=c042d7c0dbf57c5c6f8b54598\u0026id=870d5bfc05\" target=\"_blank\"\u003e \u003cimg src=\"https://raw.githubusercontent.com/Appsilon/website-cdn/gh-pages/shiny_weekly_light.jpg\" alt=\"Subscribe for Shiny tutorials, exclusive articles, R/Shiny community events, and more.\" id=\"footer-banner\"/\u003e \u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fappsilon%2Floganalyzer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fappsilon%2Floganalyzer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fappsilon%2Floganalyzer/lists"}