I started working on ELK from last one month and i am a new born baby to this ELK world but its really interesting.
In my organization, we receive lot of statistics information (For ex: server request information) which we convert them into Elastic Common Schema compliant JSON format and push into ElasticSearch node via REST adapter and then we visualize the same in Kibana. Currently we have developed one visualization graph in Kibana and in future we will be having more visualization and might create a new dashboard for the same.
So we thought of having Functional testing from Kibana side to test this visualization. For the same I did little investigation from Kibana documentation and the doc says we can achieve through FunctionalTestRunner.
Questions :
Does this FunctionalTestRunner tool can support custom Kibana Functional testing for our custom visualization ?
If Yes, this FunctionalTestRunner plugin is part of Kibana release ? Because currently i am not able see under Kibana pacakage.
If Yes, can you please share more guidance or directions on the same (like what is the starting point, how we can achieve, any more docs to look, etc..) ?
Is there any alternative approach available for function testing of custom Kibana visualizations ?
Does this FunctionalTestRunner tool can support custom Kibana Functional testing for our custom visualization ?
Yes, the FunctionalTestRunner ("FTR") is designed to support testing custom plugins, so long as your plugin lives inside Kibana's plugins directory, as the docs mention.
If Yes, this FunctionalTestRunner plugin is part of Kibana release ? Because currently i am not able see under Kibana pacakage.
No, the FTR is not distributed with the release. It is only available within the Kibana repository itself, so it's used only during development
Is there any alternative approach available for function testing of custom Kibana visualizations ?
If the FTR doesn't suit your needs, and you wish to test your plugin on a "live" instance, then you could setup your own test suite using Selenium for example, to control Kibana and verify that your plugin/visualization is functioning correctly.
Just to add that we are not adding any custom plugins, we intend to use the graphs that are released as part of Kibana core release and populate them with the data that we have on Elasticsearch.
Let's say that there is a bunch of server statistics that we push to elastic (as Karthik said), which looks like the below.
Assume that we are interested in displaying a graph using existing Kibana visualizations which will show a summary of all the servers and its status/time taken (as a simple pie chart).
In your opinion, what is the best way to test it?
And is there a way, at all to test this?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.