# Visualisation request from script

**URL:** <https://discuss.elastic.co/t/visualisation-request-from-script/178986>\
**Category:** Kibana\
**Created:** [April 29, 2019, 8:19pm UTC](https://discuss.elastic.co/t/visualisation-request-from-script/178986 "2019-04-29T20:19:00Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Moxyze](https://avatars.discourse-cdn.com/v4/letter/m/ed8c4c/32.png) [@Moxyze](https://discuss.elastic.co/u/Moxyze)\
**Post date:** [April 29, 2019, 8:19pm UTC](https://discuss.elastic.co/t/visualisation-request-from-script/178986/1 "2019-04-29T20:19:00Z")

</div>

Hello,

I'm currently working on a project where I'll need to simplify the Kibana interface.  
To this end, me and my colleagues are considering using drop down boxes (Adding filters is too hard for some people, it seems ^^), and from the results, send a request to visualize the intended chart.

Example:  
User clicks a box, selects "room A" from a list of rooms  
User clicks another box, selects "free" from a list of states.  
User selects two dates from two other boxes

I want to, using these parameters, display a graph spanning both dates, that oscillates between 0 (false) when the room isn't free and 1 (true) when it IS free.

Would that be possible?  
If yes, are there any types of plugins or extensions that could help me?  
If not, is that even possible in Kibana? Is another platform or technology more appropriate?

Thanks for any help you could bring!

Cordially,  
Mox

---

<div class="post-metadata">

**Author:** ![Moxyze](https://avatars.discourse-cdn.com/v4/letter/m/ed8c4c/32.png) [@Moxyze](https://discuss.elastic.co/u/Moxyze)\
**Post date:** [April 30, 2019, 10:05am UTC](https://discuss.elastic.co/t/visualisation-request-from-script/178986/2 "2019-04-30T10:05:03Z")

</div>

If anyone has any clues, I'd be so thankful 🙂  
Even discussing this issue with people could bring forward solutions, so I really am open to anything you could say!

---

<div class="post-metadata">

**Author:** ![Catherine\_Liu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/catherine_liu/32/34294_2.png) [@Catherine\_Liu](https://discuss.elastic.co/u/Catherine_Liu)\
**Post date:** [April 30, 2019, 7:41pm UTC](https://discuss.elastic.co/t/visualisation-request-from-script/178986/3 "2019-04-30T19:41:30Z")

</div>

@Moxyze Have you experimented with Canvas? You could definitely achieve a view like that in a Canvas workpad using the plot, dropdown filter, and time filter elements.

---

<div class="post-metadata">

**Author:** ![Moxyze](https://avatars.discourse-cdn.com/v4/letter/m/ed8c4c/32.png) [@Moxyze](https://discuss.elastic.co/u/Moxyze)\
**Post date:** [May 1, 2019, 9:25am UTC](https://discuss.elastic.co/t/visualisation-request-from-script/178986/4 "2019-05-01T09:25:49Z")

</div>

It seems like it could work, but when I last checked it, the "import data" didn't seem to fit my needs:  
Since we're working with a truckload of data, we imported it using the BULK api, in a NDJSON format.  
It didn't seem like Canvas accepted NDJSON format though.

I'm guessing my question is "Do we need to split that NDJSON into several JSON files for it to work ? Or are there any better solutions not involving as many changes ?"

EDIT: Please disregard this whole message.  
It seems I completely misunderstood how to use the Canvas feature. I'll read some more documentation before asking anything stupid like that.

---

<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 30, 2019, 12:07pm UTC](https://discuss.elastic.co/t/visualisation-request-from-script/178986/6 "2019-05-30T12:07:22Z")

</div>

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