I'm planning to use Kibana to display the worst screens displayed by users.
I load the data from our transaction monitors in Elasticsearch using logstash.
For each transaction, I have the duration of it loaded.
I already have a visualization to display the total number of transactions for a given day, and the average duration for the same day.
But historically, we are following the performance of the screens, in order to identify the screens we have to optimize.
To do so, we are using an Excel workbook for the computation, who are quite complicated.
Frankly, I spent a few hours understanding the algorithm and porting it in Python.
Now I want to display the result of this python script in Kibana.
Is there a way to do so ? Loading the data back into Elasticsearch is not a good way to do it, because I want to be able to display the 20 worst screen for a given period (could be a day, could be a week or a month, it's up to the person who wants to display the datas)
So the script tooks two parameters : the start date and the end date.
Is there any way to call this script from Kibana and display the result in a table form ?
AFAIK, there is no possibility, Kibana is simply calling elasticsearch Rest API to restrieve the data.
I would suggest to implement the same logic in your logstash pipeline,you can use ruby filter and code your logic inside using ruby and save the data with your transactions into elasticsearch
May be if you describe what kind of metrics you are looking for we can help
There is muliple possibilities in Kibana (TSVB, Canevas, tranform, Vega ....)
because the number of times the screen is called is very important too. An high average with a low number of calls is not relevant because, well it's sad but we are not going to do anything for it.
This kind of more-complex calculation is frequently solved by Elasticsearch transforms. You can pre-aggregate your data into a separate index, and then visualize.
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.