TrueNAS#
Integration Details |
|
Ingester |
TrueNAS Configuration#
TrueNAS SCALE has native remote syslog forwarding. See Managing System Logging and Advanced Settings Screen.

Go to System Settings > Advanced > Syslog and click Configure.
Set Host to your Gravwell Simple Relay address, followed by the port of the matching listener from the sample below:
:15122for UDP,:15120for TCP, or:15121for TLS.Set Transport to UDP, TCP, or TLS.
If using TLS, import a certificate under Credentials > Certificates first, then select it here. TLS requires the TLS listener in the sample below.
Set the Syslog Level (minimum severity to forward). Up to two independent remote syslog servers can be configured.
Gravwell Configuration#
Gravwell Storage Well Configuration#
Set up the well configuration in your Gravwell indexers.
Sample well config:
Create or edit: /opt/gravwell/etc/gravwell.conf.d/truenas-well.conf
[Storage-Well "truenas"]
Location=/opt/gravwell/storage/truenas
Tags=truenas*
Gravwell Ingester Configuration: Simple Relay#
Sample TrueNAS config:
Create or edit: /opt/gravwell/etc/simple_relay.conf.d/truenas.conf
[Listener "truenasudp"]
Bind-String="udp://0.0.0.0:15122"
Reader-Type=rfc5424
Tag-Name=truenas
Assume-Local-Timezone=true #if a time format does not have a timezone, assume local time
Keep-Priority=true # leave the <nnn> priority tag at the start of each syslog entry
[Listener "truenastcp"]
Bind-String="tcp://0.0.0.0:15120"
Reader-Type=rfc5424
Tag-Name=truenas
Assume-Local-Timezone=true #if a time format does not have a timezone, assume local time
Keep-Priority=true
# Only needed if you select TLS in TrueNAS. Replace the certificate and key paths with your own.
[Listener "truenastls"]
Bind-String="tls://0.0.0.0:15121"
Cert-File=/opt/gravwell/etc/cert.pem
Key-File=/opt/gravwell/etc/key.pem
Reader-Type=rfc5424
Tag-Name=truenas
Assume-Local-Timezone=true
Keep-Priority=true
Note
Remember to restart the service to apply the new config:
sudo systemctl restart gravwell_simple_relay.service