# Elastic Stack Setup for Multiple Server

**URL:** https://discuss.elastic.co/t/elastic-stack-setup-for-multiple-server/134649
**Category:** Elasticsearch
**Created:** [June 5, 2018, 2:55pm UTC](https://discuss.elastic.co/t/elastic-stack-setup-for-multiple-server/134649 "2018-06-05T14:55:08Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![w0lfxpunk](https://avatars.discourse-cdn.com/v4/letter/w/73ab20/32.png) [@w0lfxpunk](https://discuss.elastic.co/u/w0lfxpunk)
#### Post date: [June 5, 2018, 2:55pm UTC](https://discuss.elastic.co/t/elastic-stack-setup-for-multiple-server/134649/1 "2018-06-05T14:55:08Z")

</div>

Dear All,  
I have 10 servers with different application and different clients. I want to setup ELK Stack server for all of them in one place. The server will be sending following logs to my ELK Box

1. Apache Access & Error logs
2. SSH access and Failed logs
3. Mail Logs (Postfix / Exim)
4. Mysql Logs / Slow query
5. System Logs ( CPU / RAM /DISK / LOAD AVERAGE)
6. Firewall Logs
7. IDS logs
8. clam av logs
9. Maldet logs
10. Aide logs  
Now my questions are
11. How to differentiate the logs by host ?
12. For 1 single server I will put the filters in the say server1.conf file and parse them will it work ?
13. How to see the data on Kibana dashboard for each server is it like creating different dashboards and visualization ?  
Please help

---

<div class="post-metadata">

### Author: ![w0lfxpunk](https://avatars.discourse-cdn.com/v4/letter/w/73ab20/32.png) [@w0lfxpunk](https://discuss.elastic.co/u/w0lfxpunk)
#### Post date: [June 6, 2018, 9:07am UTC](https://discuss.elastic.co/t/elastic-stack-setup-for-multiple-server/134649/2 "2018-06-06T09:07:47Z")

</div>

can someone please help ?

---

<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: [June 6, 2018, 9:20am UTC](https://discuss.elastic.co/t/elastic-stack-setup-for-multiple-server/134649/3 "2018-06-06T09:20:59Z")

</div>

Read [this](https://discuss.elastic.co/t/about-the-elasticsearch-category/21) and specifically the "Also be patient" part.

It's fine to answer on your own thread after 2 or 3 days (not including weekends) if you don't have an answer.

---

<div class="post-metadata">

### Author: ![w0lfxpunk](https://avatars.discourse-cdn.com/v4/letter/w/73ab20/32.png) [@w0lfxpunk](https://discuss.elastic.co/u/w0lfxpunk)
#### Post date: [June 6, 2018, 9:23am UTC](https://discuss.elastic.co/t/elastic-stack-setup-for-multiple-server/134649/4 "2018-06-06T09:23:15Z")

</div>

got it

---

<div class="post-metadata">

### Author: ![w0lfxpunk](https://avatars.discourse-cdn.com/v4/letter/w/73ab20/32.png) [@w0lfxpunk](https://discuss.elastic.co/u/w0lfxpunk)
#### Post date: [June 8, 2018, 10:18am UTC](https://discuss.elastic.co/t/elastic-stack-setup-for-multiple-server/134649/5 "2018-06-08T10:18:46Z")

</div>

any pointers folks ?

---

<div class="post-metadata">

### Author: ![w0lfxpunk](https://avatars.discourse-cdn.com/v4/letter/w/73ab20/32.png) [@w0lfxpunk](https://discuss.elastic.co/u/w0lfxpunk)
#### Post date: [June 25, 2018, 2:38pm UTC](https://discuss.elastic.co/t/elastic-stack-setup-for-multiple-server/134649/6 "2018-06-25T14:38:21Z")

</div>

is this a stupid question ? or is it something no one can answer? Wondering if the people in forum cant answer the stuff then who else can ?

---

<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: [June 25, 2018, 4:24pm UTC](https://discuss.elastic.co/t/elastic-stack-setup-for-multiple-server/134649/7 "2018-06-25T16:24:29Z")

</div>

> How to differentiate the logs by host ?

It depends on what you are using to ship the logs. If you are using filebeat, there is a field which has that value by default.

> For 1 single server I will put the filters in the say server1.conf file and parse them will it work ?

I don't understand the question.

> How to see the data on Kibana dashboard for each server is it like creating different dashboards and visualization ?

Filebeat comes with some default dashboards but anyway, if the server is part of the document indexed in elasticsearch, then it's easy to add a filter on whatever server in Kibana.

---

<div class="post-metadata">

### Author: ![w0lfxpunk](https://avatars.discourse-cdn.com/v4/letter/w/73ab20/32.png) [@w0lfxpunk](https://discuss.elastic.co/u/w0lfxpunk)
#### Post date: [June 25, 2018, 6:10pm UTC](https://discuss.elastic.co/t/elastic-stack-setup-for-multiple-server/134649/8 "2018-06-25T18:10:23Z")

</div>

For 1 single server I will put the filters in the say server1.conf file and parse them will it work ?  
So for example I have [srv1.example.com](http://srv1.example.com) and I want to parse logs from that server

1. Apache Logs
2. Firewall Logs
3. SSH auth logs
4. System Logs - CPU / MEMORY etc  
and I create a file with the hostname srv1.example.conf and put the filters in one file for all of the above  
will it work ?

---

<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: [June 25, 2018, 6:28pm UTC](https://discuss.elastic.co/t/elastic-stack-setup-for-multiple-server/134649/9 "2018-06-25T18:28:38Z")

</div>

I don't know. I still don't understand. May be an example would help?

Or may be someone else understands what you are looking for...

---

<div class="post-metadata">

### Author: ![w0lfxpunk](https://avatars.discourse-cdn.com/v4/letter/w/73ab20/32.png) [@w0lfxpunk](https://discuss.elastic.co/u/w0lfxpunk)
#### Post date: [June 25, 2018, 7:11pm UTC](https://discuss.elastic.co/t/elastic-stack-setup-for-multiple-server/134649/10 "2018-06-25T19:11:06Z")

</div>

ok sure Let me create a diagram and an example , thank you for your reply and help.

---

<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 23, 2018, 7:11pm UTC](https://discuss.elastic.co/t/elastic-stack-setup-for-multiple-server/134649/11 "2018-07-23T19:11:08Z")

</div>

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