본문 바로가기

내가 당면한 문제와 해결방안

alias 변경 예시

curl -XPOST 'https://atlas-search.회사.com/_aliases?pretty' -H 'Content-Type: application/json' -d' 
{
    "actions" : [
        { "remove" : { "index" : "region_union_20200513_1", "alias" : "region_union" } },
        { "add" : { "index" : "expedia_region_union_backup_047", "alias" : "region_union" } }
    ]
}'

 

'내가 당면한 문제와 해결방안' 카테고리의 다른 글

logstash 설정  (0) 2020.06.16
logstash conf  (0) 2020.06.16
logstash nested value to root value  (0) 2020.06.12
ruby text to json  (0) 2020.06.12
create index with mapping  (0) 2020.06.12