I am actually wondering the same thing. Is there a way to query ES from 
within a Kibana dashboard script in order to make decisions on how to 
layout our dashboard? I tried using the ElasticSearch-js API (copy and 
pasted the entire API into the dashboard script) but there's no way to use 
the asynchronous ES data calls from within the synchronous dashboard 
script. Any way around this?

Thanks,
Andre


On Thursday, June 26, 2014 12:27:16 PM UTC-6, Yongtao You wrote:
>
> Hi,
>
> I would like to create a "dynamic" dashboard similar to 
> ".../kibana/src/index.html#/dashboard/script/logstash.js". By dynamic I 
> mean I want to generate the dashboard based on a query result. For example, 
> I would like to query a field and find out how many unique values are there 
> in that field, and then draw a time-based line for each of those unique 
> values on my dashboard. What's the recommended way of query ES from within 
> a dashboard script? Any examples?
>
> Thanks.
> Yongtao
>

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/455d9812-3cab-4de5-8bc6-e5e05e31e09b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to