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

Non-authenticated requests return 401 but still logs #21156

Open
DustinG98 opened this issue Dec 10, 2024 · 0 comments
Open

Non-authenticated requests return 401 but still logs #21156

DustinG98 opened this issue Dec 10, 2024 · 0 comments

Comments

@DustinG98
Copy link

I setup HTTP GELF Input with Authentication set. It allows me to log and returns 200 when I include the token, but without it it is expectidly returning 401, however the log is still being logged and sent to the stream in graylog.

Expected Behavior

Without a token it should return 401 and should not log.

Current Behavior

Without token it is returning 401, but still logging.

Steps to Reproduce (for bugs)

  1. Create HTTP GELF input, with auth and token set
  2. Send valid log without auth token

Context

  • I am sending logs from lambda to graylog via GLEF http, and I am hosting graylog on a local server, so I want to use auth for the http endpoint rather than it being open.

Your Environment

  • Graylog Version: 6.1.4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants