I have configured Logstash to take input by listening to port 5043 from filebeat by creating a pipeline in /etc/logstash/conf.d for filebeat. Now when I start logstash and check the status, it shows active but when I check for services that are running on the system(netstat -plntu), it doesn't come up at all. I cannot find the port I assigned to logstash anywhere.
/etc/logstash# netstat -plntu
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 890/nginx: master p
tcp 0 0 127.0.0.53:53 0.0.0.0:* LISTEN 398/systemd-resolve
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 804/sshd
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 571/cupsd
tcp6 0 0 127.0.0.1:9200 :::* LISTEN 4968/java
tcp6 0 0 ::1:9200 :::* LISTEN 4968/java
tcp6 0 0 :::80 :::* LISTEN 890/nginx: master p
tcp6 0 0 127.0.0.1:9300 :::* LISTEN 4968/java
tcp6 0 0 ::1:9300 :::* LISTEN 4968/java
tcp6 0 0 :::22 :::* LISTEN 804/sshd
tcp6 0 0 ::1:631 :::* LISTEN 571/cupsd
tcp6 0 0 :::9600 :::* LISTEN 5874/java
udp 0 0 0.0.0.0:5353 0.0.0.0:* 723/avahi-daemon: r
udp 0 0 0.0.0.0:48886 0.0.0.0:* 723/avahi-daemon: r
udp 0 0 127.0.0.53:53 0.0.0.0:* 398/systemd-resolve
udp 0 0 0.0.0.0:68 0.0.0.0:* 821/dhclient
udp 0 0 0.0.0.0:631 0.0.0.0:* 742/cups-browsed
udp6 0 0 :::5353 :::* 723/avahi-daemon: r
udp6 0 0 :::46478 :::* 723/avahi-daemon: r