# Get Results of individual jenkins job and create Dashboard

**URL:** https://discuss.elastic.co/t/get-results-of-individual-jenkins-job-and-create-dashboard/173205
**Category:** Elasticsearch
**Created:** [March 20, 2019, 6:31pm UTC](https://discuss.elastic.co/t/get-results-of-individual-jenkins-job-and-create-dashboard/173205 "2019-03-20T18:31:31Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![syedsfayaz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/syedsfayaz/32/46657_2.png) [@syedsfayaz](https://discuss.elastic.co/u/syedsfayaz)
#### Post date: [March 20, 2019, 6:31pm UTC](https://discuss.elastic.co/t/get-results-of-individual-jenkins-job-and-create-dashboard/173205/1 "2019-03-20T18:31:32Z")

</div>

HI

Thanks in advance. I am new to kibana and see it is possible to show time series data in kibana. I have a different requirement. I am trying to setup a dashboard for monitoring our software flow.  
The process looks like this.

```
for a product a workflow from dev to prod environment.
Product A
Jenkins1
job1 --> job2 --> job3 --> job4

product B 
Jenkins2
job5 -- >job6 --> job7 --> job8

```

I want to show this results of success or failure of each jenkins job and details like build number and environment name on kibana dashboard.  
Jenkins has an api url for each job from where we can pull data in Json or xml format. Is there a way to get data and display on dashboard in kibana.

---

<div class="post-metadata">

### Author: ![Yogesh\_Gaikwad](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yogesh_gaikwad/32/27025_2.png) [@Yogesh\_Gaikwad](https://discuss.elastic.co/u/Yogesh_Gaikwad)
#### Post date: [March 20, 2019, 11:04pm UTC](https://discuss.elastic.co/t/get-results-of-individual-jenkins-job-and-create-dashboard/173205/2 "2019-03-20T23:04:41Z")

</div>

Hi @syedsfayaz,

Yes, you can create Dashboards in Kibana on the data. First, you need to index the Jenkins data into Elasticsearch which is then queried by Kibana to create Visualizations and Dashboard.

You can use logstash to get the data into ES or index it using ingest node.  
There exists a community plugin which might help you on your quest. [https://wiki.jenkins.io/display/JENKINS/Logstash+Plugin](https://wiki.jenkins.io/display/JENKINS/Logstash+Plugin)

Hope this helps.

Regards,  
Yogesh Gaikwad

---

<div class="post-metadata">

### Author: ![syedsfayaz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/syedsfayaz/32/46657_2.png) [@syedsfayaz](https://discuss.elastic.co/u/syedsfayaz)
#### Post date: [March 21, 2019, 11:26pm UTC](https://discuss.elastic.co/t/get-results-of-individual-jenkins-job-and-create-dashboard/173205/3 "2019-03-21T23:26:35Z")

</div>

@Yogesh_Gaikwad , This plugin will only allow to send post build notifications. But what I need is to also show when the build is still in progress. Is there a way I can write a python or some script to pull data from jenkins API and send it to elastic search?. How can I send data to elastic search from a script? . Or Is there any other way I can send data.

---

<div class="post-metadata">

### Author: ![Yogesh\_Gaikwad](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yogesh_gaikwad/32/27025_2.png) [@Yogesh\_Gaikwad](https://discuss.elastic.co/u/Yogesh_Gaikwad)
#### Post date: [March 22, 2019, 3:03am UTC](https://discuss.elastic.co/t/get-results-of-individual-jenkins-job-and-create-dashboard/173205/4 "2019-03-22T03:03:29Z")

</div>

Hi @syedsfayaz,

Yes, you can. There are multiple ways that you can send data to Elasticsearch.

- Logstash (Pull and Push to index data into Elasticsearch)  
[https://www.elastic.co/guide/en/logstash/current/introduction.html](https://www.elastic.co/guide/en/logstash/current/introduction.html)  
[https://www.elastic.co/blog/write-logstash-input-plugin](https://www.elastic.co/blog/write-logstash-input-plugin)
- Elasticsearch Ingest node (Note: for this, you would need to write your own process which sends data to ingest node, **Ingest node cannot pull data**  
[https://www.elastic.co/guide/en/elasticsearch/reference/master/ingest.html](https://www.elastic.co/guide/en/elasticsearch/reference/master/ingest.html)

If you are writing a script to pull data from Jenkins API then I would suggest using Elasticsearch ingest node and index the data.

Hope this helps.

Thanks and Regards,  
Yogesh Gaikwad

---

<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 19, 2019, 3:03am UTC](https://discuss.elastic.co/t/get-results-of-individual-jenkins-job-and-create-dashboard/173205/5 "2019-04-19T03:03:30Z")

</div>

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