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

Syslog Webgui Log View Option

Scheduled Pinned Locked Moved General pfSense Questions
9 Posts 3 Posters 899 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.
  • V
    vallum
    last edited by Nov 15, 2018, 2:10 PM

    Is it possible to get rid of log display for service syslog-ng.
    because with gb's of logs running it makes firewall utilize all CPU to display logs over GUI and commits suicide.

    Manu

    T 1 Reply Last reply Nov 17, 2018, 2:22 AM Reply Quote 0
    • T
      tim.mcmanus @vallum
      last edited by Nov 17, 2018, 2:22 AM

      @rootvallum said in Syslog Webgui Log View Option:

      Is it possible to get rid of log display for service syslog-ng.
      because with gb's of logs running it makes firewall utilize all CPU to display logs over GUI and commits suicide.

      Log into the console and view logs from there. Virtually no performance hit doing it that way.

      V 1 Reply Last reply Nov 17, 2018, 4:59 AM Reply Quote 1
      • V
        vallum @tim.mcmanus
        last edited by Nov 17, 2018, 4:59 AM

        @tim-mcmanus said in Syslog Webgui Log View Option:

        @rootvallum said in Syslog Webgui Log View Option:

        Is it possible to get rid of log display for service syslog-ng.
        because with gb's of logs running it makes firewall utilize all CPU to display logs over GUI and commits suicide.

        Log into the console and view logs from there. Virtually no performance hit doing it that way.

        When you click on syslog-ng , instead of opening configuration page it loads logs which causes this issue, why can't log display page be disabled? Who manage syslog-ng package

        @jimp please give some input

        Manu

        1 Reply Last reply Reply Quote 0
        • S
          stephenw10 Netgate Administrator
          last edited by Nov 20, 2018, 12:06 AM

          How many log lines do you have it set to? Does that matter?

          It should be pretty trivial change to make the link to the config page instead. Or maybe have the log page not actually open a log until you hit 'refresh' like the state table filter setting does.

          Steve

          V 1 Reply Last reply Nov 20, 2018, 7:44 AM Reply Quote 0
          • S
            stephenw10 Netgate Administrator
            last edited by Nov 20, 2018, 12:42 AM

            You can edit the menu entry in the config as a temporary workaround or to test it.

            		<menu>
            			<name>Syslog-ng</name>
            			<tooltiptext>Setup Syslog-ng</tooltiptext>
            			<section>Services</section>
            			<url>/pkg_edit.php?xml=syslog-ng.xml&amp;id=0</url>
            		</menu>
            

            Steve

            V 1 Reply Last reply Nov 20, 2018, 7:47 AM Reply Quote 0
            • V
              vallum @stephenw10
              last edited by Nov 20, 2018, 7:44 AM

              @stephenw10 said in Syslog Webgui Log View Option:

              How many log lines do you have it set to? Does that matter?

              value is default 10, I have not changed it.

              It should be pretty trivial change to make the link to the config page instead. Or maybe have the log page not actually open a log until you hit 'refresh' like the state table filter setting does.

              Yeah that would be really helpful or maybe in configuration page new "option" for users to disable log view page .

              Steve

              Hi Stephen,
              I hope you are doing okay :), when I started working with open-source firewalls you helped me a lot, I would like to thank you for your support and congratulations for getting promoted as Netgate Admin :)

              I have configured syslog-ng to accept firewall filter logs and squid logs, daily log size is 5 Gb + and tons of lines get added every second.
              I was able to fix this issue with logrotate service by truncating syslog-ng log file after every one hour but it caused some issues with firewall going to read only mode(don't know it behaved like that).
              I have observed via TOP command that after clicking syslog-ng service, "sort" process consumes all cpu.

              Manu

              1 Reply Last reply Reply Quote 0
              • V
                vallum @stephenw10
                last edited by vallum Nov 20, 2018, 7:48 AM Nov 20, 2018, 7:47 AM

                @stephenw10 said in Syslog Webgui Log View Option:

                You can edit the menu entry in the config as a temporary workaround or to test it.

                		<menu>
                			<name>Syslog-ng</name>
                			<tooltiptext>Setup Syslog-ng</tooltiptext>
                			<section>Services</section>
                			<url>/pkg_edit.php?xml=syslog-ng.xml&amp;id=0</url>
                		</menu>
                

                Steve

                Okay Steve I will try this and update you.

                Manu

                1 Reply Last reply Reply Quote 0
                • S
                  stephenw10 Netgate Administrator
                  last edited by Nov 21, 2018, 5:23 PM

                  There is now a package update available with that change in it. You should see it in package manager. Let me know if you see any problems.

                  Steve

                  V 1 Reply Last reply Nov 22, 2018, 7:07 AM Reply Quote 0
                  • V
                    vallum @stephenw10
                    last edited by Nov 22, 2018, 7:07 AM

                    @stephenw10 said in Syslog Webgui Log View Option:

                    There is now a package update available with that change in it. You should see it in package manager. Let me know if you see any problems.

                    Steve

                    Thanks Steve, I'll update you soon.

                    Manu

                    1 Reply Last reply Reply Quote 0
                    1 out of 9
                    • First post
                      1/9
                      Last post
                    Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                      This community forum collects and processes your personal information.
                      consent.not_received