Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Modify a widget?

    Scheduled Pinned Locked Moved General pfSense Questions
    5 Posts 2 Posters 538 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • F
      furom
      last edited by

      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

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        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

        Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        F 1 Reply Last reply Reply Quote 2
        • F
          furom @jimp
          last edited by

          @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.php

          Thanks, When you say "currently"... Will it perhaps change in the future? :)

          1 Reply Last reply Reply Quote 0
          • jimpJ
            jimp Rebel Alliance Developer Netgate
            last edited by

            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.

            Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

            Need help fast? Netgate Global Support!

            Do not Chat/PM for help!

            F 1 Reply Last reply Reply Quote 1
            • F
              furom @jimp
              last edited by

              @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 :)

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.