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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

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

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...