hello
I'm using Metricbeat 5.4.0 and everything kept in default except index name in out>elasticsearch section
#-------------------------- Elasticsearch output ------------------------------
output.elasticsearch:
# Array of hosts to connect to.
hosts: ["10.0.96.166:9200"]
index: "portal-metric-%{+yyyy.MM}"
# Optional protocol and basic auth credentials.
protocol: "http"
username: "elastic"
password: "changeme"
I add above configuration index: "portal-metric-%{+yyyy.MM}" and create index pattern portal-metric-* in kibana, this pattern has only about 100 fields.
while if I remove index: "portal-metric-%{+yyyy.MM}" to use default index name like metricbeat-%{+yyyy.MM.dd} it will has about 757 fields.
I don't know why. and I also tried to set template while use customized index name, it's not work either