# Logstash tried to load a plugin's code (Google BigQuery)

**URL:** https://discuss.elastic.co/t/logstash-tried-to-load-a-plugins-code-google-bigquery/197322
**Category:** Logstash
**Created:** [August 29, 2019, 11:10am UTC](https://discuss.elastic.co/t/logstash-tried-to-load-a-plugins-code-google-bigquery/197322 "2019-08-29T11:10:24Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Sindre\_E\_de\_Lange](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sindre_e_de_lange/32/45343_2.png) [@Sindre\_E\_de\_Lange](https://discuss.elastic.co/u/Sindre_E_de_Lange)
#### Post date: [August 29, 2019, 11:10am UTC](https://discuss.elastic.co/t/logstash-tried-to-load-a-plugins-code-google-bigquery/197322/1 "2019-08-29T11:10:24Z")

</div>

I am trying to send data to BigQuery using LogStash.

The BigQuery output plugin is installed, as shown by using `bin/logstash-plugin list`, but when running a .conf file consisting of:  
output {  
google\_bigquery {  
project\_id =\>  
dataset =\>  
csv\_schema =\>  
json\_key\_file =\>  
error\_directory =\>  
service\_account =\>  
}  
}

The log file reads:  
[2019-08-29T12:57:11,028][ERROR][logstash.plugins.registry] Problems loading a plugin with {:type=\>"output", :name=\>"google\_bigquery", :path=\>"logstash/outputs/google\_bigquery", :error\_message=\>"\n\n\tyou might need to reinstall the gem which depends on the missing jar or in case there is Jars.lock then resolve the jars with `lock_jars` command\n\nno such file to load -- com/google/cloud/google-cloud-bigquery/1.24.1/google-cloud-bigquery-1.24.1 (LoadError)", :error\_class=\>RuntimeError, :error\_backtrace=\>["uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/jar\_dependencies.rb:356:in `do_require'", "uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/jar_dependencies.rb:265:in`block in require\_jar'", "uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/jar\_dependencies.rb:307:in `require_jar_with_block'", "uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/jar_dependencies.rb:264:in`require\_jar'".

---

<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: [September 26, 2019, 11:23am UTC](https://discuss.elastic.co/t/logstash-tried-to-load-a-plugins-code-google-bigquery/197322/2 "2019-09-26T11:23:01Z")

</div>

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