# How to configure different logs from different servers

**URL:** https://discuss.elastic.co/t/how-to-configure-different-logs-from-different-servers/141294
**Category:** Logstash
**Created:** [July 24, 2018, 6:04am UTC](https://discuss.elastic.co/t/how-to-configure-different-logs-from-different-servers/141294 "2018-07-24T06:04:44Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![nandan\_bigdata](https://avatars.discourse-cdn.com/v4/letter/n/f07891/32.png) [@nandan\_bigdata](https://discuss.elastic.co/u/nandan_bigdata)
#### Post date: [July 24, 2018, 6:04am UTC](https://discuss.elastic.co/t/how-to-configure-different-logs-from-different-servers/141294/1 "2018-07-24T06:04:45Z")

</div>

Hello Team,  
I am having a little bit confusing concept which I want to clear now.  
I have separate Server for separate operations and tools such as:-  
IP\_ADDR 1: Apache / nginx  
IP\_ADDR 2: MySQL  
IP\_ADDR 3: Cassandra Node 1  
IP\_ADDR 4: Cassandra Node 2  
IP\_ADDR 5: Cassandra Node 3

So how to configure ELK stack in this to implement centralized log systems from all 5 IPs location.

Thanks.

---

<div class="post-metadata">

### Author: ![NerdSec](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nerdsec/32/22056_2.png) [@NerdSec](https://discuss.elastic.co/u/NerdSec)
#### Post date: [July 24, 2018, 6:28am UTC](https://discuss.elastic.co/t/how-to-configure-different-logs-from-different-servers/141294/2 "2018-07-24T06:28:39Z")

</div>

Hi Nandan,

You can forward the logs from these servers using either something like FileBeat or Syslog and then index it to Elasticsearch via Logstash.

---

<div class="post-metadata">

### Author: ![nandan\_bigdata](https://avatars.discourse-cdn.com/v4/letter/n/f07891/32.png) [@nandan\_bigdata](https://discuss.elastic.co/u/nandan_bigdata)
#### Post date: [July 24, 2018, 8:46am UTC](https://discuss.elastic.co/t/how-to-configure-different-logs-from-different-servers/141294/3 "2018-07-24T08:46:07Z")

</div>

Thanks for reply. But I am getting confused because As I mentioned above , basically we are having multiple servers and tools / Open source we are using and we are trying to build a centralised logged system.  
So how should I install ELK stack?  
As in this example :-  
I need to install Elasticseach on each server , logstash on each server and kibana on each server or Something different way.

---

<div class="post-metadata">

### Author: ![Charaf\_Ahmed](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/charaf_ahmed/32/30467_2.png) [@Charaf\_Ahmed](https://discuss.elastic.co/u/Charaf_Ahmed)
#### Post date: [July 24, 2018, 9:20am UTC](https://discuss.elastic.co/t/how-to-configure-different-logs-from-different-servers/141294/4 "2018-07-24T09:20:12Z")

</div>

> [@nandan\_bigdata](#):
>
> Thanks for reply. But I am getting confused because As I mentioned above , basically we are having multiple servers and tools / Open source we are using and we are trying to build a centralised logged system.  
> So how should I install ELK stack?  
> As in this example :-  
> I need to install Elasticseach on each server , logstash on each server and kibana on each server or Something different way.

NO, you do not need to install ES, kibana on each server.

Before all things, make sure you understand the usefulness of each tool in the stack.

A very simple architecture would be:

- Install on the same server on Kibana - Elasticserach - logstash (optional)

- And on each target server, install an agent for each machine (which will then retrieve the logs and send them either to Elasticsearch or Logstash.)

---

<div class="post-metadata">

### Author: ![Charaf\_Ahmed](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/charaf_ahmed/32/30467_2.png) [@Charaf\_Ahmed](https://discuss.elastic.co/u/Charaf_Ahmed)
#### Post date: [July 24, 2018, 9:25am UTC](https://discuss.elastic.co/t/how-to-configure-different-logs-from-different-servers/141294/5 "2018-07-24T09:25:12Z")

</div>

beat 1 |  
beat ...| ----\> Logstash(Optionnal) --\> ES --\> kibana  
beat 3 |

---

<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: [August 21, 2018, 9:25am UTC](https://discuss.elastic.co/t/how-to-configure-different-logs-from-different-servers/141294/6 "2018-08-21T09:25:15Z")

</div>

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