Unable to integrate new beat metrics with Kibana

I am having trouble finding documentation on the process of getting the metrics reported by my new beat into Kibana. The beat was created based on metric beat as described here.

The process created a starting module and metricset. I chose to create a beat based on metricbeat because the solution I need must collect metrics from a variety of system components, each having a different set of metrics depending on the audience (developer, ops, cluster monitoring, etc.)

I have it all working and reporting metrics to Elasticsearch. The next step is integrating and pulling in these metrics into Kibana. The documentation says that a make update will build a kibana index for the fields defined in fields.yml. I cannot get that process to work. I keep getting the following error:

/home/rowlke01/go/src/github.com/xxxxxxx/mybeat/build/python-env/bin/python ./vendor/github.com/elastic/beats/script/modules_collector.py --beat mybeat --docs_branch=
cp: cannot stat 'module/*/_meta/kibana/*': No such file or directory
vendor/github.com/elastic/beats/metricbeat/Makefile:19: recipe for target 'kibana' failed
make: [kibana] Error 1 (ignored)

Perhaps the process for generating this information is different because it's based on metricbeat? is there additional information needed in the fields.yml file to control this process?

Thanks.

Hi! By looking at the error message(not very clear), it failed because there is no dashboards under 'module//_meta/kibana/'. The second part of the error message can be ignored seems like. If you have dashboards, you can run yourbeat --setup.

Kaiyan,
Thank you for the reply. I am a bit confused. I was under the impression that the build process would use the fields defined in fields.yml to generate kibana files for me (I am new to ELK, but learning). If this is not the case, can you point me to documentation on how to write the dashboards I need to place in the kibana directory?

Thanks.

Yes, fields.yml will setup the index template for you. You also should be able to see your data/metrics from Discover session in Kibana. For creating your own dashboard, https://www.elastic.co/guide/en/kibana/current/tutorial-build-dashboard.html might help!

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