Dashboard could not locate the index-patternedit

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 in the Kibana docs.