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

Change the number of records shown in Summary View Pie Charts

Scheduled Pinned Locked Moved General pfSense Questions
4 Posts 2 Posters 404 Views 2 Watching
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 Offline
    HansSolo
    last edited by HansSolo May 13, 2019, 8:42 AM May 13, 2019, 8:41 AM

    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 Offline
      HansSolo
      last edited by May 13, 2019, 8:53 AM

      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 Offline
        HansSolo
        last edited by HansSolo May 13, 2019, 8:58 AM May 13, 2019, 8:55 AM

        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
        • S Offline
          stephenw10 Netgate Administrator
          last edited by May 13, 2019, 2:15 PM

          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
          4 out of 4
          • First post
            4/4
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
            This community forum collects and processes your personal information.
            consent.not_received