Connecting to MongoDB from Pentaho Data Integration - mongodb

Using Pentaho Data Integration (Spoon) for the first time v. 8.2.
Need to connect to MongoDB data source.
I don't see such an Input Node type and also don't see MongoDB in the Big Data menu.
Any idea how to add the MongoDB input type to the tool or to the Big Data source selector?

I do have MongoDB Input and Output steps under big data collection in my PDI CE 8.2 version, check again:

Related

When I try to create a mongodb datasource in BIRT that connects to mongodb atlas it just times out, how to fix this?

I'm trying to create reports in BIRT using data from a mongodb data source hosted in Atlas. I'm using a shard's mongodb:// URI and not a mongodb+srv://. I'm able to connect to this URI from Compass and Intellij, yet birt mongodb data source times out. Is there any way I can fix this?

Birt not being able to find available fields Mongodb datasource dataset

I'm trying to connect a mongodb database to Birt and create a dataset. But after i connect (ping get succeeded) the database and trying to set up the dataset by specifying a collection name but following error comes
Unable to find available fields. Invalid collection name clinic.
Seems its an issue with the mongodb-java driver.
Open the Eclipse IDE and navigate to the plugins dir, delete the org.eclipse.orbit.mongodb_2.10.1.v20130422-1135.jar file, and add the mongo-java-driver-2.14.3.jar there.

Mongo BI Connector to SpreadSheet

I have mongoDB & MongoBI connector installed & configured. Want to check whether the BI Connector is working with a client.
In my case, want to use BI Connector with SpreadSheet. I am using the following URL - https://docs.mongodb.com/bi-connector/master/connect/excel/
Able to get till Step# 5 (Select Your DSN), as per the document. When I click next I don't see any database (or) table to select. Stuck after step# 5.
Any idea? Need some suggestions/help.
select your created DSN.and you can use it
The issue is with 32 bit versus 64-bit driver. In my case, I was using excel 32 bit & mongo driver installed was 64-bit.
After installing the right Mongo Driver version -> recreate DSN -> follow the steps as per docs -> it worked like a charm :-)
Hope it helpful

Pentaho Report Designer can't find MongoDB 's collections while connecting

I am using Pentaho Data Integration (PDI), for writing big data to Mongo DB.
I am going to setup the connection of my NOSQL database to Pentaho Report Designer (PRD). When I am doing that I am able to start the configuration with Host Name and port of Mongo; even PDR can find my DB.
What is the issue? PDR cannot find any collection, which is why I cannot proceed for setting up my data in the tool Report.
I don't understand why.
Anyone have an idea about that?
PDR version 5.1
Mongo 3.2.3
OS Windows

How to Connect Mongodb to tableau

We are still in the development phase.
Our req is parse the XML to JSON and store them as flat files in Mongodb
Then for the analysis we want to use tableau.
Part 1 of the req is done...now i need to connect to tableau.
Versions we have are
Mongo 3.2
Tableau 9.1
I have googled and couldn't find any steps to integrate tableau with mongodb.
I also saw Mongodb has released a connector but there is no Windows BI connector.
Now do we need to migrate to Enterprise version for tableau connectivity.
Many thanks for the inputs
Detailed Instructions (for Windows), using localhost server of mongoDB:
1) Installation: Install Tableau, MongoDB, and MongoDB BI Connector for Tableau.
2) From the command prompt, you will want to serve your mongoDB instance as well as the mongoDB_sql server needed to connect to Tableau MongoDB BI Connector. Add mongoDB and mongoDB BI Connector bin's to your system path, for example: C:\Program Files\MongoDB\Server\3.6\bin\ and 2) C:\Program Files\MongoDB\Connector for BI\2.3\bin\.
3) Serve your local mongoDB server. Example command: mongod. (Let's assume it is served on localhost:27017.
4) Create a schema of the database you want Tableau to integrate with. Command to do this: mongodrdl --out <path_that_you_want_to_save_schema_to> /db:<name_of_database>
5) Validate the schema, and serve your local server of mongoDB as an SQL server (Tableau expects this server to be running). Command to do this: mongosqld --schema <path_to_schema> (** this will typically serve to localhost:3307)
6) You can now go to Tableau, under connectors, click on the MongoDB BI Connector, and enter localhost for the server, and 3307 for the port. (assuming in step 5 you have validated that the sql server is running on localhost with port 3307).
I hope this helps, these exact steps worked well for me.
The mongo biconnector is implemented as a multicorn (python) based Foreign Data Wrapper imbedded in the supplied postgresql server. Tools are provided to set up the postgresql "biuser" user, to create the collection to table mappings from data sampling, and to import the resultant schema into postgresql. The postgresql database contains non-materialized views corresponding to the (flattened) mongo collections. Access is through the postgresql server using standard postgresql jdbc/odbc drivers.
I think run mongodb bi connector in docker ubuntu/centos is a choice if the connector does not support windows, and tableau does not support linux, that's a question.
There is an example of create bi connection in www.mongodb.com/tableau with mongosqld
Hope this would work well for your issue
I have described our way connecting to data in MongoDB Community Edition to Tableau. First creat an API to your DB, then Web Data Connector to Tableau (it's HTML and JS files), after you can use WDC Connector in Tableau to connect to your URL.
Here is the detailed description how we did it: https://medium.com/#katya.neulinger/tableau-web-data-connector-to-mongodb-c1477d7d5ac9