How to enable access logs? #3121
Closed
marcottedan
started this conversation in
General
Replies: 2 comments
-
I ended up mapping them in the docker-compose file (which should be by default IMO)
and run that command: sudo cat /opt/timesketch/logs/nginx/timesketch_access.log | grep "200" | grep "/login/" |
Beta Was this translation helpful? Give feedback.
0 replies
-
Glad you found a solution to your problem and thanks for sharing it here. It would be great if you could update the install instructions with an optional step to enable the mapping of the access logs so others can benefit from this knowledge too. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In the timesketch-web docker (or mapped through the HOST OS), the logs files are:
ls /var/log/timesketch/
worker.log wsgi_error.log
However I see no access log. Even the NGINX logs are not enough. I need to monitor who logs in on the Timesketch server. I tried to grep them against my login username and there's zero traces even though I did a successful login.
Could you help me?
Thank you
Beta Was this translation helpful? Give feedback.
All reactions