Hi Luca, 
I got the output to text file working.  Use case is that we have a developer 
trying to integrate nprobe output to an application they're working on. The 
developer asked us to provide sample output in JSON format.  Any trick to do 
that?  
Thanks!
David   
    On Wednesday, August 1, 2018, 3:54:11 PM CDT, Luca Deri <[email protected]> 
wrote:  
 
 David,you need to use -P <dir>, but when you start nprobe, the user is nobody 
so this can be the problem. See also
--dont-drop-privileges              | Do not drop privileges changing to user 
nobody--unprivileged-user <name>          | Use <name> instead of nobody when 
dropping privileges
This said with -P you have text file, no JSON that instead can be 
exported--json-to-syslog                    | Export flows in JSON format to 
syslog--json-labels                       | In case JSON label is used (e.g. 
with ZMQ)--tcp <server:port>                 | Deliver flows in JSON format to 
the specified server via TCP.
to syslog, TCP or ELK.
What is the use case exactly?
Regards Luca


On 1 Aug 2018, at 22:26, David Kraut <[email protected]> wrote:
 I'm trying to send nprobe output to a file (preferably in JSON format). From 
the user guide, I'm guessing that's the -P option, but no matter what I do, I 
get an error stating - Sorry, the path you specified with -P is invalid.  I 
created a directory with 777 permission.  Could someone please provide a sample 
of how to use nprobe -P ? or how to output flows to a file?  I only need a 
small sample of flows on this file for testing.      
_______________________________________________
Ntop-misc mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-misc

_______________________________________________
Ntop-misc mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-misc  
_______________________________________________
Ntop-misc mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-misc

Reply via email to