MongoDB Data Stream Parameters

The MongoDB plugin provides configurable data streams to fetch ticket information and metrics.

Each configurable data stream exposes a set of parameters that lets you filter the data you retrieve. The following information describes the available configurable data streams and their parameters in detail.

Query

Parameter
Description
Query operation
Select the type of query to send. Choose from:
  • Find
  • Find one
  • Count
  • Distinct field values
  • Aggregate
Collection name
Select a collection to run the query against from the dropdown. The list of collections should reflect the collections that the user has access to. If the collection is not listed, try entering the collection name manually.
Limit (Find operation only)
Specify the maximum number of documents to return
Field (Distinct field values operation only)
Specify the field to query for distinct values
Filter (All operations except Aggregate)
Specify a query filter to limit the data you return, expressed in JSON. See MongoDB documentation on Query Filters.
Projection (Find and Find one operations only)
Specify the precise fields to return, expressed in JSON. See MongoDB documentation on Projections.
Sort (Find operation only)
Specify the sort order, expressed in JSON. See MongoDB documentation on Sorting.
Aggregation Pipeline (Aggregation operation only)
Specify an array of pipeline stages to aggregate the data by, expressed in JSON. See MongoDB documentation on Aggregation Pipelines.

Was this article helpful?


Have more questions or facing an issue?