{"id":28075259,"url":"https://github.com/meap/logwatch-llm","last_synced_at":"2025-09-14T16:37:19.041Z","repository":{"id":292843232,"uuid":"981009491","full_name":"meap/logwatch-llm","owner":"meap","description":"This command-line tool transforms your standard logwatch output into clear, human-readable HTML reports. More than just translation, it intelligently classifies the importance of detected issues, helping you focus on what needs immediate attention.","archived":false,"fork":false,"pushed_at":"2025-05-13T08:13:41.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-07T21:41:31.893Z","etag":null,"topics":["ai-based","automation","devops","golang","log-analysis","logwatch","security","security-tools"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/meap.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-05-10T06:14:44.000Z","updated_at":"2025-05-13T08:13:44.000Z","dependencies_parsed_at":"2025-05-13T00:55:53.094Z","dependency_job_id":"c1eab054-cbc4-42ba-98e7-34d28f25fc23","html_url":"https://github.com/meap/logwatch-llm","commit_stats":null,"previous_names":["meap/logwatch-llm"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/meap/logwatch-llm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meap%2Flogwatch-llm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meap%2Flogwatch-llm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meap%2Flogwatch-llm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meap%2Flogwatch-llm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/meap","download_url":"https://codeload.github.com/meap/logwatch-llm/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meap%2Flogwatch-llm/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275134714,"owners_count":25411591,"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","status":"online","status_checked_at":"2025-09-14T02:00:10.474Z","response_time":75,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["ai-based","automation","devops","golang","log-analysis","logwatch","security","security-tools"],"created_at":"2025-05-13T00:55:48.847Z","updated_at":"2025-09-14T16:37:19.032Z","avatar_url":"https://github.com/meap.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Logwatch LLM reports\n\n## Installation from Source\n\n\u003e **Requirements:** Go 1.24 or newer must be installed on your system. See [https://go.dev/doc/install](https://go.dev/doc/install) for details.\n\nTo install Logwatch LLM reports from source on Linux, follow these steps:\n\n1. **Clone the Repository**\n   \n   ```sh\n   git clone https://github.com/meap/logwatch-llm.git\n   cd logwatch-llm\n   ```\n\n2. **Build the Project**\n   \n   Use the provided Makefile to build the binary:\n   \n   ```sh\n   make build\n   ```\n   \n   The compiled binary will be located in the `bin/` directory as `logwatch-llm`.\n\n3. **(Optional) Install the Binary System-wide**\n   \n   To make the CLI available system-wide:\n   \n   ```sh\n   sudo cp bin/logwatch-llm /usr/local/bin/\n   ```\n\n### Permissions and Ownership After Install\n\nAfter copying the binary to `/usr/local/bin`, ensure it is executable and securely owned:\n\n```sh\nsudo chmod 755 /usr/local/bin/logwatch-llm\nsudo chown root:root /usr/local/bin/logwatch-llm\n```\n\nThis makes the binary usable by all users and prevents unauthorized modifications.\n\n## Running with Logwatch via Cron\n\nTo automate Logwatch analysis and reporting, you can run Logwatch and pipe its output directly to Logwatch LLM using a cron job. For example, to run this daily and email the report:\n\n1. Edit your crontab:\n\n   ```sh\n   crontab -e\n   ```\n\n2. Add a line like this (adjust paths and email as needed):\n\n   ```sh\n   0 7 * * * /usr/sbin/logwatch | /usr/local/bin/logwatch-llm --model gpt-4o --email your@email.com\n   ```\n\nThis will run Logwatch at 7:00 AM every day, analyze the output with the LLM, and send the report to your email.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeap%2Flogwatch-llm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmeap%2Flogwatch-llm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeap%2Flogwatch-llm/lists"}