# MonitoringSourceForIndexing

Location: [gRPC API](https://developer.m-files.com/APIs/gRPC-API/index.md) > [Reference](https://developer.m-files.com/APIs/gRPC-API/Reference/index.md) > [Messages](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/index.md)

HTML version: https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.MonitoringSourceForIndexing/

Struct for a monitoring source for indexing.

- **Full name:** `MFiles.MonitoringSourceForIndexing`
- **Proto file:** [`mfiles/structs.proto`](https://developer.m-files.com/APIs/gRPC-API/downloads/proto/mfiles/structs.proto)

<a id="fields"></a>

## Fields

| Field | Type | Number | Description |
|---|---|---|---|
| <a id="f-index"></a>`index` | [`IndexName`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.IndexName/index.md) | 1 | Identifies the index associated with the monitoring data. |
| <a id="f-auxiliary_indexer_id"></a>`auxiliary_indexer_id` | `string` | 2 | If set, identifies auxiliary indexer associated with the monitoring data. |
| <a id="f-partition"></a>`partition` | [`IndexerPartition`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.IndexerPartition/index.md) | 3 | If set, specifies the partition associated with the monitoring data. |

<a id="used-by-methods"></a>

## Used by methods

- [IRPCMonitoringDatapointsSink.ClearDatapointsForIndexing](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCMonitoringDatapointsSink/ClearDatapointsForIndexing/index.md): Deletes the stored indexing data points of one index.
- [IRPCMonitoringDatapointsSink.PushDatapointsForIndexingBegin](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCMonitoringDatapointsSink/PushDatapointsForIndexingBegin/index.md): Stores the data points of the start of an indexing batch: the indexing mode, the start position and the number of items to process.
- [IRPCMonitoringDatapointsSink.PushDatapointsForIndexingCommon](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCMonitoringDatapointsSink/PushDatapointsForIndexingCommon/index.md): Stores index-level data points of one index: data format capabilities, index size and the times of the last rebuild.
- [IRPCMonitoringDatapointsSink.PushDatapointsForIndexingEnd](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCMonitoringDatapointsSink/PushDatapointsForIndexingEnd/index.md): Stores the data points of the end of an indexing batch: timing, item counts and failures.

<a id="used-in-fields"></a>

## Used in fields

- [`ClearDatapointsForIndexingRequest.source`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCMonitoringDatapointsSink/ClearDatapointsForIndexing/index.md#request): The monitoring data source.
- [`PushDatapointsForIndexingCommonRequest.source`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCMonitoringDatapointsSink/PushDatapointsForIndexingCommon/index.md#request): The monitoring data source.
- [`PushDatapointsForIndexingBeginRequest.source`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCMonitoringDatapointsSink/PushDatapointsForIndexingBegin/index.md#request): The monitoring data source.
- [`PushDatapointsForIndexingEndRequest.source`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCMonitoringDatapointsSink/PushDatapointsForIndexingEnd/index.md#request): The monitoring data source.
