Typesense + Tshark PCAP = Magic!
- nodejs 12.x+
- docker
- tshark
Run a Typesense instance using docker
$ npm install
$ npm run typesenseServer
Configure your server and collection settings using the .env
file
Create & Import custom PCAP data/schema using tshark
(ek json)
$ tshark -T ek -j "port 22" -P -V -x -c 100 | sed '/^{"index/d' > data/pcap.json
$ npm run populateTypesenseIndex
Bootstrap your Application
$ npm start
Browse to http://localhost:3000 to search and view your PCAP data.