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
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!

Detection Engineering Office Hours: Real-World Troubleshooting & Q&A

[REGISTER HERE] This thread is for the Community Office Hours session on Detection Engineering Office Hours: ...

Developer Spotlight with Mika Borner

From Hackathon Winner to Enterprise Leader    Mika Borner, CEO and Founder of Datapunctum AG, has been ...

Continue Your Federation Journey: Join Session 3 of the Bootcamp Series

To help practitioners build a stronger foundation, we launched the Data Management & Federation ...