-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[featurerequest] send events logs to remote syslog/journald/http... #176
Comments
Hey @juju4, This is my ToDo since a while but I kept postponing it as nobody asked for it ... My idea was to implement a minimal kunai server talking websocket with agents to:
Would that be acceptable for you or you'd need something more standard such as syslog ? Other question: if you'd have this would you still need feature #177 ? |
On management side, that was definitely a coming question :)
If I take osquery case, there is a config and a logging plugin with an endpoint for each (--config_plugin/config_tls_endpoint/config_tls_refresh and --logger_plugin/logger_tls_endpoint/logger_tls_period). It's also possible to have multiple logger output like local and remote. Management server can be the one getting logs or not. As for #177, yes, this one is a good workaround. |
My idea was more implementing a light kunai server to communicate with agents. I tend to think it is very risky to expose log storage platforms to every agent (potentially host) in the network. Maybe I am too much paranoid ... So my idea was more something like the following: graph LR;
A[Kunai Agent] -->|Websocket| B[Kunai Server];
B -->|Forward Logs| C[OpenSearch];
B -->|Forward Logs| D[Elastic];
B -->|Forward Logs| E[Splunk];
B -->|Forward Logs| F[...];
B -->|Websocket| A;
If that is something that would fit your needs I can prioritize implementation |
In the full paranoid mode, I like kunai not doing any networking and leave logs shipping to another tool :)
|
Ok, so if I understand correctly, if I resolve #177 it would actually solve your problem with log collection. Another option which hasn't been mentioned, what about setting kunai output to |
It would be great if kunai had the option to send logs to a remote system, be it through classical syslog, journald, http or else.
Benefits
Thanks! Great work!
The text was updated successfully, but these errors were encountered: