Skip to content

Instantly share code, notes, and snippets.

input {
tcp {
port => 8000
type => access_log
}
}
filter {
org.elasticsearch.client.transport.NoNodeAvailableException: None of the configured nodes are available: []
GET /products/product/_search
{
"query": {
"match_all" : {}
},
"aggs" : {
"group_by_scode" : {
"terms" : {
"field" : "SCODE"
}
{
"took": 4,
"timed_out": false,
"_shards": {
"total": 5,
"successful": 5,
"failed": 0
},
"hits": {
"total": 6,
Query =
GET /products/product/_search
{
"query": {
"match_all" : {}
},
"aggs" : {
"group_by_scode" : {
"terms" : {
"field" : "SCODE"
{
// Settings
"passfail" : false, // Stop on first error.
"maxerr" : 100, // Maximum errors before stopping.
// Predefined globals whom JSHint will ignore.
"browser" : true, // Standard browser globals e.g. `window`, `document`.
"node" : true,
if("undefined" === typeof document.currentScript){
(function(){
/***************************************************************************/
/* document.currentScript polyfill + improvements */
/***************************************************************************/
var scripts = document.getElementsByTagName('script');
document._currentScript = document.currentScript;
// return script object based off of src
var getScriptFromURL = function(url) {
@cphoover
cphoover / gist:6157082
Last active December 20, 2015 15:49
RFC 2616 | HTTP 1.1 | Pertinent to Caching

HTTP 1.1 | Pertinent to Caching

9.1.1 Safe Methods

Implementors should be aware that the software represents the user in their interactions over the Internet, and should be careful to allow the user to be aware of any actions they might take which may have an unexpected significance to themselves or others.