Skip to content

Instantly share code, notes, and snippets.

@frenchbread
Created December 2, 2015 09:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save frenchbread/7672dbaf55b3d39232a1 to your computer and use it in GitHub Desktop.
Save frenchbread/7672dbaf55b3d39232a1 to your computer and use it in GitHub Desktop.
var config = {
host: "hostname"
};
var options = {
index: 'api-umbrella-logs-v1-2015-12',
type: 'log',
size: 10,
query: {
match_all: {}
},
fields: [
'request_at',
'request_ip_country',
'request_ip',
'response_time',
'request_path',
'request_ip_location.lon',
'request_ip_location.lat'
]
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment