I hereby claim:
- I am tsouza on github.
- I am tsouza (https://keybase.io/tsouza) on keybase.
- I have a public key ASA9pm6FjUCJHGAaCN9IS9T-uQfviv_1_AOZ_2kupf_i6Ao
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
PUT /test_items | |
{ | |
"mappings": { | |
"item": { | |
"properties": { | |
"name_suggest": { | |
"type": "keyword" | |
} | |
} | |
} |
POST _search/template/files_per_host | |
{ | |
"template": { | |
"query": { | |
"indices": { | |
"indices": [ | |
"<vcp-logstash-{now}>", | |
"<vcp-logstash-{now-1h}>" | |
], | |
"query": { |
filebeat: | |
prospectors: | |
- | |
paths: | |
- "/path/to/file.log" | |
multiline: | |
pattern: (^.* TRACE .*$)|^[^\d].*$ | |
negate: true | |
match: after |
import json | |
import moment | |
from elasticsearch import helpers | |
from elasticsearch import Elasticsearch | |
import Geohash | |
es = Elasticsearch("demo:9200") |