I want to create the dashboards in my application showing the elastic cluster data and metrics as it is shown in Kibana app monitoring. For getting most of the data I can use cluster health apis. But I not getting much on how to get data over some time period. Like if I want to show search rate or indexing rate for last 7 days, how to get all this data?
Hi Warkolm, I have a elasticsearch setup in which i am storing the various logs by creating various indices. Now i want to create dashboards which shows the various details like docs count, docs size, indexing rate, searching rate for a particular index. So for getting this data we have apis like GET /<indexname>/_stats but the problem is it gives only current data. I want to show these data for any time period.
Hi ylasri, yeah metricbeat can help with this, but i am not getting all data from metricbeat like in GET /<indexname>/_stats we get the data like indexing.index_total, indexing.index_time_in_millis, etc. So in metricbeat i am not getting such kind of data.
I want to provide such functionality in my application. I am building logging system for some users so decided to have this monitoring functionality as well on my app also.
If the x-pack monitoring gets the data, you can get it from the .monitoring* indexes but they are huge in terms of the number of fields (and nesting), though mostly self-documenting.
We are digging into these also for our product - basically you pick the metrics you want and pull them for the time period you want, but watch the scope as some are cluster level, some node level, etc. as I recall (I've not dug too deep yet; maybe will blog on it soon).
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.