# Network devices logs monitoring

**URL:** <https://discuss.elastic.co/t/network-devices-logs-monitoring/213340>\
**Category:** Logstash\
**Created:** [December 30, 2019, 11:49am UTC](https://discuss.elastic.co/t/network-devices-logs-monitoring/213340 "2019-12-30T11:49:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rguptarg](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rguptarg/32/60643_2.png) [@rguptarg](https://discuss.elastic.co/u/rguptarg)\
**Post date:** [December 30, 2019, 11:49am UTC](https://discuss.elastic.co/t/network-devices-logs-monitoring/213340/1 "2019-12-30T11:49:46Z")

</div>

Hi Team,  
I am new in ELK, and I am looking to monitor my network infra logs, We are using below vendors devices :-  
Cisco  
Sonic wall  
Fortinet

At network end all log forwarding is configured on UDP 5014 port for all devices, logstash are receiving all logs, logstash config file:-

input {  
tcp {  
port =\> 5014  
type =\> syslog  
}  
udp {  
port =\> 5014  
type =\> syslog  
}  
}

filter {  
if [type] == "syslog" {  
grok {  
match =\> { "message" =\> "%{SYSLOGTIMESTAMP:syslog\_timestamp} %{SYSLOGHOST:syslog\_hostname} %{DATA:syslog\_program}(?:[%{POSINT:syslog\_pid}])?: %{GREEDYDATA:syslog\_message}" }  
add\_field =\> ["received\_at", "%{[@timestamp](https://github.com/timestamp)}" ]  
add\_field =\> ["received\_from", "%{host}"]  
}  
date {  
match =\> ["syslog\_timestamp", "MMM d HH:mm:ss", "MMM dd HH:mm:ss"]  
}  
}  
}

output {  
elasticsearch {  
hosts =\> ["localhost:9200"]  
user =\> elastic  
password =\> elastic  
}  
stdout { codec =\> rubydebug }  
}

Currently I am receiving all logs, but I have few query -

1. there is no such info like Firewall, route etc. so how can I identify device details ? or Is there any other better process to collect Network devices log

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [January 27, 2020, 11:49am UTC](https://discuss.elastic.co/t/network-devices-logs-monitoring/213340/2 "2020-01-27T11:49:53Z")

</div>

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