# Kibana configuration to automatically add visualization and add it into the dashboard for a microservice

**URL:** <https://discuss.elastic.co/t/kibana-configuration-to-automatically-add-visualization-and-add-it-into-the-dashboard-for-a-microservice/296928>\
**Category:** Kibana\
**Created:** [February 11, 2022, 4:03am UTC](https://discuss.elastic.co/t/kibana-configuration-to-automatically-add-visualization-and-add-it-into-the-dashboard-for-a-microservice/296928 "2022-02-11T04:03:59Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![thujitha\_p](https://avatars.discourse-cdn.com/v4/letter/t/7bcc69/32.png) [@thujitha\_p](https://discuss.elastic.co/u/thujitha_p)\
**Post date:** [February 11, 2022, 4:03am UTC](https://discuss.elastic.co/t/kibana-configuration-to-automatically-add-visualization-and-add-it-into-the-dashboard-for-a-microservice/296928/1 "2022-02-11T04:03:59Z")

</div>

Hi there,

I'm using kibana version `7.17.0`.

I have created couple of microservices and set up them to send logs to kibana using logstash and Elasticsearch. Then I have created visualization for each microservice to view ratio of success, error requests. I have done it manually for each microservice and added them to dashboard.

Think, now I'm creating a new microservice and add to kibana. I want to see the ratio of success, error ratio in the dashboard.

Do I need to do this manually, or is there any way to do it automatically or with some configs when I create a new microservice?

Thank you.

---

<div class="post-metadata">

**Author:** ![Tomo\_M](https://avatars.discourse-cdn.com/v4/letter/t/848f3c/32.png) [@Tomo\_M](https://discuss.elastic.co/u/Tomo_M)\
**Post date:** [February 11, 2022, 4:09am UTC](https://discuss.elastic.co/t/kibana-configuration-to-automatically-add-visualization-and-add-it-into-the-dashboard-for-a-microservice/296928/2 "2022-02-11T04:09:10Z")

</div>

Though I have not used, Kibana has [Create saved objects API](https://www.elastic.co/guide/en/kibana/current/saved-objects-api-create.html) and the document warns:

> When you create saved objects, attributes are not validated, which allows you to pass arbitrary and ill-formed data into the API that can break Kibana. Make sure any data that you send to the API is properly formed.

---

<div class="post-metadata">

**Author:** ![thujitha\_p](https://avatars.discourse-cdn.com/v4/letter/t/7bcc69/32.png) [@thujitha\_p](https://discuss.elastic.co/u/thujitha_p)\
**Post date:** [February 11, 2022, 4:16am UTC](https://discuss.elastic.co/t/kibana-configuration-to-automatically-add-visualization-and-add-it-into-the-dashboard-for-a-microservice/296928/3 "2022-02-11T04:16:51Z")

</div>

@Tomo_M

Is kibana support to automatically create visualizations and add to dashboard with some configs?  
Think I want to add multiple microservices.

 ![Screenshot from 2022-02-11 09-48-32](https://us1.discourse-cdn.com/elastic/original/3X/b/6/b6d9c0aed2be763e30deed75831adade8deadb3c.png)

---

<div class="post-metadata">

**Author:** ![Tomo\_M](https://avatars.discourse-cdn.com/v4/letter/t/848f3c/32.png) [@Tomo\_M](https://discuss.elastic.co/u/Tomo_M)\
**Post date:** [February 11, 2022, 4:29am UTC](https://discuss.elastic.co/t/kibana-configuration-to-automatically-add-visualization-and-add-it-into-the-dashboard-for-a-microservice/296928/4 "2022-02-11T04:29:12Z")

</div>

I can only give you a rough idea, what you want to do looks well achieved by Observability app.

> **[Ingest logs, metrics, and uptime data with Elastic Agent | Observability...](https://www.elastic.co/guide/en/observability/master/ingest-logs-metrics-uptime.html)**

> **[Fleet | Kibana Guide \[8.0\] | Elastic](https://www.elastic.co/guide/en/kibana/current/fleet.html)**
>
> Kibana provides you with several options to share \*Discover\* saved searches, dashboards, \*Visualize Library\* visualizations, and \*Canvas\* workpads with others, or on a website.

---

<div class="post-metadata">

**Author:** ![thujitha\_p](https://avatars.discourse-cdn.com/v4/letter/t/7bcc69/32.png) [@thujitha\_p](https://discuss.elastic.co/u/thujitha_p)\
**Post date:** [February 11, 2022, 4:37am UTC](https://discuss.elastic.co/t/kibana-configuration-to-automatically-add-visualization-and-add-it-into-the-dashboard-for-a-microservice/296928/5 "2022-02-11T04:37:01Z")

</div>

Thanks @Tomo_M , I will check these links.

---

<div class="post-metadata">

**Author:** ![Tomo\_M](https://avatars.discourse-cdn.com/v4/letter/t/848f3c/32.png) [@Tomo\_M](https://discuss.elastic.co/u/Tomo_M)\
**Post date:** [February 11, 2022, 4:39am UTC](https://discuss.elastic.co/t/kibana-configuration-to-automatically-add-visualization-and-add-it-into-the-dashboard-for-a-microservice/296928/6 "2022-02-11T04:39:37Z")

</div>

Or if you accept visualization of other way, `Bar vertical percentage` visualization could be a good work around.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/7/6/7629e62ccc214cf50adb5bf964ecea8cd55d49fb.png)

---

<div class="post-metadata">

**Author:** ![thujitha\_p](https://avatars.discourse-cdn.com/v4/letter/t/7bcc69/32.png) [@thujitha\_p](https://discuss.elastic.co/u/thujitha_p)\
**Post date:** [February 11, 2022, 4:42am UTC](https://discuss.elastic.co/t/kibana-configuration-to-automatically-add-visualization-and-add-it-into-the-dashboard-for-a-microservice/296928/7 "2022-02-11T04:42:13Z")

</div>

I think, it seems to be work. We can add each microservice in horizontal axis, and success, error percentage of each microservice in the vertical axis. Right?

---

<div class="post-metadata">

**Author:** ![Tomo\_M](https://avatars.discourse-cdn.com/v4/letter/t/848f3c/32.png) [@Tomo\_M](https://discuss.elastic.co/u/Tomo_M)\
**Post date:** [February 11, 2022, 4:45am UTC](https://discuss.elastic.co/t/kibana-configuration-to-automatically-add-visualization-and-add-it-into-the-dashboard-for-a-microservice/296928/8 "2022-02-11T04:45:40Z")

</div>

I think so. If there is some trouble, you may ask again.

---

<div class="post-metadata">

**Author:** ![thujitha\_p](https://avatars.discourse-cdn.com/v4/letter/t/7bcc69/32.png) [@thujitha\_p](https://discuss.elastic.co/u/thujitha_p)\
**Post date:** [February 11, 2022, 4:46am UTC](https://discuss.elastic.co/t/kibana-configuration-to-automatically-add-visualization-and-add-it-into-the-dashboard-for-a-microservice/296928/9 "2022-02-11T04:46:10Z")

</div>

Thanks @Tomo_M , Let me try it and will tell.

---

<div class="post-metadata">

**Author:** ![thujitha\_p](https://avatars.discourse-cdn.com/v4/letter/t/7bcc69/32.png) [@thujitha\_p](https://discuss.elastic.co/u/thujitha_p)\
**Post date:** [February 11, 2022, 6:00am UTC](https://discuss.elastic.co/t/kibana-configuration-to-automatically-add-visualization-and-add-it-into-the-dashboard-for-a-microservice/296928/10 "2022-02-11T06:00:47Z")

</div>

I got the Bar vertical percentage visualization. This one is ok for now.

 ![Screenshot from 2022-02-11 11-18-58](https://us1.discourse-cdn.com/elastic/original/3X/c/a/ca63ab516a1891d69ebbd8e3805f3a0f748223e9.png)

Do you have any ideas to change each bar to separate pie?. That is what I exactly need.

---

<div class="post-metadata">

**Author:** ![Tomo\_M](https://avatars.discourse-cdn.com/v4/letter/t/848f3c/32.png) [@Tomo\_M](https://discuss.elastic.co/u/Tomo_M)\
**Post date:** [February 11, 2022, 6:13am UTC](https://discuss.elastic.co/t/kibana-configuration-to-automatically-add-visualization-and-add-it-into-the-dashboard-for-a-microservice/296928/11 "2022-02-11T06:13:17Z")

</div>

I suppose there's no out of the box function to show multiple pie chart.

---

<div class="post-metadata">

**Author:** ![thujitha\_p](https://avatars.discourse-cdn.com/v4/letter/t/7bcc69/32.png) [@thujitha\_p](https://discuss.elastic.co/u/thujitha_p)\
**Post date:** [February 11, 2022, 6:16am UTC](https://discuss.elastic.co/t/kibana-configuration-to-automatically-add-visualization-and-add-it-into-the-dashboard-for-a-microservice/296928/12 "2022-02-11T06:16:38Z")

</div>

Thank you for the response.

---

<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:** [March 11, 2022, 6:17am UTC](https://discuss.elastic.co/t/kibana-configuration-to-automatically-add-visualization-and-add-it-into-the-dashboard-for-a-microservice/296928/13 "2022-03-11T06:17:21Z")

</div>

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