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

Ntopng change log directory

Traffic Monitoring
ntopng log directory
2
6
1.7k
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 Dec 7, 2019, 9:09 AM

    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 Dec 7, 2019, 2:10 PM Reply Quote 0
    • T
      Toube @Toube
      last edited by Dec 7, 2019, 2:10 PM

      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 Dec 10, 2019, 11:20 AM

        Not too many following these netgate forums I assume.

        1 Reply Last reply Reply Quote 0
        • K
          kiokoman LAYER 8
          last edited by kiokoman Dec 10, 2019, 11:25 AM Dec 10, 2019, 11:24 AM

          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 Dec 10, 2019, 11:29 AM Reply Quote 0
          • T
            Toube @kiokoman
            last edited by Toube Dec 10, 2019, 11:31 AM Dec 10, 2019, 11:29 AM

            @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 Dec 19, 2019, 8:18 AM Reply Quote 0
            • T
              Toube @Toube
              last edited by Dec 19, 2019, 8:18 AM

              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.