# ElasticSearch not collect System metrics by metricBeat agent

**URL:** https://discuss.elastic.co/t/elasticsearch-not-collect-system-metrics-by-metricbeat-agent/278043
**Category:** Beats
**Tags:** docker, metricbeat
**Created:** [July 7, 2021, 8:09am UTC](https://discuss.elastic.co/t/elasticsearch-not-collect-system-metrics-by-metricbeat-agent/278043 "2021-07-07T08:09:31Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![bhamidpour](https://avatars.discourse-cdn.com/v4/letter/b/82dd89/32.png) [@bhamidpour](https://discuss.elastic.co/u/bhamidpour)
#### Post date: [July 7, 2021, 8:09am UTC](https://discuss.elastic.co/t/elasticsearch-not-collect-system-metrics-by-metricbeat-agent/278043/1 "2021-07-07T08:09:31Z")

</div>

Hi,  
I used [this document](https://www.elastic.co/guide/en/beats/metricbeat/7.11/metricbeat-installation-configuration.html) to run metricbeat agent.  
kibana path: [https://elastic.mydomain.com:5601](https://elastic.mydomain.com:5601)  
elastic path: [http://elastic.mydomain.com:9200](http://elastic.mydomain.com:9200) (without TLS)

after set configurations in "/etc/metricbeat/metricbeat.yml" and run the command "metricbeat setup -e" I got the following error:  
" Exiting: error connecting to Kibana: fail to get the Kibana version: HTTP GET request to [https://elastic.mydomain.com:5601/api/status](https://elastic.mydomain.com:5601/api/status) fails: fail to execute the HTTP GET request: Get "[https://elastic.mydomain.com:5601/api/status](https://elastic.mydomain.com:5601/api/status)": x509: certificate signed by unknown authority. Response: . "  
(despite [https://elastic.mydomain.com:5601/api/status](https://elastic.mydomain.com:5601/api/status) working in browser and return JSON response)

so then, according [this document](https://discuss.elastic.co/t/x509-certificate-signed-by-unknown-authority/156815) I used "ssl.verification\_mode: none" in config file. issue fixed and after run command "metricbeat setup -e" again, I got the following message:

"Index setup finished.  
Loading dashboards (Kibana must be running and reachable)  
Loaded dashboards"

but in elasticsearch i can't find out any data log or index and when I click "check data" in "Module status" section, got the error: "No data has been received from this module yet"

what's issue? what's the solution?

---

<div class="post-metadata">

### Author: ![mtojek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mtojek/32/63863_2.png) [@mtojek](https://discuss.elastic.co/u/mtojek)
#### Post date: [July 7, 2021, 9:33am UTC](https://discuss.elastic.co/t/elasticsearch-not-collect-system-metrics-by-metricbeat-agent/278043/2 "2021-07-07T09:33:32Z")

</div>

Did you try to explore/list indices available in Elasticsearch (port 9200)?

---

<div class="post-metadata">

### Author: ![bhamidpour](https://avatars.discourse-cdn.com/v4/letter/b/82dd89/32.png) [@bhamidpour](https://discuss.elastic.co/u/bhamidpour)
#### Post date: [July 7, 2021, 9:40am UTC](https://discuss.elastic.co/t/elasticsearch-not-collect-system-metrics-by-metricbeat-agent/278043/3 "2021-07-07T09:40:22Z")

</div>

Thanks for your reply.  
I found out these indexes:

 ![Screenshot 2021-07-07 140942](https://us1.discourse-cdn.com/elastic/original/3X/7/1/710c5072e37eb1f867f4d362c400cd46ddb748d0.jpeg)

All of them is empty and haven't any data.

---

<div class="post-metadata">

### Author: ![bhamidpour](https://avatars.discourse-cdn.com/v4/letter/b/82dd89/32.png) [@bhamidpour](https://discuss.elastic.co/u/bhamidpour)
#### Post date: [July 14, 2021, 9:24am UTC](https://discuss.elastic.co/t/elasticsearch-not-collect-system-metrics-by-metricbeat-agent/278043/4 "2021-07-14T09:24:47Z")

</div>

Any response or solution?

---

<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 11, 2021, 11:25am UTC](https://discuss.elastic.co/t/elasticsearch-not-collect-system-metrics-by-metricbeat-agent/278043/5 "2021-08-11T11:25:15Z")

</div>

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