# I can´t find the metric index pattern and I have installed metricbeat

**URL:** <https://discuss.elastic.co/t/i-can-t-find-the-metric-index-pattern-and-i-have-installed-metricbeat/140167>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [July 16, 2018, 2:58pm UTC](https://discuss.elastic.co/t/i-can-t-find-the-metric-index-pattern-and-i-have-installed-metricbeat/140167 "2018-07-16T14:58:33Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Diego\_Moreno](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/diego_moreno/32/33334_2.png) [@Diego\_Moreno](https://discuss.elastic.co/u/Diego_Moreno)\
**Post date:** [July 16, 2018, 2:58pm UTC](https://discuss.elastic.co/t/i-can-t-find-the-metric-index-pattern-and-i-have-installed-metricbeat/140167/1 "2018-07-16T14:58:33Z")

</div>

![image](https://us1.discourse-cdn.com/elastic/original/3X/0/f/0f7ce17b428d5554d9b31883eb30296f1e58c2e8.png)

---

<div class="post-metadata">

**Author:** ![ruflin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ruflin/32/3116_2.png) [@ruflin](https://discuss.elastic.co/u/ruflin)\
**Post date:** [July 16, 2018, 6:47pm UTC](https://discuss.elastic.co/t/i-can-t-find-the-metric-index-pattern-and-i-have-installed-metricbeat/140167/2 "2018-07-16T18:47:45Z")

</div>

The `metricbeat-*` pattern does not start with a `.`. Try without it.

---

<div class="post-metadata">

**Author:** ![Diego\_Moreno](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/diego_moreno/32/33334_2.png) [@Diego\_Moreno](https://discuss.elastic.co/u/Diego_Moreno)\
**Post date:** [July 16, 2018, 6:56pm UTC](https://discuss.elastic.co/t/i-can-t-find-the-metric-index-pattern-and-i-have-installed-metricbeat/140167/3 "2018-07-16T18:56:23Z")

</div>

It still does not work, Ruflin

---

<div class="post-metadata">

**Author:** ![ruflin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ruflin/32/3116_2.png) [@ruflin](https://discuss.elastic.co/u/ruflin)\
**Post date:** [July 17, 2018, 9:25am UTC](https://discuss.elastic.co/t/i-can-t-find-the-metric-index-pattern-and-i-have-installed-metricbeat/140167/4 "2018-07-17T09:25:12Z")

</div>

Is metricbeat running as expected? Can you check which indices exist? [https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-indices.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-indices.html)

---

<div class="post-metadata">

**Author:** ![Diego\_Moreno](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/diego_moreno/32/33334_2.png) [@Diego\_Moreno](https://discuss.elastic.co/u/Diego_Moreno)\
**Post date:** [July 17, 2018, 4:04pm UTC](https://discuss.elastic.co/t/i-can-t-find-the-metric-index-pattern-and-i-have-installed-metricbeat/140167/5 "2018-07-17T16:04:07Z")

</div>

No, it does not appear the metricbeat index pattern

---

<div class="post-metadata">

**Author:** ![ruflin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ruflin/32/3116_2.png) [@ruflin](https://discuss.elastic.co/u/ruflin)\
**Post date:** [July 18, 2018, 8:50am UTC](https://discuss.elastic.co/t/i-can-t-find-the-metric-index-pattern-and-i-have-installed-metricbeat/140167/6 "2018-07-18T08:50:14Z")

</div>

I assume you mean the indices?

Can you share your metricbeat log and config?

---

<div class="post-metadata">

**Author:** ![Diego\_Moreno](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/diego_moreno/32/33334_2.png) [@Diego\_Moreno](https://discuss.elastic.co/u/Diego_Moreno)\
**Post date:** [July 18, 2018, 3:53pm UTC](https://discuss.elastic.co/t/i-can-t-find-the-metric-index-pattern-and-i-have-installed-metricbeat/140167/7 "2018-07-18T15:53:49Z")

</div>

![image](https://us1.discourse-cdn.com/elastic/original/3X/f/5/f5022b937952926722fab02d298245e3f2d7c9b6.png)

#========================== Modules configuration ============================

metricbeat.config.modules:

# Glob pattern for configuration loading

path: ${path.config}/modules.d/\*.yml

# Set to true to enable config reloading

reload.enabled: true

# Period on which files under path should be checked for changes

reload.period: 10s

#==================== Elasticsearch template setting ==========================

setup.template.settings:  
index.number\_of\_shards: 1  
index.codec: best\_compression  
#\_source.enabled: false  
setup.template.fields: "C:/Users/diego/Documents/MetricBeat/Metricbeat/fields.yml"

#================================ General =====================================

# The name of the shipper that publishes the network data. It can be used to group

# all the transactions sent by a single shipper in the web interface.

#name:

# The tags of the shipper are included in their own field with each

# transaction published.

#tags: ["service-X", "web-tier"]

# Optional fields that you can specify to add additional information to the

# output.

#fields:

# env: staging

#============================== Dashboards =====================================

# These settings control loading the sample dashboards to the Kibana index. Loading

# the dashboards is disabled by default and can be enabled either by setting the

# options here, or by using the `-setup` CLI flag or the `setup` command.

#setup.dashboards.enabled: false

# The URL from where to download the dashboards archive. By default this URL

# has a value which is computed based on the Beat name and version. For released

# versions, this URL points to the dashboard archive on the [artifacts.elastic.co](http://artifacts.elastic.co)

# website.

#setup.dashboards.url:

#============================== Kibana =====================================

# Starting with Beats version 6.0.0, the dashboards are loaded via the Kibana API.

# This requires a Kibana endpoint configuration.

setup.kibana:  
host: "localhost:5601"

# Kibana Host

# Scheme and port can be left out and will be set to the default (http and 5601)

# In case you specify and additional path, the scheme is required: [http://localhost:5601/path](http://localhost:5601/path)

# IPv6 addresses should always be defined as: https://[2001:db8::1]:5601

#============================= Elastic Cloud ==================================

# These settings simplify using metricbeat with the Elastic Cloud ([https://cloud.elastic.co/](https://cloud.elastic.co/)).

# The cloud.id setting overwrites the `output.elasticsearch.hosts` and

# `setup.kibana.host` options.

# You can find the `cloud.id` in the Elastic Cloud web UI.

#cloud.id:

# The cloud.auth setting overwrites the `output.elasticsearch.username` and

# `output.elasticsearch.password` settings. The format is `<user>:<pass>`.

#cloud.auth:

#================================ Outputs =====================================

# Configure what output to use when sending the data collected by the beat.

#-------------------------- Elasticsearch output ------------------------------  
output.elasticsearch:

# Array of hosts to connect to.

hosts: ["localhost:9200"]  
enabled: true  
pipeline: "ngnix\_log\_pipeline"  
index: "metricbeat-%{[beat.version]}-%{+yyyy.MM}"

# Optional protocol and basic auth credentials.

protocol: "https"  
path: /elasticsearch  
#username: "elastic"  
#password: "changeme"

setup.template.name: "metricbeat-6.3.0-darwin-x86\_64"  
setup.template.enable: true  
setup.template.pattern: "metricbeat-_"  
setup.dashboards.index: "metricbeat-_"  
setup.template.fields: "fields.yml"

#----------------------------- Logstash output --------------------------------  
#output.logstash:

# The Logstash hosts

#hosts: ["localhost:5044"]

output.logstash:  
enabled: true  
hosts: ["localhost:5044"]

# Optional SSL. By default is off.

# List of root certificates for HTTPS server verifications

#ssl.certificate\_authorities: ["/etc/pki/root/ca.pem"]

# Certificate for SSL client authentication

#ssl.certificate: "/etc/pki/client/cert.pem"

# Client Certificate Key

#ssl.key: "/etc/pki/client/cert.key"

#================================ Logging =====================================

# Sets log level. The default log level is info.

# Available log levels are: error, warning, info, debug

#logging.level: debug

# At debug level, you can selectively enable logging only for some components.

# To enable all selectors use ["\*"]. Examples of other selectors are "beat",

# "publish", "service".

#logging.selectors: ["\*"]

#============================== Xpack Monitoring ===============================

# metricbeat can export internal metrics to a central Elasticsearch monitoring

# cluster. This requires xpack monitoring to be enabled in Elasticsearch. The

# reporting is disabled by default.

# Set to true to enable the monitoring reporter.

#xpack.monitoring.enabled: false

# Uncomment to send the metrics to Elasticsearch. Most settings from the

# Elasticsearch output are accepted here as well. Any setting that is not set is

# automatically inherited from the Elasticsearch output configuration, so if you

# have the Elasticsearch output configured, you can simply uncomment the

# following line.

#xpack.monitoring.elasticsearch:

output.console:  
enabled: true  
pretty: true

metricbeat.modules:

- module: system  
metricsets:

- module: apache  
metricsets: ["status"]  
enabled: true  
period: 1s  
hosts: ["[http://localhost](http://localhost)"]

---

<div class="post-metadata">

**Author:** ![Andrew\_Cholakian1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrew_cholakian1/32/3612_2.png) [@Andrew\_Cholakian1](https://discuss.elastic.co/u/Andrew_Cholakian1)\
**Post date:** [July 18, 2018, 10:01pm UTC](https://discuss.elastic.co/t/i-can-t-find-the-metric-index-pattern-and-i-have-installed-metricbeat/140167/8 "2018-07-18T22:01:24Z")

</div>

Can you please reformat your config as code? You just need to wrap precede the code with a line consistent of three ticks. See [this page](https://help.github.com/articles/creating-and-highlighting-code-blocks/) for guidance on doing so.

Is that the complete log output in that screenshot?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [August 15, 2018, 10:01pm UTC](https://discuss.elastic.co/t/i-can-t-find-the-metric-index-pattern-and-i-have-installed-metricbeat/140167/9 "2018-08-15T22:01:31Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
