# What is the best way of visualizing SonarQube analysis from Elasticsearch using Kibana?

**URL:** <https://discuss.elastic.co/t/what-is-the-best-way-of-visualizing-sonarqube-analysis-from-elasticsearch-using-kibana/192606>\
**Category:** Elasticsearch\
**Created:** [July 29, 2019, 6:37am UTC](https://discuss.elastic.co/t/what-is-the-best-way-of-visualizing-sonarqube-analysis-from-elasticsearch-using-kibana/192606 "2019-07-29T06:37:43Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![berko](https://avatars.discourse-cdn.com/v4/letter/b/5daacb/32.png) [@berko](https://discuss.elastic.co/u/berko)\
**Post date:** [July 29, 2019, 6:37am UTC](https://discuss.elastic.co/t/what-is-the-best-way-of-visualizing-sonarqube-analysis-from-elasticsearch-using-kibana/192606/1 "2019-07-29T06:37:44Z")

</div>

Hi, I'm trying to visualize SonarQube analysis results. However, I couldn't figure out which configurations to follow.

SonarQube version is 7.9

I found this [ELK + SonarQube](https://discuss.elastic.co/t/elk-sonarqube/127732) discussion but couldn't manage to do it.

Should I use the internal Elasticsearch in SonarQube? Or an external one?

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [August 12, 2019, 9:02am UTC](https://discuss.elastic.co/t/what-is-the-best-way-of-visualizing-sonarqube-analysis-from-elasticsearch-using-kibana/192606/2 "2019-08-12T09:02:11Z")

</div>

What did you try so far?  
Unless Elasticsearch internal is totally blocked only for SonarQube, you should be able to connect a Kibana to it, no?

---

<div class="post-metadata">

**Author:** ![berko](https://avatars.discourse-cdn.com/v4/letter/b/5daacb/32.png) [@berko](https://discuss.elastic.co/u/berko)\
**Post date:** [August 21, 2019, 8:24am UTC](https://discuss.elastic.co/t/what-is-the-best-way-of-visualizing-sonarqube-analysis-from-elasticsearch-using-kibana/192606/3 "2019-08-21T08:24:08Z")

</div>

Even after I trying to connect with the exact release version of Kibana can't manage to connect internal Elasticsearch.

I think internal Elasticsearch of SonarQube is a complete black-box, can't reachable from outside of SonarQube.

Now I working on creating a workflow which is independent of SonarQube's Elasticsearch for extracting analyzed data from external DB with Logstash + Elasticsearch and then to visualize with Kibana.

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [August 21, 2019, 12:56pm UTC](https://discuss.elastic.co/t/what-is-the-best-way-of-visualizing-sonarqube-analysis-from-elasticsearch-using-kibana/192606/4 "2019-08-21T12:56:16Z")

</div>

I thought it was possible to tell sonarqube to use an external elasticsearch service. It's not?

Anyway did you try to connect to elasticsearch service from another machine or from the same machine.  
My guess is that sonarqube only exposes elasticsearch to localhost (default elasticsearch configuration).

---

<div class="post-metadata">

**Author:** ![berko](https://avatars.discourse-cdn.com/v4/letter/b/5daacb/32.png) [@berko](https://discuss.elastic.co/u/berko)\
**Post date:** [August 21, 2019, 2:29pm UTC](https://discuss.elastic.co/t/what-is-the-best-way-of-visualizing-sonarqube-analysis-from-elasticsearch-using-kibana/192606/5 "2019-08-21T14:29:52Z")

</div>

I found a clue from the world's oldest SonarQube documentation.

Change the property below in sonar.properties config file to which port you want to reach to internal Elasticsearch.

#sonar.search.httpPort=-1

---

<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:** [September 18, 2019, 2:38pm UTC](https://discuss.elastic.co/t/what-is-the-best-way-of-visualizing-sonarqube-analysis-from-elasticsearch-using-kibana/192606/6 "2019-09-18T14:38:32Z")

</div>

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