I just install nxlog,
in log file, there is error :
*ERROR couldn't bind ssl socket to webserver:6514;Cannot assign requested
address*
Please give advice how to solved it.
CertFile & CertKeyFile created by openssl.
Below is the config-file.
########################################
# Global directives #
########################################
User nxlog
Group nxlog
LogFile /var/log/nxlog/nxlog.log
LogLevel INFO
########################################
# Modules #
########################################
# NXlog syslog extension activation (needed to receive syslog messages)
<Extension _syslog>
Module xm_syslog
</Extension>
# NXlog JSON extension activation (needed to forward messages to Logstash)
<Extension json>
Module xm_json
</Extension>
<Input in_ssl>
Module im_ssl
Host webserver
Port 6514
CertFile /usr/local/etc/nxlog/nxlog.pub
CertKeyFile /usr/local/etc/nxlog/nxlog.key
KeyPass secret
InputType Binary
</Input>
########################################
# Routes #
########################################
# The buffer needed to NOT loose events when Logstash restarts
<Processor buffer_udp>
Module pm_buffer
# 1Mb buffer
MaxSize 512
Type Mem
# warn at 512k
WarnLimit 256
</Processor>
<Output nxlog_out>
Module om_file
File "/var/log/nxlog/nxlog.out"
</Output>
# Let's tie all pieces together with a NXlog route
<Route udp>
Path in_ssl => buffer_udp => nxlog_out
</Route>
BR,
------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing
conversations that shape the rapidly evolving mobile landscape. Sign up now.
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
_______________________________________________
nxlog-ce-users mailing list
nxlog-ce-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nxlog-ce-users