# Metricbeat is not working after i installed xpack

**URL:** <https://discuss.elastic.co/t/metricbeat-is-not-working-after-i-installed-xpack/71681>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [January 16, 2017, 6:54am UTC](https://discuss.elastic.co/t/metricbeat-is-not-working-after-i-installed-xpack/71681 "2017-01-16T06:54:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![gutasaputra](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gutasaputra/32/10472_2.png) [@gutasaputra](https://discuss.elastic.co/u/gutasaputra)\
**Post date:** [January 16, 2017, 6:54am UTC](https://discuss.elastic.co/t/metricbeat-is-not-working-after-i-installed-xpack/71681/1 "2017-01-16T06:54:28Z")

</div>

hi, recently i installed xpack and then suddenly my metricbeat doesnt work anymore.  
it should be send log to my elastic.  
but when i check it in my kibana, it throw me error msg like this.

![](https://us1.discourse-cdn.com/elastic/original/2X/f/f7f63cd9076d3b177299928d96ebef7c79551018.png)

this is my metricbeat.yml setting

metricsets:  
# CPU stats  
- cpu

```
# System Load stats
- load

# Per CPU core stats
- core

# IO stats
- diskio

# Per filesystem stats
- filesystem

# File system summary stats
- fsstat

```

# Memory stats

```
- memory

# Network stats
- network

# Per process stats
- process

```

enabled: true

# enable cpgroups option

period: 10s  
processes: ['.\*']  
cpu\_ticks: false

output.elasticsearch:

# Array of hosts to connect to.

hosts: ["localhost:9200"]

# Optional protocol and basic auth credentials.

#protocol: "https"  
username: "elastic"  
password: "techno2013"

#output.logstash:

# The Logstash hosts

hosts: ["localhost:5044"]

# username: "elastic"

# password: "techno2013"

i try to run this  
curl -XGET '[http://localhost:9200/metricbeat-\*/\_search?pretty](http://localhost:9200/metricbeat-*/_search?pretty)'

but still, i cant access my metricbeat logs.

this is the prove that my configuration was working before i installed xpack plugin.

 ![](https://us1.discourse-cdn.com/elastic/original/2X/b/b8e425e7edac9023d3e24ac89456a2a26b7a56ae.png)  
did i miss something ?

---

<div class="post-metadata">

**Author:** ![tanguy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tanguy/32/6030_2.png) [@tanguy](https://discuss.elastic.co/u/tanguy)\
**Post date:** [January 16, 2017, 11:33am UTC](https://discuss.elastic.co/t/metricbeat-is-not-working-after-i-installed-xpack/71681/2 "2017-01-16T11:33:53Z")

</div>

Hi,

When X-Pack is installed, the cluster get automatically secured using the Security plugin that is part of the X-Pack and enabled by default.

You need to configure the security for the metricbeat as documented in [https://www.elastic.co/guide/en/x-pack/5.1/beats.html](https://www.elastic.co/guide/en/x-pack/5.1/beats.html)

---

<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:** [February 13, 2017, 11:34am UTC](https://discuss.elastic.co/t/metricbeat-is-not-working-after-i-installed-xpack/71681/3 "2017-02-13T11:34:10Z")

</div>

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