Google Charts with data from Elasticsearch?

Let me preface this topic by saying that I'm a noob to Elasticsearch and
Google Charts.

I'm testing some visualizations utilizing Google Charts and up until this
point I've been using:
google.visualization.arrayToDataTable
to use some sample data.

My question is, how do I pull in data from an existing Elasticsearch
server? Any information (the more the better) that can be provided on this
would be appreciated immensely.

--
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 elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Have a look at scan and scroll: http://www.elasticsearch.org/guide/reference/api/search/search-type/

Is it what you are looking for?

--
David :wink:
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 1 avr. 2013 à 23:22, OffensivelyBad shawnroller10@gmail.com a écrit :

Let me preface this topic by saying that I'm a noob to Elasticsearch and Google Charts.

I'm testing some visualizations utilizing Google Charts and up until this point I've been using:
google.visualization.arrayToDataTable
to use some sample data.

My question is, how do I pull in data from an existing Elasticsearch server? Any information (the more the better) that can be provided on this would be appreciated immensely.

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 elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
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 elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Hi,

You want to lok at Dangle: http://www.fullscale.co/dangle/

Otis

ELASTICSEARCH Performance Monitoring - http://sematext.com/spm/index.html

On Monday, April 1, 2013 5:22:37 PM UTC-4, OffensivelyBad wrote:

Let me preface this topic by saying that I'm a noob to Elasticsearch and
Google Charts.

I'm testing some visualizations utilizing Google Charts and up until this
point I've been using:
google.visualization.arrayToDataTable
to use some sample data.

My question is, how do I pull in data from an existing Elasticsearch
server? Any information (the more the better) that can be provided on this
would be appreciated immensely.

--
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 elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

David, I'm not sure that link helps me with pulling data from Elasticsearch
into chart.

Otis, Dangle.js looks like a great tool, however the documentation is
fairly limited. I'm new to most of this and Google Charts seemed to make
things very simple and intuitive.

I see that Charts can pull in JSON documents for the data source, however
I'm wondering how I would run a query against Elasticsearch to retrieve a
document that would be used as the data source.

Also, it would be great if it had the capability to select the report
parameters (ex. date range for the Elasticsearch query) and then generate
the chart from the returned data.

On Monday, April 1, 2013 5:22:37 PM UTC-4, OffensivelyBad wrote:

Let me preface this topic by saying that I'm a noob to Elasticsearch and
Google Charts.

I'm testing some visualizations utilizing Google Charts and up until this
point I've been using:
google.visualization.arrayToDataTable
to use some sample data.

My question is, how do I pull in data from an existing Elasticsearch
server? Any information (the more the better) that can be provided on this
would be appreciated immensely.

--
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 elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Have a look at this blog series which will help explain how to marshall
data to/from elasticsearch using JavaScript.

http://www.fullscale.co/blog/2013/02/28/getting_started_with_elasticsearch_and_AngularJS_searching.html
http://www.fullscale.co/blog/2013/03/07/getting_started_with_elasticsearch_and-AngularJS_faceting.html
http://www.fullscale.co/blog/2013/03/20/getting_started_with_elasticsearch_and_AngularJS_d3.html

-Eric

On Tuesday, April 2, 2013 11:34:56 AM UTC-4, OffensivelyBad wrote:

David, I'm not sure that link helps me with pulling data from
Elasticsearch into chart.

Otis, Dangle.js looks like a great tool, however the documentation is
fairly limited. I'm new to most of this and Google Charts seemed to make
things very simple and intuitive.

I see that Charts can pull in JSON documents for the data source, however
I'm wondering how I would run a query against Elasticsearch to retrieve a
document that would be used as the data source.

Also, it would be great if it had the capability to select the report
parameters (ex. date range for the Elasticsearch query) and then generate
the chart from the returned data.

On Monday, April 1, 2013 5:22:37 PM UTC-4, OffensivelyBad wrote:

Let me preface this topic by saying that I'm a noob to Elasticsearch and
Google Charts.

I'm testing some visualizations utilizing Google Charts and up until this
point I've been using:
google.visualization.arrayToDataTable
to use some sample data.

My question is, how do I pull in data from an existing Elasticsearch
server? Any information (the more the better) that can be provided on this
would be appreciated immensely.

--
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 elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

The SegmentSpy pluginhttps://github.com/polyfractal/elasticsearch-segmentspyuses Google Charts to create bar charts, so you could take a look at the
source to see how things are working.

That said, I wouldn't recommend using Google Charts for anything except the
simplest visualizations. I quickly ran into limitations and had to perform
some quirky hacks to get things to work (can't easily do multiple bar
colors, stacked charts only use log scale for the bottom bar, etc).

Dangle + elastic.js is a lot more robust.

-Zach

On Monday, April 1, 2013 5:22:37 PM UTC-4, OffensivelyBad wrote:

Let me preface this topic by saying that I'm a noob to Elasticsearch and
Google Charts.

I'm testing some visualizations utilizing Google Charts and up until this
point I've been using:
google.visualization.arrayToDataTable
to use some sample data.

My question is, how do I pull in data from an existing Elasticsearch
server? Any information (the more the better) that can be provided on this
would be appreciated immensely.

--
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 elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.