# Kibana use case

**URL:** <https://discuss.elastic.co/t/kibana-use-case/229865>\
**Category:** Kibana\
**Created:** [April 26, 2020, 7:29pm UTC](https://discuss.elastic.co/t/kibana-use-case/229865 "2020-04-26T19:29:43Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![JavaDeveloper](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/javadeveloper/32/67144_2.png) [@JavaDeveloper](https://discuss.elastic.co/u/JavaDeveloper)\
**Post date:** [April 26, 2020, 7:29pm UTC](https://discuss.elastic.co/t/kibana-use-case/229865/1 "2020-04-26T19:29:43Z")

</div>

Is it possible to do the following through the kibana?

I want to create an IoT dashboard.  
The people who use my dashboard are simple users and don't have the ability to work with different filters to form a chart or table from raw or processed data. I want to :

1. Having different charts so that when the user opens the kibana page, he/she will see the charts. This charts must be created from the Elasticsearch data in the back-end (similar to template engines in java) and user does not have to create them from the Elasticsearch data.

2. Control my IoT sensors (for example turn on/off) from the kibana dashboard. so I need a websocket connection from the kibana dashboard to my own server.

So, do you think the kibana is suitable for my use case or not?  
If the answer is yes, how can I do it?  
If the answer is No, can I use the Elasticsearch in my own java code to load data (create chart/tables) in my own dashboard?

---

<div class="post-metadata">

**Author:** ![thomasneirynck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thomasneirynck/32/23313_2.png) [@thomasneirynck](https://discuss.elastic.co/u/thomasneirynck)\
**Post date:** [April 27, 2020, 7:16pm UTC](https://discuss.elastic.co/t/kibana-use-case/229865/2 "2020-04-27T19:16:23Z")

</div>

hi @JavaDeveloper

I think for (1), yes, this is possible.

It depends what you mean with (2):

- show/hide data from one or more sensors: this _is_ possible. The user can then create to show/hide data from particular sensors [https://www.elastic.co/guide/en/kibana/current/for-dashboard.html](https://www.elastic.co/guide/en/kibana/current/for-dashboard.html)
- actually turn on/off data-collection: this is _not_ possible out of the box. Kibana is a monitoring tool first and foremost out of the box, and does not provide this bidirectional control. What you could consider is create a custom website which has the control-toggles to tun on/off sensors and embed a dashboard: [https://www.elastic.co/guide/en/kibana/current/sharing-dashboards.html](https://www.elastic.co/guide/en/kibana/current/sharing-dashboards.html)

---

<div class="post-metadata">

**Author:** ![JavaDeveloper](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/javadeveloper/32/67144_2.png) [@JavaDeveloper](https://discuss.elastic.co/u/JavaDeveloper)\
**Post date:** [April 28, 2020, 6:53am UTC](https://discuss.elastic.co/t/kibana-use-case/229865/3 "2020-04-28T06:53:49Z")

</div>

Hi @thomasneirynck  
Thank you for response.  
(1). How can I do it?Please suppose I have a dashboard, so that when user open main page, he/she will see multiple ready chart/tables (I'm using the Thymeleaf server-side template engine, so data passed to html/js files are rendered in the server side).  
I think its not possible by the kibana out of the box, and I need to use elasticsearch data manually and create my own html/js files.

---

<div class="post-metadata">

**Author:** ![thomasneirynck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thomasneirynck/32/23313_2.png) [@thomasneirynck](https://discuss.elastic.co/u/thomasneirynck)\
**Post date:** [April 28, 2020, 1:42pm UTC](https://discuss.elastic.co/t/kibana-use-case/229865/4 "2020-04-28T13:42:41Z")

</div>

wrt Kibana dashboards, I would start with [https://www.elastic.co/guide/en/kibana/current/dashboard.html](https://www.elastic.co/guide/en/kibana/current/dashboard.html)

This will walk you through how to create a custom dashboard and visualizations inside Kibana.

I am not sure about the Thymeleaf part. But if you Kibana can be setup for sharing dashboards as an html-iframe, so you can plug it into your existing pages: [https://www.elastic.co/guide/en/kibana/current/sharing-dashboards.html](https://www.elastic.co/guide/en/kibana/current/sharing-dashboards.html)

---

<div class="post-metadata">

**Author:** ![JavaDeveloper](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/javadeveloper/32/67144_2.png) [@JavaDeveloper](https://discuss.elastic.co/u/JavaDeveloper)\
**Post date:** [April 29, 2020, 6:33am UTC](https://discuss.elastic.co/t/kibana-use-case/229865/5 "2020-04-29T06:33:46Z")

</div>

Thank you so much. I will try it.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [May 27, 2020, 6:33am UTC](https://discuss.elastic.co/t/kibana-use-case/229865/6 "2020-05-27T06:33:46Z")

</div>

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