Metricbeat is not working after i installed xpack


(Guta Saputra) #1

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.

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'

but still, i cant access my metricbeat logs.

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


did i miss something ?


(Tanguy) #2

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


(system) #3

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