java - How to config logstash to listening on multiple tcp port? -
i use logstash collect logs other component in project. log divided 2 type, app_log , sys_log, app_log sent tcp port 5000 , sys_log sent 5001. following logstash input config:
input { tcp { port => 5000 type => app_log } tcp { port => 5001 type => sys_log } }
after started logstash, port 5000 , 5001 both activated. tcp6 0 0 :::5000 :::* listen 7650/java
tcp6 0 0 :::5001 :::* listen 7650/java
but receive log port 5000 normally.when sending log port 5001, log not collected, there configured wrongly?
Comments
Post a Comment