Support Logging setup

                    NXLog TLS Configuration

                    NXLog TLS Configuration

                    You can securely send your logs to Loggly using TLS encryption. This guide shows you how to set it up for nxlog and is tested on Windows Server 2012.

                    NXLog TLS Configuration Setup

                    1. Install necessary security Certificates

                    Download the certificate file

                    Then place it into C:Program Files*nxlogcert directory.

                    copy logs-01.loggly.com_sha12.crt C:Program Files*nxlogcert

                    2. Update the NXLog Configuration file

                    Open your configuration file (nxlog.conf) and update the output module by replacing the configuration given below.

                    <Output out>
                       Module om_ssl
                       Port 6514
                       CAFile %CERTDIR%/logs-01.loggly.com_sha12.crt
                       AllowUntrusted FALSE
                       Exec to_syslog_ietf(); $raw_event = replace($raw_event, 'NXLOG@14506', 'TOKEN@41058 tag="windows"] [', 1);


                    Restart NXLog after saving changes and send some Windows logs.

                    3. Verify Events

                    Search Loggly for events with the tag as windows over the past hour. It may take few minutes to index the event. If if doesn’t work, see the troubleshooting section below.

                    NXLog TLS Configuration Example

                    4. Next Steps

                    Advanced NXLog TLS Configuration Options

                    Troubleshooting Your NXLog TLS Configuration

                    • Wait a few minutes in case indexing needs to catch up
                    • Make sure you restarted the nxlog service
                    • Check if the certificate is properly installed in the cert directory of NXLog
                    • Make sure port 6514 outbound is open on your firewall and network settings
                    • Check our guide on Troubleshooting Nxlog
                    • Search or post your own NXLog TLS configuration question in the community forum.
                    Thanks for the feedback! We'll use it to improve our support documentation.