# How to reference a new codec

**URL:** <https://discuss.elastic.co/t/how-to-reference-a-new-codec/60333>\
**Category:** Logstash\
**Created:** [September 12, 2016, 10:20pm UTC](https://discuss.elastic.co/t/how-to-reference-a-new-codec/60333 "2016-09-12T22:20:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![stecino](https://avatars.discourse-cdn.com/v4/letter/s/ea666f/32.png) [@stecino](https://discuss.elastic.co/u/stecino)\
**Post date:** [September 12, 2016, 10:20pm UTC](https://discuss.elastic.co/t/how-to-reference-a-new-codec/60333/1 "2016-09-12T22:20:52Z")

</div>

Hello,

I have installed a new codec

logstash-codec-avro\_schema\_registry-0.9.0.gem

But when I look at the installed plugin list it's not showing up.  
Is there a way for me in the kafka input explicitly point to this codec by path?

---

<div class="post-metadata">

**Author:** ![stecino](https://avatars.discourse-cdn.com/v4/letter/s/ea666f/32.png) [@stecino](https://discuss.elastic.co/u/stecino)\
**Post date:** [September 12, 2016, 10:53pm UTC](https://discuss.elastic.co/t/how-to-reference-a-new-codec/60333/2 "2016-09-12T22:53:44Z")

</div>

I actually moved the gemscpec into the specifications directory of the logstash install directory structure re-installed and worked from there

So this is what I have now

sudo ./plugin list --verbose | grep codec  
logstash-codec-avro\_schema\_registry (0.9.0)

Has anyone worked with this before, this is to serialize avro messages that have Conflent formattting

> **[revpoint/logstash-codec-avro\_schema\_registry](https://github.com/revpoint/logstash-codec-avro_schema_registry)**
>
> logstash-codec-avro\_schema\_registry - A logstash codec plugin for decoding and encoding Avro records

in the logstash config do I refer it as such?

codec =\> { avro\_schema\_registry =\> { schema\_url =\> "/home/t/logstash-2.2.2/etc/Payment.avsc" } }

when I load the config file it doesn't complain, but I still can load anything from kafka it seems as my rubydebug output isn't showing anything

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 4:38am UTC](https://discuss.elastic.co/t/how-to-reference-a-new-codec/60333/3 "2017-07-06T04:38:52Z")

</div>


