This recipe guides you through the process of parsing and profiling from a MongoDB collection and creating an instant analysis report.
To get ready for this recipe, you first need to start Spoon and the MongoDB server with the same database as that of the previous chapter.
Perform the following steps to create a simple analysis view:
Pentaho Instaview is based on three main simple steps: choose the data source, auto-prepare the data for analysis, and Pentaho interactive visualize and explore. This recipe demonstrates all of them. However, as in any self-service or automated solution, sometimes it is necessary to customize and optimize the solution. The next recipe is about the modifications that you can make in Pentaho Instaview.
After the first step, choosing the data source (MongoDB, in this case), we define the connection to our collection for the second step. As you probably noticed, the interface for defining the connection looks similar to Spoon. This is because Pentaho Instaview creates a transformation to be executed in order to make the data available for exploring and visualizing. In the next recipe, we will demonstrate how you can edit this transformation.
The end result is an interactive visualization report that allows you to explore your data quickly. However, the metadata model that was generated automatically is a little inaccurate. Nevertheless, it's possible to change it, as is explained in one of the later recipes.