# Kibana起動時にwarningがでます。(windows zip環境)

**URL:** <https://discuss.elastic.co/t/kibana-warning-windows-zip/221828>\
**Category:** 日本語による質問・議論はこちら\
**Created:** [March 3, 2020, 8:04am UTC](https://discuss.elastic.co/t/kibana-warning-windows-zip/221828 "2020-03-03T08:04:14Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![tsgkdt](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tsgkdt/32/39151_2.png) [@tsgkdt](https://discuss.elastic.co/u/tsgkdt)\
**Post date:** [March 3, 2020, 1:00pm UTC](https://discuss.elastic.co/t/kibana-warning-windows-zip/221828/2 "2020-03-03T13:00:20Z")

</div>

こんにちわ

状況から、Security機能を有効にした状態でKibanaを起動されているものと推察します。

`xpack.security.encryptionKey`については、以下のURLで指定してくださいと書いてあるので、  
指定することで、警告は消えるものと思います。

> **[Configure security in Kibana | Kibana Guide \[8.11\] | Elastic](https://www.elastic.co/guide/en/kibana/current/using-kibana-with-security.html)**

> 1. Set the `xpack. security.encryptionKey` property in the `kibana.yml` configuration file.

項目の中身の詳細は、こちらに記載があります。

> **[Security settings in Kibana | Kibana Guide \[8.11\] | Elastic](https://www.elastic.co/guide/en/kibana/current/security-settings-kb.html)**

こちらの質問が類似の例かと思います。

> [@Getting warning](https://discuss.elastic.co/t/getting-warning/213676/2):
>
> Hi, I can see that your Kibana is up. For these kinda logs to go away - all you need to do is - set the keys in kibana.yml log [07:51:16.096] [warning][reporting] Generating a random key for xpack.reporting.encryptionKey. To prevent pending reports from failing on restart, please set xpack.reporting.encryptionKey in kibana.yml [https://www.elastic.co/guide/en/kibana/current/settings.html](https://www.elastic.co/guide/en/kibana/current/settings.html) Thanks, Bhavya

reportの方も同じようにキーを設定することになるかと思いますが、ドキュメントとしてはこちらになりますでしょうか。

> **[Reporting settings in Kibana | Kibana Guide \[8.11\] | Elastic](https://www.elastic.co/guide/en/kibana/current/reporting-settings-kb.html)**

`Session cookies will be transmitted over insecure connections. `の箇所ですが、  
Securityを有効にしている状態で、httpsでなくhttpで動かしている、ということではないでしょうか？httpsにすれば解消しませんか？

ご参考になれば幸いです。

---

_[View the full topic](https://discuss.elastic.co/t/kibana-warning-windows-zip/221828)._
