###実現したいこと
- kibanaのダッシュボード等を表示したい
- kibanaのログを出力できるようにしたい
一昨日までは正常に表示できていました。
昨日から、同サーバにuwsgiを乗せようとしており、その途中でkibanaが真っ白になってることに気づきました。
kibanaのログを確認しようとしたのですが、それが出力できず、原因を探ることもできない状況です。
なお、kibanaのtimelionのみ表示できます。
###発生している問題・エラーメッセージ
###状況等
- /etc/kibana/kibana.yml
※ログ部分以外はコメントアウトでデフォルト設定
# Enables you specify a file where Kibana stores log output. logging.dest: /var/log/kibana/kibana.log # Set the value of this setting to true to suppress all logging output. logging.silent: true # Set the value of this setting to true to suppress all logging output other than error messages. logging.quiet: true # Set the value of this setting to true to log all events, including system usage information # and all requests. logging.verbose: false
- nginx
error_log /var/log/nginx/hoge.error.log warn; # basic authentification for kibana upstream kibana { server localhost:5601; } upstream python { #server unix:///run/uwsgi/app/hoge/socket/bottle.socket; server 127.0.0.1:8080; } server{ listen 80 default; server_name hoge.mydns.jp; error_log /var/log/nginx/nginx_hoge.error.log warn; access_log /var/log/nginx/nginx_hoge.access.log; location / { stub_status on; root /var/www/html/; index index.nginx-debian.html; } location /python/ { stub_status on; include /etc/nginx/uwsgi_params; uwsgi_pass python; } location ~ (/app/kibana|/bundles/|/status|/elasticsearch|/plugins|/timelion|/console) { # if ($request_method !~ ^(GET|POST)$ ) { # return 405; # } # # 存在するファイルパスが指定された場合はそのまま Nginx で処理 # if ( -f $request_filename ) { # break; # } # # # 存在しないファイルパスが指定された場合は backend_node で処理 # if ( !-f $request_filename ) { # proxy_pass http://kibana; # break; # } stub_status on; auth_basic "Restricted"; auth_basic_user_file "/etc/nginx/.htpasswd"; proxy_pass http://kibana; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header X-Forwarded-Host $http_host; # proxy_max_temp_file_size 8192m; # proxy_buffers 8 64m; # proxy_buffer_size 64m; } location ~ \.css { add_header Content-Type text/css; } location ~ \.js { add_header Content-Type application/x-javascript; }
###試したこと
- kibanaの再起動 → 変化なし
- elasticsearchのデータを全削除 → 変化なし
- elasticsearchのデータを再投入 → 変化なし
- kibanaのログ出力場所を指定して、再起動 → ログが出力されず、画面変化なし
###補足情報(言語/FW/ツール等のバージョンなど)
root@user:~/app# curl -X GET localhost:9200 { "name" : "TsLQexF", "cluster_name" : "elasticsearch", "cluster_uuid" : "X2SZGUvQT622uEfg90rh_Q", "version" : { "number" : "5.2.2", "build_hash" : "f9d9b74", "build_date" : "2017-02-24T17:26:45.835Z", "build_snapshot" : false, "lucene_version" : "6.4.1" }, "tagline" : "You Know, for Search" }
kibanaも同じく5.2.2です。
お手数をおかけして申し訳ありませんが、ご助力よろしくお願いいたします。
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。