Can we configure logstash to listen only to a paricular set of hosts

Currently my logstash input is listening to filebeat on port XXXX,my requirement is to collect log data only from a particular hosts(let's say only from Webservers). I dont want to modify the filebeat configuration directly on to the servers but I want allow only the webservers logs to listen in.

Could anyone suggest how to configure the logstash in this scenario? Following is mylogstash input configuration.

input {
  beats {
    port => 50XX

Which part of my answer on StackOverflow did you not get?

1 Like

Hi Badger, Thanks a ton!! Got it, It was a miss from my end on the CSV file side. Finally I am able to sort it :slight_smile:

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