Getting Data In

Cisco switch not showing logs on Splunk Server

pgadhari
Builder

Hi Experts,

I have configured my Splunk server to as a receiver on port 9997 and my unix/Linux UFs are forwarding data properly to splunk server. My cisco switch 6500 is configured for sending logs to this splunk server on tcp port 9997, but I cannot see any logs on the Splunk server from the switch.
Pleae help me resolve following issues ?

  1. How can I check whether the logs are received by Splunk server ?
  2. Whether I need to configure any port other than 9997 to receive logs from cisco switch ?

Thanks
Pankaj

Tags (1)
0 Karma

Ayn
Legend

The data you're sending on port 9997 from your UF's is in a format that's very specific to Splunk and is only used for forwarding logs from a Splunk instance (like a forwarder) to another Splunk instance. Your Cisco switches, on the other hand, are probably sending syslog which is a completely different format. In order to receive this, you need to set up a port in Splunk for receiving raw TCP or UDP data (depending on if you're sending TCP or UDP from your switches) and then redirect your switches to send to that port instead. Syslog data is commonly sent to port 514.

Ayn
Legend

No, that is beyond the scope of a simple splunkbase answer I think. It's OK to ask specific questions about specific problems but for very generic "step-by-step" requests like this I think the better option is to dive into the problem yourself first of all and come back if you've encountered specific problems.

pgadhari
Builder

Thanks Ayn for your reply. I figured out that and now I am able to see the logs from my cisco devices. I enabled udp 9997 on my splunk server and configured cisco switch/firewall to send logs to Splunk.

Now, I want to know what all reports and dashboards I can create using the syslogs from CISCO switches/firewalls. Actually, I want to generate a event co-relation use case to show it to my management. For that, I have added one application environment which include one web, app and db server OS logs, also network and firewall logs. Can you guide me to generate a use case from Application level to server level including network wherein I can show some event co-relation. Any ideas ?

Thanks Pankaj

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Laser Bananas and Edge Hubs: Exploring Operational Technology (OT) Data Through a ...

  OT is a different environment to traditional IT and can have interesting challenges when interfacing the ...

Event Series: Mastering AI Tokenomics and Splunk Agent Observability

Beyond the Black Box: Correlating AI Performance and Tokenomics with Splunk Agent Observability   As ...

span_metrics: The OpenTelemetry-Idiomatic Way to See Inside Your Services

You open a trace in Splunk Observability Cloud and everything looks fine. One root span, order-pipeline, with ...