Joined: 08 May 2018 Posts: 14217 Location: Texas, USA
Posted: Tue Jun 29, 2021 22:49 Post subject:
Kiwi Syslog Server and Papertrail (both by SolarWinds) are the same thing; Kiwi is locally hosted whereas Papertrail is hosted on the internet. Kiwi is linked in that wiki. I do not understand how you failed to connect the dots. _________________ "Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT Pogo - A minimal level of ability is expected and needed... DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)
----------------------
Linux User #377467 counter.li.org / linuxcounter.net
Joined: 08 May 2018 Posts: 14217 Location: Texas, USA
Posted: Wed Jun 30, 2021 5:00 Post subject:
This applies to both:
SolarWinds wrote:
Configure Syslog on Boot
To configure syslog to use a port other than 514, create a startup script via the router’s telnet/SSH connection and enter the following set of commands:
Check the Papertrail account's log destinations to see which hostname has been assigned, then replace XXXXX with the port, and <LOG DESTINATION IP ADDRESS> with the hostname’s IP address from nslookup.
DD-WRT firmware versions other than "micro" can also send security events. To enable security events, visit the "Security" tab, scroll to "Log Management," and enable desired options.
DD-WRT Wiki wrote:
Remote logging with Papertrail
Papertrail provides hosted log management, live in minutes. It's free of charge (if you do not need more than 100MB a month). Setup is easy with a just few of clicks. You can access and see your logs from anywhere in the world by visiting Papertrail web page.
Once you have a Papertrail account, the easiest way to setup the website logging in DD-WRT is to use the unique hostname and port that Papertrail provides to you for your account, and paste it into the Remote Server field.
Go to the Settings tab in Papertrail
Click Log Destinations tab
Copy the url and port number provided (i.e. logs2.papertrailapp.com:xxxxx)
Go to the Services tab in DD-WRT
Enable Syslog on the Services tab
Paste the url from step 3 into the Remote Server field for Syslog
Apply changes, and your router will begin sending logs to the Papertrail website
The port number is irrelevant (besides writing IP_xyz:6514 instead of IP_xyz). What is relevant is TCP vs UDP: The standard implementation on dd-wrt and others is to log over UDP (i.e. connection-less). To use TCP, the syslogd or klogd has to set-up a connection to the server before sending any other data. Moreover if your want to use TLS on top of that.
(And as kernel-panic69 already told you, kiwi and papertrail are similar from dd-wrt point of view).
To better understand the scenario I suggest you to read about TCP, UDP, TLS, and syslog, klog. _________________ If you want support, please read first the announcements and forum rules.
Si usted desea ayuda, por favor lea primero los anuncios y las reglas del foro.