Splunk Enterprise

rsyslog load balancer

KeishamM
Loves-to-Learn

Hi All,

We have configured rsyslog as such for port 9001 on two rsyslog server. when the UDP port sends directly to server it works. however , we use a F5 load balancer data is not coming. The health rule is configured as UDP but not working. below is the output which i see frequently

Sep 22 11:13:10 default send string
Sep 22 11:13:15 default send string
Sep 22 11:13:15 default send string
Sep 22 11:13:20 default send string
Sep 22 11:13:20 default send string
Sep 22 11:13:25 default send string
Sep 22 11:13:25 default send string

-----

rsyslog configuration

[root@auvlud1prapp62 rsyslog.d]# cat 99-mainframe-port9001.conf
# rsyslog configuration for central logging
# Note: 'rsyslog-central' must be replaced to match your hostname
# 'localhost' is expected to work, but some persistent cases shown that only
# setting to the real value of the host name prevents from logging local log duplicated
# in remote location

# provides TCP syslog reception
#$ModLoad imtcp
#$InputTCPServerRun 9001
$ModLoad imudp
$UDPServerRun 9001

# Set the global dynamic file
$template PerHost, "/apps/log/mainframe/mainframe-%$YEAR%-%$MONTH%-%$DAY%.log"

if ($hostname != 'hostname') then ?PerHost
& stop

Labels (1)
Tags (2)
0 Karma

thambisetty
SplunkTrust
SplunkTrust

that is message coming from F5 load balancer to check health of port.

you should look at routing when you have configured your syslog servers with F5 for load balancing.

there could be asymmetric routing happening. 

————————————
If this helps, give a like below.
0 Karma

KeishamM
Loves-to-Learn

How do we verify the routing ?  For routing, the servers are configured to listen to port.

 

Regards

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