Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Forward syslog & HTTP logs to central logging server

Featured Replies

Hello all,

 

Happy Unraid user here for nearly a year now.  I'd like to forward the syslog from my Unraid server to a central logging server (syslog-ng) I have setup.  Does anyone know how to go about doing so?  In *nix its super easy just edit syslog.conf and add "@%ipaddress% to one of the lines.

 

Thanks in advance!

 

dustino

It's nearly the same way with unRAID since it's built on top of a mini-Slackware distro, except you need to perform the step upon every reboot to update /etc/syslog.conf and restart the syslogd.

It's nearly the same way with unRAID since it's built on top of a mini-Slackware distro, except you need to perform the step upon every reboot to update /etc/syslog.conf and restart the syslogd.

 

Put the commands in /boot/config/go and they will execute on every boot.

  • Author

Thanks all.  Here's what I added to /boot/config/go:

 

echo "*.*                                               @192.168.1.10" >> /etc/syslog.conf
/etc/rc.d/rc.syslog restart

 

 

 

  • Author

Another somewhat related question:

 

Is there a way to send the HTTP servers logs to syslog so they also get sent to the central server?  I did some searching and found that Unraid runs the EM HTTP server but have  not found the answer I'm looking for.

 

Seems to me this functionality would require the install of another package (https://github.com/melito/em-syslog) but looking for input.

 

Thanks in advance.

 

dustino

  • Author

Ah thanks, sorry for the duplicate post.  Though my other question has made it more unique.

 

mbryanr: your solution may be more graceful albeit seems needlessly complex and mine's working so I'll leave it but thanks!

 

My follow up / related question is:

 

Is there a way to send the HTTP servers logs to syslog so they also get sent to the central server?  I did some searching and found that Unraid runs the EM HTTP server but have  not found the answer I'm looking for.

 

Seems to me this functionality would require the install of another package (https://github.com/melito/em-syslog) but looking for input.

 

TIA!

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.