I hereby claim:
- I am dadoonet on github.
- I am dadoonet (https://keybase.io/dadoonet) on keybase.
- I have a public key ASAO0iyeEGc4SdS0o_h57mZ4tzHdCcblMVLnQXDkWQYr8wo
To claim this, I am signing this object:
{ | |
"meta": { "theme": "elegant" }, | |
"basics": { | |
"name": "David Pilato", | |
"label": "Developer | Evangelist", | |
"image": "https://storage.cloud.google.com/dadoonet-speaker/DevoxxMA-David-Speaker.JPG", | |
"email": "david@pilato.fr", | |
"phone": "+33 613030841", | |
"url": "https://david.pilato.fr", | |
"summary": "A summary of John Doe…", |
// Start the first node and keep the generated security credentials handy | |
docker run -e ES_JAVA_OPTS="-Xms1g -Xmx1g" -p 9200:9200 -it docker.elastic.co/elasticsearch/elasticsearch:8.0.0 | |
// Check if the node has started correctly | |
curl --insecure --user elastic https://localhost:9200/ | |
// Add your second node | |
docker run -e ENROLLMENT_TOKEN="..." -e ES_JAVA_OPTS="-Xms1g -Xmx1g" -it docker.elastic.co/elasticsearch/elasticsearch:8.0.0 | |
// Check if it has joined the cluster |
PUT _ingest/pipeline/attachment | |
{ | |
"description" : "Extract attachment information", | |
"processors" : [ | |
{ | |
"attachment" : { | |
"field" : "data" | |
} | |
},{ | |
"remove": { |
DELETE user | |
PUT user | |
{ | |
"settings": { | |
"number_of_shards": 1 | |
}, | |
"mappings": { | |
"_doc": { | |
"properties": { | |
"name": { |
I hereby claim:
To claim this, I am signing this object:
### Step 0 : INIT | |
DELETE test | |
DELETE person | |
### Step 1 | |
GET / | |
GET _cat/indices/person*?v&h=index,docs.count,store.size |
### REINIT | |
DELETE user | |
PUT user | |
{ | |
"mappings": { | |
"properties": { | |
"name": { | |
"type": "text" | |
}, | |
"comments": { |
# 52.35.38.35 - - [19/Apr/2016:12:00:04 +0200] "GET / HTTP/1.1" 200 24 | |
# Start with empty pipeline | |
GET _ingest/pipeline/_simulate | |
{ | |
"pipeline" : { | |
"processors" : [ | |
] | |
}, | |
"docs" : [ |
GET /logstash-2015.04.30/_search | |
{ | |
"query": { | |
"filtered": { | |
"filter": { | |
"bool": { | |
"must": [ | |
{ | |
"term": { | |
"type": "iis6" |
#!/bin/bash | |
pkill -f 'elasticsearch.*cluster.name=8823' | |
rm -rf data/8823 | |
bin/elasticsearch -Des.node.master=true -Des.cluster.name=8823 -Des.node.name=master 2>&1 >/dev/null & | |
sleep 1 | |
bin/elasticsearch -Des.node.master=false -Des.cluster.name=8823 -Des.node.name=data1 2>&1 >/dev/null & | |
sleep 1 |