# Got error to send bulk of actions: no method 'id' for arguments

**URL:** <https://discuss.elastic.co/t/got-error-to-send-bulk-of-actions-no-method-id-for-arguments/79941>\
**Category:** Logstash\
**Created:** [March 24, 2017, 7:29pm UTC](https://discuss.elastic.co/t/got-error-to-send-bulk-of-actions-no-method-id-for-arguments/79941 "2017-03-24T19:29:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![suneesh](https://avatars.discourse-cdn.com/v4/letter/s/b782af/32.png) [@suneesh](https://discuss.elastic.co/u/suneesh)\
**Post date:** [March 24, 2017, 7:29pm UTC](https://discuss.elastic.co/t/got-error-to-send-bulk-of-actions-no-method-id-for-arguments/79941/1 "2017-03-24T19:29:24Z")

</div>

I'm trying to read from oracle DB and load to EL Search using Log Stash. Here is the output file

output {  
elasticsearch {  
index =\>"planogramviews"  
document\_type =\> "planogramview"  
document\_id =\> "%{planogram\_id}"  
host =\> "10.117.144.227"

```
    }

```

}

I'm getting the below exception.Any clues?

Got error to send bulk of actions: no method 'id' for arguments (org.jruby.ext.bigdecimal.RubyBigDecimal) on Java::OrgElasticsearchActionIndex::IndexRequest {:level=\>:error}  
Failed to flush outgoing items {:outgoing\_count=\>9, :exception=\>#\<NameError: no method 'id' for arguments (org.jruby.ext.bigdecimal.RubyBigDecimal) on Java::OrgElasticsearchActionIndex::IndexRequest\>, :backtrace=\>["/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-output-elasticsearch-1.0.5-java/lib/logstash/outputs/elasticsearch/protocol.rb:234:in `build_request'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-output-elasticsearch-1.0.5-java/lib/logstash/outputs/elasticsearch/protocol.rb:223:in`bulk'", "org/jruby/RubyArray.java:1613:in `each'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-output-elasticsearch-1.0.5-java/lib/logstash/outputs/elasticsearch/protocol.rb:222:in`bulk'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-output-elasticsearch-1.0.5-java/lib/logstash/outputs/elasticsearch.rb:519:in `submit'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-output-elasticsearch-1.0.5-java/lib/logstash/outputs/elasticsearch.rb:543:in`flush'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/stud-0.0.20/lib/stud/buffer.rb:219:in `buffer_flush'", "org/jruby/RubyHash.java:1341:in`each'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/stud-0.0.20/lib/stud/buffer.rb:216:in `buffer_flush'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-output-elasticsearch-1.0.5-java/lib/logstash/outputs/elasticsearch.rb:577:in`teardown'", "org/jruby/RubyArray.java:1613:in `each'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-1.5.3-java/lib/logstash/pipeline.rb:248:in`outputworker'", "org/jruby/RubyArray.java:1613:in `each'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-1.5.3-java/lib/logstash/pipeline.rb:247:in`outputworker'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-1.5.3-java/lib/logstash/pipeline.rb:166:in `start\_outputs'"], :level=\>:warn}

---

<div class="post-metadata">

**Author:** ![pierhugues](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pierhugues/32/48383_2.png) [@pierhugues](https://discuss.elastic.co/u/pierhugues)\
**Post date:** [March 31, 2017, 1:13pm UTC](https://discuss.elastic.co/t/got-error-to-send-bulk-of-actions-no-method-id-for-arguments/79941/2 "2017-03-31T13:13:57Z")

</div>

Hello Suneesh,

From the included stacktrace, I know that you are running a really old version of Logstash (1.5.3), Can you try your configuration with the latest version of Logstash which is 5.3?

---

<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 28, 2017, 1:14pm UTC](https://discuss.elastic.co/t/got-error-to-send-bulk-of-actions-no-method-id-for-arguments/79941/3 "2017-04-28T13:14:00Z")

</div>

Closed on April 28, 2017, 1:14pm UTC

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