Skip to content
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

[Enhancement]: Logging to show login attempts #2994

Closed
talkingseedling opened this issue May 20, 2024 · 1 comment
Closed

[Enhancement]: Logging to show login attempts #2994

talkingseedling opened this issue May 20, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@talkingseedling
Copy link

Type of Enhancement

Server Backend

Describe the Feature/Enhancement

Currently there is no log output for successful or unsuccessful login attempts. Ideally they'd be present, and include timestamp, username, ip address, X-Forwarded-For.

Why would this be helpful?

Use case is parsing logs in elastic/logstash/kibana/beats to generate notifications for login attempts.

Future Implementation (Screenshot)

{timestamp} WARN: [AuthService] Failed login attempt for user {username} from ip address {ip address} (Reason: wrong password)

Audiobookshelf Server Version

v2.9.0

Current Implementation (Screenshot)

docker logs -f audiobookshelf

@talkingseedling talkingseedling added the enhancement New feature or request label May 20, 2024
@advplyr
Copy link
Owner

advplyr commented May 20, 2024

Duplicate of #2533

@advplyr advplyr marked this as a duplicate of #2533 May 20, 2024
@advplyr advplyr closed this as not planned Won't fix, can't repro, duplicate, stale May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants