Skip to content

Instantly share code, notes, and snippets.

{
"properties": {
"cuckoo_node": {
"type": "null"
},
"dropped": {
"items": {
"properties": {
"crc32": {
"type": "string"
from elasticsearch import Elasticsearch
es = Elasticsearch(["http://localhost:9200"])
index = "cuckoo-*"
page_size = 100
page = 40
report_id = 375
search = {
"size": page_size,
"from": page * page_size
@swackhamer
swackhamer / cuckoo-template
Created June 22, 2016 02:11
cuckoo template
{
"order": 0,
"template": "cuckoo-*",
"settings": {
"index": {
"number_of_shards": "1",
"codec": "best_compression",
"number_of_replicas": "1"
}
},