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.
Message added by EDACerton,

This version of the plugin is no longer available in Community Applications. Future updates and support will be provided at:

https://forums.unraid.net/topic/191178-plugin-enhanced-log-advanced-syslog-viewer-for-unraid/

Enhanced Log view with lines highlighted in color with Syslog filter

Featured Replies

This is a plugin that was inspired by the unmenu log view that highlighted certain lines in the log in color for ease in finding significant events.  Each line of the log is checked for events that may be significant and they are highlighted in a color representative of that event.  I used unmenu when I was on Unraid V4 and really liked the highlighted log feature.

 

The event strings that are searched were taken from the unmenu syslog configuration file.  Those event strings were mostly developed in the V4 days and are not totally up to the V6 events.  For example the only file system in those days was reiserfs. Now Unraid includes xfs and btrfs.  I expect that additional event strings will be added because of the V6 changes.

 

The plugin can be installed through "Community Applications".

 

The plugin adds an "Enhanced Log" entry in the Tools tab.  There is an icon in the 'Settings' page to configure which log events are highlighted - "Errors", "Minor Issues", etc.  This allows you to highlight only the areas you want to view.  You can also set the colors you want for the various log events.

 

If you feel there are events in the log that need to be highlighted, please post a snipet of the log with those events so I can add the search strings to highlight the log event.

 

Syslog Filter

 

There are times when debug or other repeating log entries will clog up the Syslog.  You can filter out these log entries from appearing at all in the Syslog.  The filter apples to log entries in Unraid Syslog and the Syslog Server logs.

 

Enter the text in the "Syslog FiIlter" that you want filtered and then click apply.  Each entry is on a separate line and needs to have a leading and training double quote.  Click apply to apply the filter.

 

You only use the log message itself and not the date/time or source for the filter.  For example:

Dec 15 11:04:02 BackupServer unassigned.devices: Removing old config...

 

To filter this log entry, enter this:

"Removing old config..."

 

into the Syslog Filter dialog.

Edited by dlandon

  • Replies 121
  • Views 41.9k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • Unassigned Devices, Unassigned Devices Plus, and Unassigned Devices Preclear (and also Cache Directories) are all published directly from the Unraid Repository.  These are NOT going to disappear...  G

  • Any chance we get this plugin to be published directly from the Unraid Repository also??   Or maybe can @EDACerton do for this what he did for file activity and open files plugins?

  • Update the plugin and then go to Settings->Syslog Settings and go to the Colors tab and click the Default button.  This will load the new default color scheme that is more compatible with the black

Posted Images

Just had a quick look at this, waves of nostalgia and a warm glow.  ;D

 

Thanks dlandon, awesome work as always...

  • Author

It does take a guy back to the V4 days.  The syslog view in unmenu was a feature I really liked.  Made searching for significant events much easier.

 

Don't know why I didn't do this sooner.

thank you for this

 

can you add this [see attachment] to the top of the window..?

 

please? ;D

 

legend.JPG.3ba8da38553434479c94177bdec26f5e.JPG

  • Author

thank you for this

 

can you add this [see attachment] to the top of the window..?

 

please? ;D

 

New version released that includes the legend.

Love it, but I'm having a display issue on my MacBook Pro 13". If I have Safari running at full screen, the log itself is shoved over to the right of the screen (see picture below). If I am not running full screen it works fine, except that then the WebGUI toolbar does't fit anymore.

 

Screen_Shot_2015-12-20_at_10_27.41_AM.png.73a621b3a5e5835a3286af3c8f3d6f9f.png

  • Author

Love it, but I'm having a display issue on my MacBook Pro 13". If I have Safari running at full screen, the log itself is shoved over to the right of the screen (see picture below). If I am not running full screen it works fine, except that then the WebGUI toolbar does't fit anymore.

 

Update and try it.

Any chance the legend could be put in a floating frame or something similar so that if I am scrolling through the log I don't need to go back up to the top of the page to check the colour legend?

 

