-
Notifications
You must be signed in to change notification settings - Fork 63
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
undefined method `on_event' for ["avro", {"schema_uri"=>"D:/foo/bar.avsc"}]:Array #11
Comments
did you figure out a way to resolve this? I have the same exact problem. |
@BarryBaum I ultimately gave up on the avro codec and switched to a JSON-only feed. I haven't had any problems with the feed since then so I haven't revisited it. |
Very similar error on Logstash 2.1.1. Running a configuration with a
...simply yields the following error:
|
Seeing the same thing with Logstash 2.2.2 |
Hi, I have had the same problem with Logstash v 2.2.2. |
Similar problem on |
There's a slight syntax error here:
Should be:
After fixing that, I get another error:
If I try it in irb with a normal hash object called event, it works just fine. Something going on here with Event.to_hash maybe. |
I am having trouble reproducing this problem. Here is a quick demo of how this codec is meant to be used just in case something is being done differently Avro CodecHere is a bare-bones example of using current Logstash Avro Codec. In this example we will use First, let's create an input json file with our event that matches our schema.
Next, we will use
Using this tool as input to Logstash, we can have an end-to-end parsing of our event between Avro and Logstash representation.
And that is it! now you see how to use the Avro Codec in Logstash! schema.avsc
pipeline.conf
Let me know if that helps. here is the link to this blurb for external referencing: https://usecanvas.com/talk/avro-codec/0nOFqaVzO61EB96A5DFn7o |
In logstash-1.5.4 and logstash-codec-avro logstash-codec-avro-0.1.5, and I'm trying to output to kafka. I'm getting the error
My schema is a list of strings:
I'm using jruby on Windows:
I tried to update, but it doesn't install anything:
The text was updated successfully, but these errors were encountered: