Firewall: Log Files: Live View (25.7.8)

Started by SenseX, November 26, 2025, 07:08:14 PM

Previous topic - Next topic
November 26, 2025, 07:08:14 PM Last Edit: November 28, 2025, 06:31:02 PM by SenseX
Hi,

After updating to 25.7.8 I can't change the columns size in the Firewall: Log Files: Live View.

Thanks in advanced

I missed that. Confirmed, columns seem fixed. I didn't think "firewall: live log: make this grid static and slightly adjust info column width" meant that. Static columns seems an odd choice, if it was deliberate.

Nitpick: It'd be nice if the line shade was consistent - not by position (as it is now), but by element (so the text shade remains the same as it scrolls). I find the changing light/dark shading makes it harder to follow a particular entry.

I just updated today.
Live view is horrible now. Fixed columns, wasted space in some columns and text truncated in others like time for example without even be able to resize.


ok, thanks. applied both.
wasted space seems the same but now I least I can resize, I'm happy with that.

> wasted space seems the same

No, it's not the same.


Cheers,
Franco

November 30, 2025, 06:48:18 AM #6 Last Edit: November 30, 2025, 06:53:21 AM by OPNenthu
Quote from: pfry on November 26, 2025, 07:31:42 PMNitpick: It'd be nice if the line shade was consistent - not by position (as it is now), but by element (so the text shade remains the same as it scrolls). I find the changing light/dark shading makes it harder to follow a particular entry.

I agree, the zebra coloring behind the moving text is throwing me off.  There are two challenges:

1) The fact that neighboring elements of the same type (e.g. multiple adjacent 'block' logs) have contrasting lighter/darker shades of the same color makes me think that those are different categories or types of log lines even though they're all just block actions.

2) As you mentioned, the row shade doesn't follow the text as it moves down the screen, so a 'pass' action will alternate between shades of green as it makes its way down.  This causes me to visually lose track of the line.

If it's not too much, I think an option to toggle the zebra shading off would be useful for some.

Hi OPNenthu,

what do you mean with the zebra coloring text.
Could it belong  to the theme you are using?
When I use my theme flexcolor black I don't have the zebra coloring (see attached image).
For the other schemes light and darklight you have this alternating color stripes, but you can change this by yourself by changing the "tablestripeback" to the same color as for "tableback" in the default_scheme.css of the flexcolor skin and restart the flexcolor service.
If you don't like flexcolor I believe there are more skins without an alternating stripe color as well.

November 30, 2025, 04:20:22 PM #8 Last Edit: November 30, 2025, 04:25:32 PM by OPNenthu
I'm referring to the recent (in the last few releases) change in the opensense-dark theme that uses alternating light/dark shades ("zebra stripes") for table rows.  In static images it looks rather nice, actually.  In live view however it plays tricks with my mind, especially since the shade doesn't stay with the entry as it progresses.  An entry that started as dark green for example will change between light and dark green as it moves, making it difficult to track.  Ditto for reds and blues.

Quote from: Schnuffel2008 on November 30, 2025, 01:00:05 PMyou can change this by yourself by changing the "tablestripeback" to the same color as for "tableback" in the default_scheme.css of the flexcolor skin and restart the flexcolor service.

I'm not very familiar with what you're talking about here, tbh.  Is flexcolor the name of your theme, or a service that all themes have in common?

I can try to mod it on my end of course but would be great if there were some theme options in the UI.

November 30, 2025, 05:03:47 PM #9 Last Edit: Today at 02:00:44 PM by Schnuffel2008
When I see your screenshot, I think it is the way I said.
That is not an option in the theme that you can choose. The OPNsense-dark screen uses these stripped color scheme and since you have a dark background and then a light background as a stripe it looks like a zebra.
You can change this by changing the theme to one without those alternative colors.
If you want to give my skin a try here is how you can install it:
Open System --> Firmware --> Plugins in the Opnsense-Webgui.
Be sure that you check: "Show community plugins" on the right side of the list.
Scroll down the list till you find the plugins starting with os-theme...
The theme that I've created is called os-theme-flexcolor but you can try others of course if you don't like my work.
You have to install the theme with the plus button on the right side.
After that go to: System --> Settings --> General.
There you can choose the theme flexcolor or another one.
After clicking the save button at the end of the page you have applied the theme and all colors will be changed and
the zebra effect will be gone.


Quote from: franco on November 28, 2025, 03:32:51 PM> wasted space seems the same

No, it's not the same.


Cheers,
Franco

Time is truncated and Source and Destination have a lot of wasted space. That's at least how I see it.


Quote from: Kayakero on Today at 12:25:41 PMTime is truncated and Source and Destination have a lot of wasted space. That's at least how I see it.

Source and Destination have extra whitespace for "Lookup hostnames".

Heh: Perhaps a good application for a template?

Quote from: pfry on Today at 02:48:57 PM
Quote from: Kayakero on Today at 12:25:41 PMTime is truncated and Source and Destination have a lot of wasted space. That's at least how I see it.

Source and Destination have extra whitespace for "Lookup hostnames".

Heh: Perhaps a good application for a template?

Hostnames are two different new columns when you check it.
templates are just for the filters I think. There's no template for shown columns nor you can add or remove dynamically at least from what I've tested.

I'm and an old school guy from the times of "static html"  .. where the browser adjusted the windows real state space in a smart way when rendering or adjusting size.
Now everything of course is dynamic, and refreshing live and columns moving and adjusting width each refresh won't be a good user experience.
So I suppose you have to make a trade off. I'm not complaining.