+++
# -----------------------------------------------------------------------
# Do not edit this file. It is automatically generated by API Documenter.
# -----------------------------------------------------------------------
title = "getFieldMatcher"
keywords = ["grafana","documentation","sdk","@grafana/data"]
type = "docs"
+++
## getFieldMatcher() function
### getFieldMatcher() function
Signature
```typescript
export declare function getFieldMatcher(config: MatcherConfig): FieldMatcher;
```
Import
```typescript
import { getFieldMatcher } from '@grafana/data';
```
Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| config | MatcherConfig
| |
Returns:
`FieldMatcher`