2020-01-01から1ヶ月間の記事一覧
logstashでDBのデータをelasticsearchに投入しようとすると、以下のエラーが起きた。 retrying failed action with respondse code :503 ({"type"=>"unavailable_shards_exception","reason"=>"[インデックス名][0] primary shard is not active Timeout:[1m…
elasticsearchのシャードの再配置を無効にしようとして、間違えて下記のコマンドを入力したところ(postになっているし、clusterに_がついていない) Curl –H ‘Content-Type: application/json’ –XPOST ‘http://localhost:9200/cluster/settings –d ‘{ “persis…
/usr/share/logstash/bin/logstash -f /etc/logstash/conf.d/〇〇.conf --path.settings "/etc/logstash"のコマンドで、 DBのデータを投入しようとしたら、以下のエラーが出ていた。 [FATAL][logstash.runner]logstash could not be started becasuse there …
elasticsearchをインストールしてみたらelasticsearchが起動しなかったのですが、 /etc/elasticsearchの中のファイルの所有権がrootになっているものがあったため。 sudo chown -R elasticsearch:elasticsearch /etc/elasticsearch でelasticsearchに変更し…