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

    Change the number of records shown in Summary View Pie Charts

    General pfSense Questions
    2
    4
    269
    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.
    • H
      HansSolo
      last edited by HansSolo

      Just wondering if there's any "easy" way to increas the number of records pfsense reads (or maybe more accurately, DISPLAYS) when displaying Summary Pie Charts. For example, in the Source IP's chart, I'd like to see the top 50 entries rather than the default 5.

      I haven't been able to find a setting for that. Does it exist or would it have to be done by altering the code for the page that retrieves the records?

      1 Reply Last reply Reply Quote 0
      • H
        HansSolo
        last edited by

        So, I think I found it in the file.....

        /usr/local/www/status_logs_filter_summary.php

        Line 32

        $lines = 5000;
        $entriesperblock = 5;

        I "think" I just need to change 5 to whatever I want.

        1 Reply Last reply Reply Quote 0
        • H
          HansSolo
          last edited by HansSolo

          YEP !!!

          That did it. Now I can have the Pie Charts include any number of entries I choose. 5 wasn't a big enough sample (IMO)

          I set mine to display the top 25 entries.

          The more I use this, the more I like it.👍

          1 Reply Last reply Reply Quote 1
          • stephenw10S
            stephenw10 Netgate Administrator
            last edited by

            Hmm, that could be gui variable quite easily I would think. You could add it as a feature request. Or submit a pull request...

            Steve

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