Created
December 30, 2014 17:06
-
-
Save tebriel/520e8e8d7555f4139892 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
POST /pindrop/_search HTTP/1.1 | |
Content-Type: application/json | |
Host: logstash.local:9200 | |
Connection: close | |
User-Agent: Paw/2.1.1 (Macintosh; OS X/10.10.2) GCDHTTPRequest | |
Content-Length: 209 | |
{ | |
size: 0, | |
"aggregations" : { | |
"myLarge-GrainGeoHashGrid" : { | |
"geohash_grid" : { | |
"field" : "location", | |
"precision" : 3 | |
} | |
} | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"_shards": { | |
"failed": 0, | |
"successful": 1, | |
"total": 1 | |
}, | |
"aggregations": { | |
"myLarge-GrainGeoHashGrid": { | |
"buckets": [] | |
} | |
}, | |
"hits": { | |
"hits": [], | |
"max_score": 0.0, | |
"total": 3336419 | |
}, | |
"timed_out": false, | |
"took": 103 | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"template_pindrop": { | |
"aliases": {}, | |
"mappings": { | |
"call_location": { | |
"properties": { | |
"location": { | |
"type": "geo_point" | |
} | |
} | |
} | |
}, | |
"order": 0, | |
"settings": { | |
"index.number_of_replicas": "0", | |
"index.number_of_shards": "1" | |
}, | |
"template": "pindrop*" | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"_index": "pindrop_rev3", | |
"_type": "api", | |
"_id": "AUqcIyssv_-yUajZ4iIN", | |
"_score": 1, | |
"_source": { | |
"@version": "1", | |
"@timestamp": "2014-12-01T22:36:09.000Z", | |
"call_location_geojson": [ | |
-73.045803, | |
41.551994 | |
], | |
"call_location": { | |
"location": { | |
"lat": 41.551994, | |
"lon": -73.045803 | |
} | |
} | |
}, | |
"fields": { | |
"@timestamp": [ | |
1417473369000 | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment