# ElasticSearch Freeboard

**URL:** <https://discuss.elastic.co/t/elasticsearch-freeboard/125290>\
**Category:** Elasticsearch\
**Created:** [March 23, 2018, 1:40am UTC](https://discuss.elastic.co/t/elasticsearch-freeboard/125290 "2018-03-23T01:40:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dipali](https://avatars.discourse-cdn.com/v4/letter/d/bcef8e/32.png) [@Dipali](https://discuss.elastic.co/u/Dipali)\
**Post date:** [March 23, 2018, 1:40am UTC](https://discuss.elastic.co/t/elasticsearch-freeboard/125290/1 "2018-03-23T01:40:28Z")

</div>

I have this requirement, i was just trying to break it down.

I have API from elastic search, [http://localhost:9200/dummytest/\_search?pretty](http://localhost:9200/dummytest/_search?pretty) which gives the response like

{  
"took" : 0,  
"timed\_out" : false,  
"\_shards" : {  
"total" : 1,  
"successful" : 1,  
"skipped" : 0,  
"failed" : 0  
},  
"hits" : {  
"total" : 10,  
"max\_score" : 1.0,  
"hits" : [  
{  
"\_index" : "dummytest",  
"\_type" : "testusers",  
"\_id" : "1",  
"\_score" : 1.0,  
"\_source" : {  
"ndex" : 1,  
"firstnamename" : "KC",  
"lastname" : "Park"  
}  
},  
I am trying to integrate it with freeboard([freeboard.io](http://freeboard.io)) using plugin called jqPlot to generate Bar and pie chart.

Now I have a requirement to take first name from ES and check the status code in DB table and return the value on graph.

(for database call, i understand its going to be a server side requirement or something which we can't do using just JSON.)

I am not sure where to add this code for db whether in ES-head plugin or in freeboard.

Please suggest.

---

<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:** [April 20, 2018, 1:40am UTC](https://discuss.elastic.co/t/elasticsearch-freeboard/125290/2 "2018-04-20T01:40:29Z")

</div>

Closed on April 20, 2018, 1:40am UTC

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