Also is there a colour for docker errors? I know Docker was not around in the unMENU days!!

 

 

Thanks

Perfect, just what I was looking for.

 

thanks

 

Alex

Great to see this function back again. I agree, it makes reviewing your log file much easier.

 

Would it be easy to select/deselect the colors like we could in UnRAID? It would be great to just filter on warnings/errors for instance.

thank you for this

 

can you add this [see attachment] to the top of the window..?

 

please? ;D

 

New version released that includes the legend.

 

thank you  :D

Very nice. It makes searching through a log so much easier. One of the colours used (mid grey) doesn't appear in the legend.

Found some REd.... Eeekkkkkkkkkkkkkkk

 

Thanks for this.

This is great. I was able to spot a cache_dirs error I had missed with the plain logs (folder included that no longer exists). I see some false positive RED formatting logging the install of Nerdpack on boot (innocuous word matches me thinks).

  • Author

This is great. I was able to spot a cache_dirs error I had missed with the plain logs (folder included that no longer exists). I see some false positive RED formatting logging the install of Nerdpack on boot (innocuous word matches me thinks).

 

Post that red log entry and I'll see if I can revise the search strings to skip that.

false positive red entries

 

Dec 17 14:30:48 Tower logger: # calls and dumping the information to the standard error.  System

 

Dec 17 14:30:50 Tower logger: # is reliable, that is any non-fatal error is ignored and the operation

 

Dec 17 14:31:14 Tower logger: # supported by the Linux kernel.  Apple provides mkfs and fsck for

 

 

  • Author

I can see why the first two are listed because they explicitly have the word "error" in the message. I think those would require explicit false positive phrase rejection to keep it from showing up.

 

Not sure on the last one, unless the word "kernel" is a trigger.

 

 

 

 

Then again perhaps it's the word Apple, which is very dangerous. ;)

 

1. Error is the match.

2. fsck is the match.  Not sure why 'fsck' is in the search list.

2. fsck is the match.  Not sure why 'fsck' is in the search list.

Probably because it would show up when flash corruption was detected.
  • Author

I've changed the location of the log view icon to 'Tools->System Information' and added a settings gui to the 'Settings' tab to permit you to select only the events you want highlighted in the log.

  • Author

false positive red entries

 

Dec 17 14:30:48 Tower logger: # calls and dumping the information to the standard error.  System

 

Dec 17 14:30:50 Tower logger: # is reliable, that is any non-fatal error is ignored and the operation

 

Dec 17 14:31:14 Tower logger: # supported by the Linux kernel.  Apple provides mkfs and fsck for

 

Thise are comment lines.  I've made it so those are skipped.

false positive red entries

 

Dec 17 14:30:48 Tower logger: # calls and dumping the information to the standard error.  System

 

Dec 17 14:30:50 Tower logger: # is reliable, that is any non-fatal error is ignored and the operation

 

Dec 17 14:31:14 Tower logger: # supported by the Linux kernel.  Apple provides mkfs and fsck for

Thise are comment lines.  I've made it so those are skipped.

 

 

Cool. I was going to post the false positive BLUE lines but they too are comment lines and figured you might go this route for filtering.  :)

  • Author

New release is available.

 

New features:

- You can now set which types of log events you want highlighted and the color used for each event.  The colors can be entered by name or color number.

- The log can be scrolled and the color legend will not scroll off the page.

- Comment lines are no longer highlighted.

 

I will probably take the beta status off this plugin in a few days.

 

EDIT: To get the color selection feature to work, uninstall and then re-install the plugin.

I like the new settings. Just didn't realize I had to hit the default button to populate the colors. No matter, but works great now after I've upgraded to 2015.12.22

 

 

Would it be easy to select/deselect the colors like we could in UnMenu? It would be great to just filter on warnings/errors for instance.

 

+1 for the filtering request.

  • Author

 

 

Would it be easy to select/deselect the colors like we could in UnMenu? It would be great to just filter on warnings/errors for instance.

 

+1 for the filtering request.

 

Implemented in the latest release.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

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.