Get logs from different EC2 instance

Hello everyone,

So i have one EC2 instance with logstash, elastichsearch and kibana installed on it. and i have another EC2 instance thats running a dummy apache server. Now i know that i should install filebeat on the apache server instance to send the log files to the logstash instance but im not sure how to configure the files.

My main goal is to send the log files from one instance basically to another for processing and viewing aka ES and Kibana. Any help or advice is greatly appreciated.

Thanks in advance!

Cheers!

@Ghaith_Haddad, Yes you need to install filebeat on the server where you installed apache. You can refer the below document:

Filebeat configuration

Please let me know If you have any query.
Thanks.

Thank you @Tek_Chand i will take a look and let you know!

@Tek_Chand i think i read in some other form that i should also configure the ELK server to listen to a specific port to get the logs from filebeat is that true also in my case, if yes how should i configure my elasticsearch config file?

Thanks!

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