Security

best practices for logging

jalfrey
Communicator

I'm setting up logging with Sonicwall firewalls. They support syslog. Do I send it to syslog on a linux system or send it directly to splunk via a port? If I setup multiple firewalls to log the same instance and I use the system syslog do I separate the log files in the syslog configuration?

Tags (2)
0 Karma
1 Solution

Damien_Dallimor
Ultra Champion

You can send your syslog events directly to Splunk. Just setup up a UDP input (default port 514 for syslog) or a non default port if you wish.

You'll then be able to search and categorize your syslog events in Splunk based on which host (sonic firewall) they came from, or any other fields in the syslog event that identify the origin.You can also dynamically set the source and sourcetype or route the syslog events to different indexes when everything is coming in over the same UDP port using entrys in transforms.conf.

View solution in original post

Damien_Dallimor
Ultra Champion

You can send your syslog events directly to Splunk. Just setup up a UDP input (default port 514 for syslog) or a non default port if you wish.

You'll then be able to search and categorize your syslog events in Splunk based on which host (sonic firewall) they came from, or any other fields in the syslog event that identify the origin.You can also dynamically set the source and sourcetype or route the syslog events to different indexes when everything is coming in over the same UDP port using entrys in transforms.conf.

dshpritz
SplunkTrust
SplunkTrust
0 Karma

jalfrey
Communicator

Thanks that worked great.

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!

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas     Cisco Live 2026 is almost here, and this ...

What Is the Name of the USB Key Inserted by Bob Smith? (BOTS Hint, Not the Answer)

Hello Splunkers,   So you searched, “what is the name of the usb key inserted by bob smith?”  Not gonna lie… ...

Automating Threat Operations and Threat Hunting with Recorded Future

    Automating Threat Operations and Threat Hunting with Recorded Future June 29, 2026 | Register   Is your ...