Redis -> LS -> ES WRONGTYPE Operation against a key holding the wrong kind of value

Hi,

We're trying to use the combo Redis+LS+ES to try to persist xAPI statements (these statements are JSON strings).

So far, we write correctly in redis, but when LS try to do its thing we get this message:
WRONGTYPE Operation against a key holding the wrong kind of value

A simple example of what we're writing in Redis is:

set xapi '{"id":"jghfj"}' EX 10

My logstash config file is:

input {
  redis {
    host => "127.0.0.1"
    data_type => "list"
    key => "xapi"
   # codec => "json"
    # batch_count => 1
    # threads => 1
  }
}


output {
  elasticsearch {
    hosts => ["localhost:9200"]
    index => "xapi"
  }
  stdout {
        codec => rubydebug
  }
}

We're out of ideas how to get this thing working. Any help is welcome.

BR
Daniel

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