Hi Jeremy I think nobody else is using the json output, it was not passing the validity check, I made a few fixes now, rebuilding new dev packages, please update in 1h.
Thank you Alfredo > On 19 Feb 2016, at 14:35, Jeremy Ashton <[email protected]> wrote: > > I was looking to dump n2disk index files in json format, but it seems there > are errors in the structure. > > npcapprintindex -i 149.pcap.idx | tail -1 > 287935) len: 1514, vlan: 0, vlan_qinq: 0, ipv4, proto: 6, 10.0.0.1:80 > <http://10.0.0.1/> -> 192.168.0.1:37808 <http://192.168.0.1:37808/> > > npcapprintindex -ji 149.pcap.idx | tail -1 > { length : 1514tuple : { plan : 0, vlan_qinq : 0, ip_version : 4, protocol : > 6, src_ip : "10.0.0.1", dst_ip : "192.168.0.1", src_port : 80, dst_port : > 37808 } } > > It appears the json is not being formatted correctly. Is there something I > should be doing differently to get properly formatted json out of index? > > Thanks! > _______________________________________________ > Ntop-misc mailing list > [email protected] > http://listgateway.unipi.it/mailman/listinfo/ntop-misc
signature.asc
Description: Message signed with OpenPGP using GPGMail
_______________________________________________ Ntop-misc mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop-misc
