I found this in the source code:
printf("[--dump-format|-D] <format> | <format>: flows are saved as:\n"
" | b : raw/uncompressed
flows\n"
" | t : text flows\n"
#ifdef HAVE_SQLITE
" | d : SQLite\n"
#endif
Indeed, when I run nprobe --h, the line above about sqlite doesn't get printed,
so presumably the problem is that it thinks I don't have sqlite installed. How
do I get it to recognise that it's installed?
I also see this in the nprobe user guide:
" Support for disk-dump flow, either text files or SQLite files, and MySQL
database server dump flow."
Is it really possible to make it dump to MySQL? What's the parameter?
Peter Shute
> -----Original Message-----
> From: [email protected] [mailto:ntop-misc-
> [email protected]] On Behalf Of Peter Shute
> Sent: Thursday, 1 September 2016 11:23 AM
> To: '[email protected]' <[email protected]>
> Subject: [Ntop-misc] Dumping nprobe output to sqlite doesn't work
>
> I'm trying to use the -D option to get nprobe dumping to sqlite, but it
> continues to dump in text format as if the "-D d" parameter hasn't been
> specified. If I specify "-D b" it dumps in binary format, so why doesn't "-D
> d"
> work?
>
> This is my command:
> sudo nprobe -i none -n none --collector-port 9997 -V9 --zmq
> tcp://192.168.0.222:2055 -P nprobelogs --dont-nest-dump-dirs -D d
>
> Peter Shute
> _______________________________________________
> 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