# Logstash 1.5 plugin compatibility with "logstash/time\_addon" class

**URL:** <https://discuss.elastic.co/t/logstash-1-5-plugin-compatibility-with-logstash-time-addon-class/26071>\
**Category:** Logstash\
**Created:** [July 22, 2015, 11:31am UTC](https://discuss.elastic.co/t/logstash-1-5-plugin-compatibility-with-logstash-time-addon-class/26071 "2015-07-22T11:31:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![barakSpoj](https://avatars.discourse-cdn.com/v4/letter/b/dc4da7/32.png) [@barakSpoj](https://discuss.elastic.co/u/barakSpoj)\
**Post date:** [July 22, 2015, 11:31am UTC](https://discuss.elastic.co/t/logstash-1-5-plugin-compatibility-with-logstash-time-addon-class/26071/1 "2015-07-22T11:31:37Z")

</div>

Hey,

I am trying to upgrade our logstash version and plugins to the new 1.5.2.  
On a clean installation it works without problem, but when I'm trying to upgrade our custom plugins I get into some trouble.

My current main problem is in our custom mongo-db input plugin. I am using the logstash Time format in my code as follows:

**require "logstash/time\_addon"**

But the following error appears when I run the agent:  
**Couldn't find any input plugin named 'mongodb'. Are you sure this is correct? Trying to load the mongodb input plugin resulted in this error: no such file to load -- logstash/time\_addon**

Is there a new require path for this class? Or is there a dependency I can configure before compiling the plugin gem?

Thanks for the help.

---

<div class="post-metadata">

**Author:** ![barakSpoj](https://avatars.discourse-cdn.com/v4/letter/b/dc4da7/32.png) [@barakSpoj](https://discuss.elastic.co/u/barakSpoj)\
**Post date:** [July 22, 2015, 1:51pm UTC](https://discuss.elastic.co/t/logstash-1-5-plugin-compatibility-with-logstash-time-addon-class/26071/2 "2015-07-22T13:51:45Z")

</div>

Noticed that on 1.5 version the class was changed to:  
require "logstash/timestamp"

So whoever used the time\_addon before like me should make the adjustments now in order for the plugins to work.

---

<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, 5:34am UTC](https://discuss.elastic.co/t/logstash-1-5-plugin-compatibility-with-logstash-time-addon-class/26071/3 "2017-07-06T05:34:02Z")

</div>

Closed on July 6, 2017, 5:34am UTC


