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

HTTP output "http_method" field is not interpolated. #15933

Open
jmwilkinson opened this issue Feb 9, 2024 · 2 comments
Open

HTTP output "http_method" field is not interpolated. #15933

jmwilkinson opened this issue Feb 9, 2024 · 2 comments

Comments

@jmwilkinson
Copy link

Based on the general functionality of Logstash and the given documentation, it is expected the http_method field would be interpolated. However, attempting to do so results in an error like the following:

  output {
    http {
      # This setting must be a ["put", "post", "patch", "delete", "get", "head"]
      # Expected one of ["put", "post", "patch", "delete", "get", "head"], got ["%{[http][method]}"]
      http_method => "%{[http][method]}"
      ...
    }
  }
@venktre
Copy link

venktre commented Mar 10, 2024

Can you assign this task to me?
It would be better if you could give me more guidance.

@mashhurs
Copy link
Contributor

@jmwilkinson can you please move this issue under https://github.com/logstash-plugins/logstash-output-http and provide more context for the use case (how http method can be dynamic, what shape of events are ingested from where)? That would give us more insights and help us to prioritize.

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

3 participants