# How to manage multiple virtual machines to send metrics to ELK

**URL:** <https://discuss.elastic.co/t/how-to-manage-multiple-virtual-machines-to-send-metrics-to-elk/306035>\
**Category:** Kibana\
**Created:** [May 31, 2022, 12:53pm UTC](https://discuss.elastic.co/t/how-to-manage-multiple-virtual-machines-to-send-metrics-to-elk/306035 "2022-05-31T12:53:30Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![skander\_khalfet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/skander_khalfet/32/98889_2.png) [@skander\_khalfet](https://discuss.elastic.co/u/skander_khalfet)\
**Post date:** [May 31, 2022, 12:53pm UTC](https://discuss.elastic.co/t/how-to-manage-multiple-virtual-machines-to-send-metrics-to-elk/306035/1 "2022-05-31T12:53:30Z")

</div>

Hello guys i'm trying to build a solution where i could monitor a group of virtual machines. i have installed metricbeat on these machines.  
what i want to do is send these metrics to my ELK stack deployed on a kubernetes cluster.  
the problem is i want each of my virtual machines to see their metrics only.  
i want to provide for them a kibana dashboard specifically for each of the vm's metrics.

what i'm asking if this is possible, do i need to install kibana on each and every one of these machines, or is it possible through my kibana on kubernetes.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [June 1, 2022, 9:54pm UTC](https://discuss.elastic.co/t/how-to-manage-multiple-virtual-machines-to-send-metrics-to-elk/306035/2 "2022-06-01T21:54:00Z")

</div>

You can setup spaces that only show the data relevant to the machine. But you might end up with a tonne of spaces.

PS - we aren't all guys 🙂

---

<div class="post-metadata">

**Author:** ![skander\_khalfet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/skander_khalfet/32/98889_2.png) [@skander\_khalfet](https://discuss.elastic.co/u/skander_khalfet)\
**Post date:** [June 2, 2022, 12:18pm UTC](https://discuss.elastic.co/t/how-to-manage-multiple-virtual-machines-to-send-metrics-to-elk/306035/3 "2022-06-02T12:18:09Z")

</div>

hello @warkolm my bad on that one 😅

i didn't quite understand the concept, can you please tell me more about it 😃

---

<div class="post-metadata">

**Author:** ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)\
**Post date:** [June 2, 2022, 1:07pm UTC](https://discuss.elastic.co/t/how-to-manage-multiple-virtual-machines-to-send-metrics-to-elk/306035/4 "2022-06-02T13:07:02Z")

</div>

> [@skander\_khalfet](#):
>
> i want each of my virtual machines to see their metrics only.

Can you clarify what you mean with that? Are you talking about the people that manage each group of virtual machines?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [June 2, 2022, 9:40pm UTC](https://discuss.elastic.co/t/how-to-manage-multiple-virtual-machines-to-send-metrics-to-elk/306035/5 "2022-06-02T21:40:59Z")

</div>

> **[Spaces | Kibana Guide \[8.2\] | Elastic](https://www.elastic.co/guide/en/kibana/8.2/xpack-spaces.html)**
>
> Conceptual and step-by-step procedures for using runtime fields, scripted fields, and field formatters.

---

<div class="post-metadata">

**Author:** ![skander\_khalfet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/skander_khalfet/32/98889_2.png) [@skander\_khalfet](https://discuss.elastic.co/u/skander_khalfet)\
**Post date:** [June 3, 2022, 2:26am UTC](https://discuss.elastic.co/t/how-to-manage-multiple-virtual-machines-to-send-metrics-to-elk/306035/6 "2022-06-03T02:26:20Z")

</div>

hello @leandrojmp thank you for your reply.

i have elk deployed on my kubernetes cluster.  
what i want to do is to install beats on a group of virtual machines, and i want to provide for each vm his metrics only on a kibana dashboard. what i want to know is should i install kibana on each vm, meaning the beats send metrics to my Elasticsearch deployed on k8s and then send them back to kibana installed on the vm. this method i think is consuming resources, which may i ask is it possible to do it ?

the other method is each vm can access the kibana deployed on k8s through their credentials and can view their own metrics. every vm gets unique credentials and can view their own metrics. this means i don't install kibana on them. which got me questioning is it actually possible to do it ?

i hope my idea was clear 😃

---

<div class="post-metadata">

**Author:** ![skander\_khalfet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/skander_khalfet/32/98889_2.png) [@skander\_khalfet](https://discuss.elastic.co/u/skander_khalfet)\
**Post date:** [June 3, 2022, 2:29am UTC](https://discuss.elastic.co/t/how-to-manage-multiple-virtual-machines-to-send-metrics-to-elk/306035/7 "2022-06-03T02:29:37Z")

</div>

hello @warkolm thank you for your reply 😃

i'll check it out and see if it covers what i actually need 😊

---

<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:** [July 1, 2022, 2:30am UTC](https://discuss.elastic.co/t/how-to-manage-multiple-virtual-machines-to-send-metrics-to-elk/306035/8 "2022-07-01T02:30:10Z")

</div>

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