om_udp apr_socket_send failed;Connection refused

Tags:

#1 Suryaprakash

i'm unable to connect centralized log server from client machine

nxlog.config:

User nxlog
Group nxlog

LogFile /var/log/nxlog/nxlog.log
LogLevel INFO


########################################
# Modules #
########################################


<Input in>
Module im_file
File "/var/log/messages"

</Input>

<Output out>
Module om_udp
Host 192.168.58.175
Port 514

########################################
# Routes #
########################################
<Route>
Path in => out
</Route>

#2 Zhengshi Nxlog ✓
#1 Suryaprakash
i'm unable to connect centralized log server from client machine nxlog.config: User nxlog Group nxlog LogFile /var/log/nxlog/nxlog.log LogLevel INFO ######################################## # Modules # ######################################## <Input in> Module im_file File "/var/log/messages" </Input> <Output out> Module om_udp Host 192.168.58.175 Port 514 ######################################## # Routes # ######################################## <Route> Path in => out </Route>

Please ensure that the device you are connecting to (192.168.58.175 in this case) has port 514 opened to accept UDP connection from this NXLog instance.

Once you are able to verify that, we may need more information about your environment like what are you sending these logs to and what version of NXLog are you running.