2

I have installed metric-beat , but unable to load he kibana dashboard for mongodb.

i am getting below error, [10.0.1.1:9300][indices:data/read/search[phase/query]] Caused by: java.lang.IllegalArgumentException: Fielddata is disabled on text fields by default. Set fielddata=true on [service.address] in order to load fielddata in memory by uninverting the inverted index. Note that this can however use significant memory. Alternatively use a keyword field instead. at org.elasticsearch.index.mapper.TextFieldMapper$TextFieldType.fielddataBuilder(TextFieldMapper.java:759) ~[elasticsearch-7.5.0.jar:7.5.0]

in client its showing "Exiting: resource 'metricbeat-7.5.0' exists, but it is not an alias"

Chandu
  • 21
  • 3
  • How did you install metricbeat? Did you follow all the steps in the [documentation](https://www.elastic.co/guide/en/beats/metricbeat/current/metricbeat-getting-started.html), specifically steps 3 and 4? – leandrojmp Apr 16 '20 at 14:52
  • Did you take a look at this: https://discuss.elastic.co/t/exiting-resource-metricbeat-7-4-2-exists-but-it-is-not-an-alias/206685/2 – st_rt_dl_8 Apr 17 '20 at 04:14

1 Answers1

0

Run:

curl -X DELETE localhost:9200/metricbeat-7.5.0

Then try to load the dashboards again.

AAber
  • 1,562
  • 10
  • 14