# Mongodb/logstash connect error

**URL:** <https://discuss.elastic.co/t/mongodb-logstash-connect-error/328799>\
**Category:** Logstash\
**Created:** [March 29, 2023, 9:35am UTC](https://discuss.elastic.co/t/mongodb-logstash-connect-error/328799 "2023-03-29T09:35:42Z")\
**Posts on this page:** 1\
**Showing post:** 15

<div class="post-metadata">

**Author:** ![carly.richmond](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/carly.richmond/32/104935_2.png) [@carly.richmond](https://discuss.elastic.co/u/carly.richmond)\
**Post date:** [April 3, 2023, 1:35pm UTC](https://discuss.elastic.co/t/mongodb-logstash-connect-error/328799/15 "2023-04-03T13:35:55Z")

</div>

> [@jskang](#):
>
> jdbc\_driver\_library =\> "/usr/share/logstash/logstash-core/lib/jars/mongodb-driver-core-4.8.1.jar"

I've downloaded a copy of the driver zip you are currently using. Should the `jdbc_driver_library` property not point to jar `mongojdbc4.8.jar` rather than `mongodb-driver-core-4.8.1.jar`? Looking at this [related thread](https://discuss.elastic.co/t/how-to-read-mongodb-logs-from-logstash-jdbc-plugin/312301) I suspect that might be the problem.

---

_[View the full topic](https://discuss.elastic.co/t/mongodb-logstash-connect-error/328799)._
