Mailing List Archive

Re: How to save flows to read in other software such as R program or Matlab? (Emanuele Faranda)
Hi Emanuele,

I used -F option and it is working fine!

Thank you very much!


>
> Today's Topics:
>
> 1. Re: How to save flows to read in other software such as R
> program or Matlab? (Emanuele Faranda)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sun, 4 Jun 2017 13:16:42 +0200
> From: Emanuele Faranda <faranda@ntop.org>
> To: ntop-misc@listgateway.unipi.it
> Subject: Re: [Ntop-misc] How to save flows to read in other software
> such as R program or Matlab?
> Message-ID: <1aaa9f43-27c9-71e8-929b-4abb79d3628c@ntop.org>
> Content-Type: text/plain; charset="utf-8"; Format="flowed"
>
> Hi Alexandro,
>
> You could export flows to mysql (see ntopng -F option) and then process
> them to produce a text file.
>
> Another way is to enable user scripts with the "--enable-user-scripts"
> option and hook the flowDelete callback to execute a custom lua script
> in which you dump the flows information you are interested in to a text
> file. See the following link for more details.
>
> https://github.com/ntop/ntopng/blob/dev/doc/README.user_scripts
>
> Regards,
> Emanuele
>
>
> On 06/02/2017 08:58 PM, Alexandro Marcelo Zacaron wrote:
> > Hi list,
> >
> > I am a new user ntop. I has ntopng and nprobe configured and working.
> > According the config files:
> >
> > ntopng.conf
> > ---------------------------------------------------------------
> > --dns-mode=3
> > --max-num-flows=200000
> > --max-num-hosts=250000
> > --sticky-hosts=none
> > --redisi=@2
> >
> > --interface=eno16780032
> >
> > --data-dir=/srv/ntopng
> >
> > --local-networks="a.b.c.d/e"
> >
> > #ipfix
> > -i=tcp://127.0.0.1:5556 <http://127.0.0.1:5556>
> >
> >
> > nprobe-none.conf
> > ---------------------------------------------------------------
> > --zmq="tcp://*:5556"
> > --collector-port 4739
> > -i=none
> > -n=none
> >
> >
> > I participate group of research and we would like to save the flows
> > for in future simulations on R program or Matlab.
> >
> > I read in cento-UsersGuide(nprobe) it's possible in the chapter "Flows
> > Dump to Plain Text Files" however I dont have license for nprobe Cento.
> >
> > We (university) have license for ntopng and nprobe.
> >
> >
> > Then anyone know how to save de flows in directory for future
> > manipulations?
> >
> > *nprobe working just collector from switch.
> >
> >
> > Thanks advance,
> >
> > --
> > Alexandro Marcelo Zacaron
> > +55 45 9942 8561
> >
> >
> > _______________________________________________
> > Ntop-misc mailing list
> > Ntop-misc@listgateway.unipi.it
> > http://listgateway.unipi.it/mailman/listinfo/ntop-misc
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://listgateway.unipi.it/mailman/private/ntop-misc/
> attachments/20170604/90d9fe8a/attachment-0001.htm>
>
> ------------------------------
>
> _______________________________________________
> Ntop-misc mailing list
> Ntop-misc@listgateway.unipi.it
> http://listgateway.unipi.it/mailman/listinfo/ntop-misc
>
> End of Ntop-misc Digest, Vol 156, Issue 4
> *****************************************
>



--
Alexandro Marcelo Zacaron
+55 45 9942 8561