missing authentication credentials for REST request [/]“
作者:互联网
一 问题描述
[root@risen-un01 bin]# ./elasticdump --input=http://192.168.5.249:9200/sentiment_latest --output=http://192.168.5.31:9200/ads_yq_sentiment_app --type=data
报错:
Wed, 04 Aug 2021 03:03:30 GMT | Error Emitted => {"error":{"root_cause":[{"type":"security_exception","reason":"missing authentication credentials for REST request [/]","header":{"WWW-Authenticate":"Basic realm=\"security\" charset=\"UTF-8\""}}]
二 解决办法
加上账号密码:
[root@risen-un01 bin]# ./elasticdump --input=http://elastic:fToC@192.168.5.249:9200/sentiment_latest --output=http://192.168.5.31:9200/ads_yq_sentiment_app --type=data
版权声明:本文为CSDN博主「槐序i」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/spark9527/article/details/119379829
标签:http,9200,sentiment,--,request,192.168,authentication,credentials,type 来源: https://blog.csdn.net/YABIGNSHI/article/details/120867958