﻿---
title: Dashboard could not locate the index-pattern
description: Typically Metricbeat sets up the index pattern automatically when it loads the index template. However, if for some reason Metricbeat loads the index...
url: https://www.elastic.co/elastic/docs-builder/docs/3028/reference/beats/metricbeat/could-not-locate-index-pattern
products:
  - Beats
  - Metricbeat
applies_to:
  - Elastic Cloud Serverless: Generally available
  - Elastic Stack: Generally available
---

# Dashboard could not locate the index-pattern
Typically Metricbeat sets up the index pattern automatically when it loads the index template. However, if for some reason Metricbeat loads the index template, but the index pattern does not get created correctly, you’ll see a "could not locate that index-pattern" error. To resolve this problem:
1. Try running the `setup` command again. For example: `./metricbeat setup`.
2. If that doesn’t work, go to the Management app in Kibana, and under **Index Patterns**, look for the pattern.
   1. If the pattern doesn’t exist, create it manually.
   - Set the **Time filter field name** to `@timestamp`.
- Set the **Custom index pattern ID** advanced option. For example, if your custom index name is `metricbeat-customname`, set the custom index pattern ID to `metricbeat-customname-*`.

For more information, see [Creating an index pattern](https://docs-v3-preview.elastic.dev/elastic/docs-builder/docs/3028/explore-analyze/find-and-organize/data-views) in the Kibana docs.