Getting Data In

Network device logs

jmrubio
Explorer

Hello!

I wanted to ask what is the best way/configuration to get network device logs directly into splunk?

Thanks in advance!

Labels (1)
0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

Yes, there is, but it's not considered a Best Practice.

Define a TCP input to read the logs from the selected port.  See https://docs.splunk.com/Documentation/Splunk/latest/Data/Monitornetworkports

---
If this reply helps you, Karma would be appreciated.

View solution in original post

richgalloway
SplunkTrust
SplunkTrust

Best Practice is to not ingest device logs directly into Splunk.  Any time Splunk restarts data sent by the devices during the downtime will be lost.  The recommended approach is to send the logs (usually in syslog format) to a dedicated receiver (syslog-ng or Splunk Connect for Syslog (SC4S)) and forward them to Splunk from there.

---
If this reply helps you, Karma would be appreciated.
0 Karma

jmrubio
Explorer

@richgalloway  Is there any way to not have to use a separate syslog server? 

0 Karma

richgalloway
SplunkTrust
SplunkTrust

Yes, there is, but it's not considered a Best Practice.

Define a TCP input to read the logs from the selected port.  See https://docs.splunk.com/Documentation/Splunk/latest/Data/Monitornetworkports

---
If this reply helps you, Karma would be appreciated.

jmrubio
Explorer

I will try this out. Thanks!

0 Karma
Get Updates on the Splunk Community!

.conf24 | Day 0

Hello Splunk Community! My name is Chris, and I'm based in Canberra, Australia's capital, and I travelled for ...

Enhance Security Visibility with Splunk Enterprise Security 7.1 through Threat ...

 (view in My Videos)Struggling with alert fatigue, lack of context, and prioritization around security ...

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...