Modify a widget?
-
Hi,
I would like a widget that shows firewall logs, but where I can omit WAN. So... As that is not possible, is the code for the widgets available?
Thanks
-
That is not currently possible. It's possible to only show logs for one specific interface in the widget, but it's not possible to exclude just one.
You can see the source on the firewall itself (
/usr/local/www/widgets/widgets/log.widget.php
) or on Github: https://github.com/pfsense/pfsense/blob/master/src/usr/local/www/widgets/widgets/log.widget.php -
@jimp said in Modify a widget?:
That is not currently possible. It's possible to only show logs for one specific interface in the widget, but it's not possible to exclude just one.
You can see the source on the firewall itself (
/usr/local/www/widgets/widgets/log.widget.php
) or on Github: https://github.com/pfsense/pfsense/blob/master/src/usr/local/www/widgets/widgets/log.widget.phpThanks, When you say "currently"... Will it perhaps change in the future? :)
-
While there are no plans I'm aware of to add that, given the functionality that's already there, it may not be terribly hard for someone to add and make a PR to do.
-
@jimp said in Modify a widget?:
While there are no plans I'm aware of to add that, given the functionality that's already there, it may not be terribly hard for someone to add and make a PR to do.
True, it looks quite nice, not been through the imports yet though. Will be something to figure for a rainy day perhaps. Thanks :)