Elasticsearch REST API: JEST upsert

I've already written about tips and tricks when using the Elasticsearch Java API. The Elasticsearch REST API has been going from strength to strength, and it seems that going forward the Elasticsearch team will focus more on the REST API than the native JAVA client. At the time of writing however, the official java REST library … Continue reading Elasticsearch REST API: JEST upsert

Simple DNS Sniffer in GoLang

Golang makes it really simple to code some otherwise arduous tasks. In this case, we needed to sniff raw network data, filter out DNS data, and send the DNS queries and responses to an Elasticsearch cluster. The resulting code is surprisingly simple thanks to libraries such as GoPacket, as you can see below: https://gist.github.com/dvas0004/3d280f95a83a3084b314ea208f19f9e9 The … Continue reading Simple DNS Sniffer in GoLang