Open
Conversation
There was a problem hiding this comment.
Pull request overview
Adds the ns-clm (Cloud Log Manager) feature to NethSecurity, introducing an OpenWrt package that forwards syslog entries to the Nethesis CLM service and exposes an RPCD API (ns.clm) to manage its configuration.
Changes:
- Introduce
ns-clmpackage (init script, UCI config defaults, Python forwarder daemon, README). - Add
ns.clmRPCD endpoint and ACL, and install it vians-apipackage Makefile. - Enable building
ns-clmvia build configuration (config/ns-clm.conf).
Reviewed changes
Copilot reviewed 10 out of 10 changed files in this pull request and generated 9 comments.
Show a summary per file
| File | Description |
|---|---|
| packages/ns-clm/README.md | Documents configuration, API usage, and forwarder behavior. |
| packages/ns-clm/Makefile | Defines the new ns-clm OpenWrt package, installation steps, and dependencies. |
| packages/ns-clm/files/ns-clm.init | procd init script to start/stop the forwarder based on UCI config and subscription UUID. |
| packages/ns-clm/files/ns-clm-forwarder | Python daemon that tails /var/log/messages, filters/batches entries, and forwards to CLM over HTTP. |
| packages/ns-clm/files/config | Default UCI configuration for ns-clm. |
| packages/ns-clm/files/20_ns-clm | uci-defaults script to create runtime directory. |
| packages/ns-api/Makefile | Installs the new ns.clm RPCD handler and ACL into the ns-api package. |
| packages/ns-api/files/ns.clm.json | ACL entry granting access to the ns.clm ubus object. |
| packages/ns-api/files/ns.clm | RPCD handler implementing get-config and set-config for ns-clm. |
| config/ns-clm.conf | Enables building the ns-clm package in the build configuration. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
46e2792 to
f87018c
Compare
Tbaile
reviewed
Mar 31, 2026
Forward logs to Nethesis Cloud Log Manager
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Forward logs to Nethesis Cloud Log Manager
How to test it:
Companion PRs: