1 shard, 0 replica.
Update default template:
curl -X PUT http://localhost:9200/_template/default -H 'Content-Type: application/json' -d '{"index_patterns": ["*"],"order": -1,"settings": {"number_of_shards": "1","number_of_replicas": "0"}}' 1 shard, 0 replica.
Update default template:
curl -X PUT http://localhost:9200/_template/default -H 'Content-Type: application/json' -d '{"index_patterns": ["*"],"order": -1,"settings": {"number_of_shards": "1","number_of_replicas": "0"}}' | package main | |
| import ( | |
| "database/sql" | |
| "fmt" | |
| "log" | |
| "math/rand" | |
| "os" | |
| "time" |
| package main | |
| import ( | |
| "fmt" | |
| "reflect" | |
| "unsafe" | |
| ) | |
| func main() { | |
| s := make([]string, 1, 2) |
| #!/bin/bash | |
| apt-get install apt-transport-https ca-certificates curl gnupg2 software-properties-common sudo | |
| curl -fsSL https://download.docker.com/linux/$(. /etc/os-release; echo "$ID")/gpg | sudo apt-key add - | |
| add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/$(. /etc/os-release; echo "$ID") $(lsb_release -cs) stable" | |
| apt-get update |
| [alias] | |
| plog = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all |
| π Morning 123 commits βββββββββββββββββββββ 9.4% | |
| π Daytime 345 commits βββββββββββββββββββββ 26.3% | |
| π Evening 548 commits βββββββββββββββββββββ 41.8% | |
| π Night 295 commits βββββββββββββββββββββ 22.5% |
| { | |
| "aliasColors": {}, | |
| "bars": false, | |
| "dashLength": 10, | |
| "dashes": false, | |
| "datasource": null, | |
| "fill": 1, | |
| "gridPos": { | |
| "h": 9, | |
| "w": 12, |
| package main | |
| import ( | |
| "bufio" | |
| "fmt" | |
| "log" | |
| "os" | |
| "strconv" | |
| ) |
| import datetime | |
| import os | |
| import re | |
| import sys | |
| import time | |
| import piexif | |
| def fix(directory): |
| 0.0.0.0 choice.microsoft.com | |
| 0.0.0.0 choice.microsoft.com.nsatc.net | |
| 0.0.0.0 df.telemetry.microsoft.com | |
| 0.0.0.0 diagnostics.support.microsoft.com | |
| 0.0.0.0 feedback.microsoft-hohm.com | |
| 0.0.0.0 feedback.search.microsoft.com | |
| 0.0.0.0 feedback.windows.com | |
| 0.0.0.0 oca.telemetry.microsoft.com | |
| 0.0.0.0 oca.telemetry.microsoft.com.nsatc.net | |
| 0.0.0.0 onesettings-bn2.metron.live.com.nsatc.net |