# Evaluating Kibana for reporting and visualization

**URL:** <https://talk.openmrs.org/t/evaluating-kibana-for-reporting-and-visualization/10188>\
**Category:** Development\
**Created:** [February 21, 2017, 12:50pm UTC](https://talk.openmrs.org/t/evaluating-kibana-for-reporting-and-visualization/10188 "2017-02-21T12:50:39Z")\
**Posts on this page:** 15\
**Page:** 3

<div class="post-metadata">

**Author:** ![darius](https://talk.openmrs.org/user_avatar/talk.openmrs.org/darius/32/8082_2.png) [@darius](https://talk.openmrs.org/u/darius)\
**Post date:** [March 3, 2017, 2:34am UTC](https://talk.openmrs.org/t/evaluating-kibana-for-reporting-and-visualization/10188/41 "2017-03-03T02:34:30Z")

</div>

> [@lluismf](#):
>
> The map is as follows (it doesn’t work properly, all circles should be of equal size)

Before you spend forever debugging, check if maybe there missing person\_address\_ids so they aren’t actually 100 each. 🙂

---

<div class="post-metadata">

**Author:** ![lluismf](https://talk.openmrs.org/user_avatar/talk.openmrs.org/lluismf/32/770_2.png) [@lluismf](https://talk.openmrs.org/u/lluismf)\
**Post date:** [March 3, 2017, 11:34am UTC](https://talk.openmrs.org/t/evaluating-kibana-for-reporting-and-visualization/10188/42 "2017-03-03T11:34:12Z")

</div>

> [@darius](#):
>
> Before you spend forever debugging, check if maybe there missing person\_address\_ids so they aren’t actually 100 each. 🙂

I have no intention of debugging, Kibana is an Angular app and I have no idea. I can create an issue though. Also Barcelona appears to be in the sea, not very precise 🙂

I will try this one too [Home · snuids/Elastic-5.0-Country-Map-Visualizer Wiki · GitHub](https://github.com/snuids/Elastic-5.0-Country-Map-Visualizer/wiki)

---

<div class="post-metadata">

**Author:** ![raff](https://talk.openmrs.org/user_avatar/talk.openmrs.org/raff/32/11894_2.png) [@raff](https://talk.openmrs.org/u/raff)\
**Post date:** [March 7, 2017, 3:09pm UTC](https://talk.openmrs.org/t/evaluating-kibana-for-reporting-and-visualization/10188/43 "2017-03-07T15:09:44Z")

</div>

So @lluismf, I’d like to setup a public demo of the charts you did so far. Is [https://github.com/lluismf/openmrs-kibana](https://github.com/lluismf/openmrs-kibana) up to date with the current state of your work?

---

<div class="post-metadata">

**Author:** ![lluismf](https://talk.openmrs.org/user_avatar/talk.openmrs.org/lluismf/32/770_2.png) [@lluismf](https://talk.openmrs.org/u/lluismf)\
**Post date:** [March 7, 2017, 3:20pm UTC](https://talk.openmrs.org/t/evaluating-kibana-for-reporting-and-visualization/10188/44 "2017-03-07T15:20:08Z")

</div>

No it lacks the map, but will update it tonight. If you want more charts, just ask 😁

---

<div class="post-metadata">

**Author:** ![raff](https://talk.openmrs.org/user_avatar/talk.openmrs.org/raff/32/11894_2.png) [@raff](https://talk.openmrs.org/u/raff)\
**Post date:** [March 7, 2017, 3:49pm UTC](https://talk.openmrs.org/t/evaluating-kibana-for-reporting-and-visualization/10188/45 "2017-03-07T15:49:26Z")

</div>

@janflowers, @pascal, any chance you could suggest more things to report on to keep @lluismf busy and which you would benefit from? 🙂

---

<div class="post-metadata">

**Author:** ![raff](https://talk.openmrs.org/user_avatar/talk.openmrs.org/raff/32/11894_2.png) [@raff](https://talk.openmrs.org/u/raff)\
**Post date:** [March 15, 2017, 12:30pm UTC](https://talk.openmrs.org/t/evaluating-kibana-for-reporting-and-visualization/10188/46 "2017-03-15T12:30:26Z")

</div>

Bringing this back to your attention I’d like to introduce and welcome @tomhealy, who will be contributing as a PM for this project in his free time. I asked him to try to reach out to implementations to better understand needs. Please stay tuned for any follow-ups from him, thanks!

---

<div class="post-metadata">

**Author:** ![janflowers](https://talk.openmrs.org/user_avatar/talk.openmrs.org/janflowers/32/208_2.png) [@janflowers](https://talk.openmrs.org/u/janflowers)\
**Post date:** [March 15, 2017, 6:52pm UTC](https://talk.openmrs.org/t/evaluating-kibana-for-reporting-and-visualization/10188/47 "2017-03-15T18:52:34Z")

</div>

Sorry @raff for the delay - been pulled into a few other things the last few days. I’ll take a look at what our team needs and post some ideas here. Is there a place I can see what @lluismf already has created? I wouldn’t want to suggest things he has already made.

@valvijo Can you take a look here?

---

<div class="post-metadata">

**Author:** ![raff](https://talk.openmrs.org/user_avatar/talk.openmrs.org/raff/32/11894_2.png) [@raff](https://talk.openmrs.org/u/raff)\
**Post date:** [March 17, 2017, 2:52pm UTC](https://talk.openmrs.org/t/evaluating-kibana-for-reporting-and-visualization/10188/48 "2017-03-17T14:52:06Z")

</div>

@janflowers, I’m working on migrating the work done by Luis to Docker in order to set it up on a demo server. I was hoping to get it done today, but it’s unlikely since I’m only halfway through. I’ll complete it on Monday.

---

<div class="post-metadata">

**Author:** ![janflowers](https://talk.openmrs.org/user_avatar/talk.openmrs.org/janflowers/32/208_2.png) [@janflowers](https://talk.openmrs.org/u/janflowers)\
**Post date:** [March 17, 2017, 5:02pm UTC](https://talk.openmrs.org/t/evaluating-kibana-for-reporting-and-visualization/10188/49 "2017-03-17T17:02:34Z")

</div>

Thanks @raff! @valvijo has put together some ideas for you and will post them here to discuss.

---

<div class="post-metadata">

**Author:** ![raff](https://talk.openmrs.org/user_avatar/talk.openmrs.org/raff/32/11894_2.png) [@raff](https://talk.openmrs.org/u/raff)\
**Post date:** [March 30, 2017, 3:19pm UTC](https://talk.openmrs.org/t/evaluating-kibana-for-reporting-and-visualization/10188/50 "2017-03-30T15:19:09Z")

</div>

@janflowers and others, the demo is ready at [https://goo.gl/6Qa0Dg](https://goo.gl/6Qa0Dg) (I’m sorry it took longer than promised).

A few tips:

- Click the clock in the top-right corner to change the time range you are interested in. It will adjust most of the charts to only include data from the selected period.
- Click on the “Seizure” on the pie chart to drill down the results for all other charts to limit to only that diagnosis.
- Click on any dot on the “Count of patients admitted by month” chart to drill down the dashboard results to that month.
- You can create more charts and metrics from the Visualize tab on the left. They can be then added to the dashboard by clicking the “Add” link in the top menu on the Dashboard screen.

Note the demo is viewable & editable to the whole world so you may see others experimenting with it at the same time.

The link I provided above should however always display the snapshot of the dashboard, which I took.

---

<div class="post-metadata">

**Author:** ![raff](https://talk.openmrs.org/user_avatar/talk.openmrs.org/raff/32/11894_2.png) [@raff](https://talk.openmrs.org/u/raff)\
**Post date:** [March 31, 2017, 11:38am UTC](https://talk.openmrs.org/t/evaluating-kibana-for-reporting-and-visualization/10188/51 "2017-03-31T11:38:12Z")

</div>

FYI, I’ve started generating a database with 100,000 patients, which should result in about 4 million observations to test how well Kibana performs with that much data.

---

<div class="post-metadata">

**Author:** ![darius](https://talk.openmrs.org/user_avatar/talk.openmrs.org/darius/32/8082_2.png) [@darius](https://talk.openmrs.org/u/darius)\
**Post date:** [April 6, 2017, 11:09pm UTC](https://talk.openmrs.org/t/evaluating-kibana-for-reporting-and-visualization/10188/52 "2017-04-06T23:09:32Z")

</div>

> [@raff](#):
>
> Click on the “Seizure” on the pie chart to drill down the results for all other charts to limit to only that diagnosis.

When I click on Seizure most of the other charts got to 0 or no results. (E.g. Total count of patients becomes 0.)

---

<div class="post-metadata">

**Author:** ![raff](https://talk.openmrs.org/user_avatar/talk.openmrs.org/raff/32/11894_2.png) [@raff](https://talk.openmrs.org/u/raff)\
**Post date:** [April 7, 2017, 10:02am UTC](https://talk.openmrs.org/t/evaluating-kibana-for-reporting-and-visualization/10188/53 "2017-04-07T10:02:43Z")

</div>

@darius, strange I thought it used to work, but I think I know how to fix it.

The huge demo db is ready so some time next week I’ll fix that issue when updating the demo to use the huge dataset.

---

<div class="post-metadata">

**Author:** ![raff](https://talk.openmrs.org/user_avatar/talk.openmrs.org/raff/32/11894_2.png) [@raff](https://talk.openmrs.org/u/raff)\
**Post date:** [April 7, 2017, 3:19pm UTC](https://talk.openmrs.org/t/evaluating-kibana-for-reporting-and-visualization/10188/54 "2017-04-07T15:19:44Z")

</div>

FYI, I’ve already started to load the huge demo db into Kibana. It means Kibana results will be inaccurate until it all completes. I’m measuring the time it will take to load 4 million obs into Kibana.

If you are curious, there’s an instance of refapp at [http://devtest04.openmrs.org:8081/openmrs/coreapps/findpatient/findPatient.page?app=coreapps.findPatient](http://devtest04.openmrs.org:8081/openmrs/coreapps/findpatient/findPatient.page?app=coreapps.findPatient), which is running on that huge db. I wonder, if there are any implementations of that size running Reference Application. The patient search, which I linked, is extremely slow. It would be good to prioritize work on performance tests and db tuning of OpenMRS REST and Java APIs.

---

<div class="post-metadata">

**Author:** ![lluismf](https://talk.openmrs.org/user_avatar/talk.openmrs.org/lluismf/32/770_2.png) [@lluismf](https://talk.openmrs.org/u/lluismf)\
**Post date:** [April 7, 2017, 3:31pm UTC](https://talk.openmrs.org/t/evaluating-kibana-for-reporting-and-visualization/10188/55 "2017-04-07T15:31:48Z")

</div>

> [@raff](#):
>
> FYI, I’ve already started to load the huge demo db into Kibana. It means Kibana results will be inaccurate until it all completes. I’m measuring the time it will take to load 4 million obs into Kibana.

If MySQL and Elastic live in the same machine should be fast (no network latency).

> [@raff](#):
>
> The patient search, which I linked, is extremely slow.

Yes, 5 seconds to locate “adams” is very slow. Does it use MySQL or Elastic for the search?

[Previous page](https://talk.openmrs.org/t/evaluating-kibana-for-reporting-and-visualization/10188.md?page=2)
