Gazlan
Gazlan•8mo ago

Forwarding Audit Logs

Hi, Is there a way to forward the audit logs on a self hosted Windmill setup? We are using Splunk to monitor our infrastructure and keeping Windmill's logs in there is a necessary requirement. Thanks in advance 🙂
5 Replies
rubenf
rubenf•8mo ago
Yes, I assume that you are on EE or will be on EE but audit logs are emitted as normal logs in addition to being stored in the db so in most setup, you would use a log tailer to filter them (they have a specific format) and send them to splunk
Gazlan
GazlanOP•8mo ago
Thank you for the quick response, how do you emit the logs from Windmill? I didn't come across this kind of configuration.
rubenf
rubenf•8mo ago
they are emitted as part of the normal server logs we support 2 formats, json or logfmt
rubenf
rubenf•8mo ago
using a tool like fluentd or promtail to export the logs to splunk is easy and we are happy to assist on it: https://docs.fluentd.org/v/0.12/output/splunk
Gazlan
GazlanOP•8mo ago
Thank you!