# Unable to Migrate Custom Index to Cloud Through Logstash

**URL:** <https://discuss.elastic.co/t/unable-to-migrate-custom-index-to-cloud-through-logstash/297419>\
**Category:** Logstash\
**Created:** [February 16, 2022, 10:08pm UTC](https://discuss.elastic.co/t/unable-to-migrate-custom-index-to-cloud-through-logstash/297419 "2022-02-16T22:08:51Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [February 16, 2022, 10:10pm UTC](https://discuss.elastic.co/t/unable-to-migrate-custom-index-to-cloud-through-logstash/297419/2 "2022-02-16T22:10:50Z")

</div>

> [@daniel.talbot](#):
>
> ```auto
> An unexpected error occurred! {:error=>#<ArgumentError: wrong number of arguments (given 3, expected 1..2)>, :backtrace=>["/usr/share/logstash/logstash-core/lib/logstash/api/modules/base.rb:43:i
> n `initialize'"
> 
> ```

There are multiple threads opened about this today. [Here](https://discuss.elastic.co/t/pipeline-number-of-arguments-error/297367) is one.

---

_[View the full topic](https://discuss.elastic.co/t/unable-to-migrate-custom-index-to-cloud-through-logstash/297419)._
