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

Intermittent 400 Errors #38

Open
HMarvellNW opened this issue Oct 11, 2024 · 1 comment
Open

Intermittent 400 Errors #38

HMarvellNW opened this issue Oct 11, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@HMarvellNW
Copy link

HMarvellNW commented Oct 11, 2024

Describe the bug
Hello,

I'm currently running into some issues intermittently with the Logstash Output Plugin. Our current solution is passing the data through an Elastic Logstash instance with no filtering, where we can see that some logs are producing 400 errors, most logs are making it through to Dynatrace but some are running into this issue. We have been able to confirm within our Elastic solution that this issue is being caused by a 400 Error. Due to this issue being intermittent we are confident that the tenant ID and Dynatrace tokens are all valid and working as expected.

To Reproduce
Steps to reproduce the behavior:
We are currently using an output of the following within out Logstash Pipeline. As mentioned the Tenant_UUID and DT_TOKEN variables are both valid and working.

`output {

dynatrace {

 id => "dynatrace_output"

 ingest_endpoint_url => "[https://127.0.0.1:9999/e/${TENANT_UUID}/api/v2/logs/ingest"]

 api_key => "${DT_TOKEN}"

 ssl_verify_none => true

}

}`

Expected behavior
I would expect there to be no 400 errors unless there was an ongoing issue.

Screenshots
Screenshot 2024-10-11 at 14 48 47

Additional context
It looks like the issue has subsided recently, but due to the nature of this being an ongoing issue I would still like to raise this with yourselves.

@HMarvellNW HMarvellNW added the bug Something isn't working label Oct 11, 2024
@dyladan
Copy link
Member

dyladan commented Oct 14, 2024

Hello. 400 errors are most often caused by invalid JSON or by exceeding some API limit. Can you please include what version of the output plugin is installed? If possible please include any relevant debug logs from your logstash instance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants