Getting Data In

How do you syslog another syslog server in another protected network?

dyeo
Engager

Has anyone had to deal with proper field extractions and host fields for a two-tiered syslog server environment? Our environment requires us to syslog another syslog server in another protected network.

This results in some odd syslog messages (2 timestamps) and incorrect host fields. Is there a recommended way of handling this type of setup to get the proper field and host extraction?

0 Karma

FrankVl
Ultra Champion

I would say the answer would lie in configuring those syslog servers correctly. Ensuring the first syslog source sends a proper timestamp and hostname and the intermediate syslog server just forwarding the raw message as received from the first (rather than adding an extra header / manipulating the original message).

If you don't have control over that, and need to make splunk work with the data you get, please share sample data so we can help figure out the best way to handle that.

0 Karma

ehowardl3
Path Finder

Hi dyeo,

Can you give an example of what the logs end up looking like?

What type of syslog servers are you using?

As far as the host field goes, what is the host field end up getting set as, and which method are you using to set the host name?

0 Karma
Get Updates on the Splunk Community!

Archived Metrics Now Available for APAC and EMEA realms

We’re excited to announce the launch of Archived Metrics in Splunk Infrastructure Monitoring for our customers ...

Detecting Remote Code Executions With the Splunk Threat Research Team

WATCH NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If exploited, ...

Enter the Dashboard Challenge and Watch the .conf24 Global Broadcast!

The Splunk Community Dashboard Challenge is still happening, and it's not too late to enter for the week of ...