MongoDB Document Metrics: Difference between revisions

From FojiSoft Docs
(Created page with "Foji is a versatile data integration platform that allows you to connect and process data from various sources, including MongoDB. This documentation will guide you through the process of configuring MongoDB Document Metrics as a data source in Foji. The MongoDB Document Metrics configuration enables you to retrieve specific document-level metrics and data from your MongoDB collections. To configure the data source, you will need to provide the following fields: Name, Co...")
 
m (Text replacement - "Category:Connectors" to "Category:Settings")
Line 40: Line 40:
== Conclusion ==
== Conclusion ==
By following the steps outlined in this documentation, you can configure MongoDB Document Metrics as a data source in Foji. This allows you to retrieve specific document-level metrics and data from MongoDB collections, enabling seamless integration and processing of data from MongoDB within the Foji platform.
By following the steps outlined in this documentation, you can configure MongoDB Document Metrics as a data source in Foji. This allows you to retrieve specific document-level metrics and data from MongoDB collections, enabling seamless integration and processing of data from MongoDB within the Foji platform.
[[Category:Connectors]]
[[Category:Settings]]

Revision as of 20:13, 19 March 2024

Foji is a versatile data integration platform that allows you to connect and process data from various sources, including MongoDB. This documentation will guide you through the process of configuring MongoDB Document Metrics as a data source in Foji. The MongoDB Document Metrics configuration enables you to retrieve specific document-level metrics and data from your MongoDB collections. To configure the data source, you will need to provide the following fields: Name, Connection, Scan Interval, Database, Collection, Filter, and Projection.

Step 1: Accessing Data Source Configuration

  1. Log in to your Foji account and navigate to the data sources section.
  2. Click on the "Add Data Source" button or select the option to create a new data source.

Step 2: Naming the Data Source

  1. In the "Name" field, enter a unique name for your MongoDB Document Metrics data source. Choose a descriptive name that helps you identify the purpose or characteristics of this data source.

Step 3: Selecting the Connection

  1. From the "Connection" dropdown, select the configured MongoDB connection that you want to use for retrieving document metrics. Ensure that you have already set up the appropriate MongoDB connector in Foji before configuring the data source.

Step 4: Configuring the Scan Interval

  1. Specify the scan interval in minutes. This determines how frequently Foji will retrieve updated document metrics from MongoDB.

Step 5: Selecting the Database and Collection

  1. From the "Database" dropdown, select the pre-configured MongoDB database where your target collection resides. Ensure that you have already created the database in Foji using the appropriate configuration.
  2. From the "Collection" dropdown, select the pre-configured MongoDB collection from which you want to retrieve document metrics. Ensure that you have already created the collection in Foji.

Step 6: Applying Filters

  1. In the "Filter" field, define the filters you want to apply to the MongoDB collection. Filters allow you to specify criteria for selecting specific documents based on field values or conditions.

Step 7: Applying Projections

  1. In the "Projection" field, define the projections for the document metrics. Projections allow you to specify the fields you want to retrieve from the selected documents, enabling you to focus on the necessary data and optimize performance.

Step 8: Saving the Data Source Configuration

  1. After providing the necessary configuration details, click on the "Save" or "Create" button to save the MongoDB Document Metrics data source configuration.
  2. Foji will automatically retrieve the specified document metrics based on the defined scan interval and configuration from the MongoDB collection.
  3. You can now use this data source in your Foji workflows to process and analyze the document metrics and data retrieved from MongoDB.
  4. Contact the Foji support team for more information on utilizing the MongoDB Document Metrics data source within your workflows.

Conclusion

By following the steps outlined in this documentation, you can configure MongoDB Document Metrics as a data source in Foji. This allows you to retrieve specific document-level metrics and data from MongoDB collections, enabling seamless integration and processing of data from MongoDB within the Foji platform.