# Persistent queue Ruby exception wrong argument type String

**URL:** <https://discuss.elastic.co/t/persistent-queue-ruby-exception-wrong-argument-type-string/79103>\
**Category:** Logstash\
**Created:** [March 17, 2017, 10:58pm UTC](https://discuss.elastic.co/t/persistent-queue-ruby-exception-wrong-argument-type-string/79103 "2017-03-17T22:58:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Exocomp](https://avatars.discourse-cdn.com/v4/letter/e/ea5d25/32.png) [@Exocomp](https://discuss.elastic.co/u/Exocomp)\
**Post date:** [March 17, 2017, 10:58pm UTC](https://discuss.elastic.co/t/persistent-queue-ruby-exception-wrong-argument-type-string/79103/1 "2017-03-17T22:58:32Z")

</div>

Hi,

I'm getting an error only when persistent queues are enabled.

I enabled persistent queues with the following settings:

```
queue.type: persisted
path.queue: /etc/logstash/data/queue
queue.max_bytes: 8gb
queue.checkpoint.writes: 1

```

I'm getting this error:

`[2017-03-17T17:52:00,212][ERROR][logstash.filters.ruby] Ruby exception occurred: wrong argument type String (expected LogStash::Timestamp)`

Are there any known issues with persistent queues and the ruby filter ?

Thanks,  
E

---

<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:** [April 14, 2017, 10:59pm UTC](https://discuss.elastic.co/t/persistent-queue-ruby-exception-wrong-argument-type-string/79103/2 "2017-04-14T22:59:06Z")

</div>

Closed on April 14, 2017, 10:59pm UTC

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