Hi
I am trying to monitor an es cluster using metricbeat elasticsearch module for some reason I can't change the index name sent to my monitoring cluster from .monitor-es-6-mb.
2019-04-12T19:31:55.671Z DEBUG [publisher] memqueue/ackloop.go:128 ackloop:
return ack to broker loop:17 [81/1959]
2019-04-12T19:31:55.671Z DEBUG [publisher] memqueue/ackloop.go:131 ackloop: done
send ack
2019-04-12T19:31:58.830Z DEBUG [publish] pipeline/processor.go:308 Publish event: {
"@timestamp": "2019-04-12T19:31:56.202Z",
"@metadata": {
"beat": "metricbeat",
"type": "doc",
"version": "6.6.2",
"index": ".monitoring-es-6-mb"
here is my config
metricbeat:
config:
modules:
path: /usr/share/metricbeat/modules.d/*.yml
reload:
enabled: false
output:
elasticsearch:
hosts:
- https://mycluster:443
index: kube-%{+yyyy.MM.dd}
password:
username:
file:
enabled: false
filename: metricbeat
number_of_files: 5
path: /usr/share/metricbeat/data
rotate_every_kb: 10000
path:
config: /usr/share/metricbeat
data: /usr/share/metricbeat/data
home: /usr/share/metricbeat
logs: /usr/share/metricbeat/logs
processors:
- add_cloud_metadata: null
setup:
template:
enabled: true
name: kube
pattern: kube-*
and I already have template called kube in monitoring cluster.