Http Output 307 not being redirected

(James) #1

I'm using an http output plugin to push events to EventStore. I am unable to get a successful POST and get an failure do to a 307 http status code. I've found several postings indicating that the http output plugin should be following the redirect and I have set the follow_redirects = true. Any help understanding why this is not working would be helpful. The experiment can be found here I'm using docker to host everything, instructions are in the

The config file:
input {
rabbitmq {
host => ["${RABBITMQ_HOSTNAME}"]
exchange => "test"
exchange_type => "topic"
key => "test.#"
metadata_enabled => true

filter {

output {
stdout {
codec => rubydebug
http {
url => "http://${EVENTSTORE_HOSTNAME}:${EVENTSTORE_PORT}/streams/test"
http_method => "post"
content_type => "application/json"
follow_redirects => true
headers => { "ES-EventType" => "Test.Created" }
format => "message"
message => "{'data':'a'}"

(system) #2

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.