一、首先部署logstash监控UDP514端口,新建一个配置文件cisco-udp.conf
[root@server-1 conf.d]# cd /etc/logstash/conf.d/ [root@server-1 conf.d]# vim cisco-udp.conf
input{ udp{ type => "Cisco-udp" port => 514 } } output{ stdout{ codec => rubydebug } }
二、加载配置文件
2024-04-09 08:53:10
一、首先部署logstash监控UDP514端口,新建一个配置文件cisco-udp.conf
[root@server-1 conf.d]# cd /etc/logstash/conf.d/ [root@server-1 conf.d]# vim cisco-udp.conf
input{ udp{ type => "Cisco-udp" port => 514 } } output{ stdout{ codec => rubydebug } }
二、加载配置文件