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

    Ntopng change log directory

    Scheduled Pinned Locked Moved Traffic Monitoring
    ntopnglogdirectory
    6 Posts 2 Posters 2.0k 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.
    • T
      Toube
      last edited by

      Hi all,

      First post here, please by kind.
      I tried searching the forums but I couldn't find an answer.

      I have ordered the hardware for my pfsense router / firewall and I'm going to install an additional 250gb ssd flash drive for keeping the ntopng logs on that drive.

      So I will install the ntopng package using the package manager in pfsense.
      Can I during installation select the directory where I want the ntopng logs to be stored or can I do it afterwards?

      Thanks in advance.

      -Toube

      T 1 Reply Last reply Reply Quote 0
      • T
        Toube @Toube
        last edited by

        Or is it just a matter of setting the log directory after installing it using this command:
        [--data-dir|-d] <path>

        So this could be done by loggin into pfsense using ssh and doing this command before enabling the ntopng?

        ntopng [--data-dir|-d] <path>

        -Toube

        1 Reply Last reply Reply Quote 0
        • T
          Toube
          last edited by

          Not too many following these netgate forums I assume.

          1 Reply Last reply Reply Quote 0
          • kiokomanK
            kiokoman LAYER 8
            last edited by kiokoman

            more likely no one know for sure, my 2 cent is that you can't do that from the gui but maybe with a script that manually run it with that command line ...

            ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
            Please do not use chat/PM to ask for help
            we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
            Don't forget to Upvote with the 👍 button for any post you find to be helpful.

            T 1 Reply Last reply Reply Quote 0
            • T
              Toube @kiokoman
              last edited by Toube

              @kiokoman said in Ntopng change log directory:

              more likely no one know for sure, my 2 cent is that you can't do that from the gui but maybe with a script that manually run it with that command line ...

              Hi @kiokoman
              Yeah I second that. After installing it using pfsense ui then login in to pfsense os with ssh and do a following command:
              ntopng [--data-dir|-d] <path>

              I'm just a bit surprised that nobody has changed the log directory as it uses a big amount of data when writing the logs and statistics.

              -Toube

              T 1 Reply Last reply Reply Quote 0
              • T
                Toube @Toube
                last edited by

                Got the log directory changed when following a guide from 2015 from these forums.

                -Toube

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