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!

[Puzzles] Solve, Learn, Repeat: Dynamic formatting from XML events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...