Event (audit) logs (upload, delete) #1369
Replies: 2 comments 2 replies
-
Hi @totalbot123 I am also try find way how to log user activity, but no idea now. Thanks, |
Beta Was this translation helpful? Give feedback.
-
Hi all, i use two ways to monitor the logs. One way use the environment variables: the result is stored in InfluxDB from where i visualise it with grafana. (i do some calculations...also): The second way is using Event Rules & Event Manager ... again with telegraf (inputs.http_listener_v2, you have to declare some fields as string) + grafana Unfortunatly the "{{UID}}" is not the same as "connection_id" as in the logs (above)... but i can live with that it's only for debugging. For me only Upload was relevant ... but i am sure this work also for download ... Btw. local_addr and remote_addr are not realy usable when you run sftpgo as container :-) ... you get the container IPs not the real IPs. |
Beta Was this translation helpful? Give feedback.
-
Hey @drakkan ,
I am looking to find logs on events (upload, delete, move). When looking at logs from the server, I do not see these.
Documentation points to: https://github.com/drakkan/sftpgo/blob/main/docs/logs.md
And other discussion (#537) points to usage of eventstore and eventsearch plugins.
Do we need to use eventstore/eventsearch plugins in order to get audit logs? If not, what is the way to configure the server to log these events?
Kind regards,
Milan.
Beta Was this translation helpful? Give feedback.
All reactions