Metricbeat and Filebeat two input in one logstash


(Bikash Behuria) #1

Hi ,

Can I have two input of beat in one logstash like below . The type in File beat is being set in document_type field in filebeat yml and for metricbeat type , I am still searching how to set from Metric beat YML. Can you please help ?

input {

beats {
port => 5044
type => "iislogs"
codec => json
}

beats {
port => 5044
type => "metricsdata"
codec => json
}
}


(Christian Dahlqvist) #2

You can not have 2 inputs use the same port, so you need to change one of them.


(system) #3

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