![]() Tableau prompt for selecting schema levels moving forward after json import Once opened, you can specify the required schema levels to include for analysis. Now, with our exported JSON file ready, we can open Tableau’s JSON connector and select our file. Template commands for mongoimport and mongoexportįor example, if we wanted to export the transactions collection in our sample_analytics MongoDB database to a file called export.json mongoexport -uri -collection transactions -out export.json ![]() On the “Data Import and Export Tools” section, we can find a template command to produce an export of data stored in a MongoDB instance that we can then analyze using Tableau. Navigating to the Command Line Tools page To easily use mongoexport and generate a JSON file, we can use the “Command Line Tools” tab of our “Database Deployments” page. This can be done using mongoexport, a CLI-tool that produces a JSON or CSV export of data stored in a MongoDB instance. In that case, use Tableau’s JSON connector to understand the data without any data preparation. Perhaps we’d like to export our MongoDB data in order to analyze and make insightful decisions. Tableau dashboard after connecting via Atlas SQL Interface If the connection was successful, you should see your database and collections that exist as part of your federated database instance within Tableau. When prompted, enter the URI, database, username, and password information associated with the federated database instance within MongoDB Atlas.Įntering the necessary credentials to access the database via Tableau Choose "MongoDB Atlas by MongoDB" as your MongoDB Tableau connector option. ![]() Open Tableau Desktop or Tableau Server and navigate to the "Connect" menu. Selecting the URI to connect via the Tableau connector The database that you want to use as part of your connection is within "Configuration" section of your particular federated instance. Take note of the "URI" in the "Tableau Connector" tab, but not the "Database" field. For the instance you'd like to connect to, click the "Connect" button followed by "Connect using the Atlas SQL Interface" button.Ĭonnecting to Tableau using the Atlas SQL Interface Within MongoDB Atlas, click the "Data Federation" tab. We need to obtain the connection information for that instance to be used in Tableau. You should already have a federated database instance within MongoDB as per the requirements of this tutorial. Once again, if the directory doesn't exist, go ahead and create it.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |