Rsyslog configuration – SGBox Next Generation SIEM & SOAR https://www.sgbox.eu Next Generation SIEM & SOAR Tue, 05 Nov 2024 11:37:48 +0000 en-US hourly 1 https://wordpress.org/?v=6.7.1 https://www.sgbox.eu/wp-content/uploads/2020/09/cropped-Logo-SGBox-Trasparente-NO-SCRITTA-150x150.webp Rsyslog configuration – SGBox Next Generation SIEM & SOAR https://www.sgbox.eu 32 32 Rsyslog TCP TLS Support https://www.sgbox.eu/en/knowledge-base/rsyslog-tcp-tls-support/ Wed, 13 Apr 2022 11:59:35 +0000 http://10.253.1.91/?post_type=epkb_post_type_1&p=7278 Rsyslog TCP with TLS support

It’s possible configure SGBox to support TCP with TLS protocol to receive syslog messages.

Requirements:

Be careful!! Making errors in the configuration can cause that service will not start correctly

In this section will be described the steps:
Connect to SGBox using terminal (like putty). Go to Appliance Management > Syslog > Edit configuration File.

Go down to SGBox customization Section and add the following strings:

# provides TCP TLS syslog reception
global(
DefaultNetstreamDriver="gtls"
DefaultNetstreamDriverCAFile="/etc/apache2/custom_certs/chain_bundle.crt"
DefaultNetstreamDriverCertFile="/etc/apache2/custom_certs/crt_bundle.crt"
DefaultNetstreamDriverKeyFile="/etc/apache2/custom_certs/key_bundle.key"
)
module(
load="imtcp"
StreamDriver.Name="gtls"
StreamDriver.Mode="1"
StreamDriver.Authmode="anon"
)
input(
type="imtcp"
port="6514"
ruleset="remote"
)

Save the configuration and click Restart Service

]]>
Rsyslog TCP support https://www.sgbox.eu/en/knowledge-base/rsyslog-tcp-support/ Fri, 01 Apr 2022 09:33:32 +0000 http://10.253.1.91/?post_type=epkb_post_type_1&p=7260 Rsyslog TCP support

It’s possible configure SGBox to support both UDP and TCP protocol to receive syslog messages.

Be careful!! Making errors in the configuration can cause that service will not start correctly

In this section will be described the steps:
Connect to SGBox using terminal (like putty). Go to Appliance Management > Syslog > Edit configuration File.

Go down ti SGBox customization Section and it should appear as following:

# provides UDP syslog reception
$ModLoad imudp
$InputUDPServerBindRuleset remote
$UDPServerRun 514

# provides TCP syslog reception
$ModLoad imptcp
$InputPTCPServerBindRuleset remote
$InputPTCPServerRun 514

Save the configuration and click to Restart Service

]]>