kibana7.17.5使用Alerting

DevOps ELK评论2,513字数 1376阅读4分35秒阅读模式

默认没有启用 API

kibana7.17.5使用Alerting

创建key

[centos@prod-es-3 kibana-7.17.5-linux-x86_64]$ ./bin/kibana-encryption-keys generate
## Kibana Encryption Key Generation Utility

The 'generate' command guides you through the process of setting encryption keys for:

xpack.encryptedSavedObjects.encryptionKey
    Used to encrypt stored objects such as dashboards and visualizations
    https://www.elastic.co/guide/en/kibana/current/xpack-security-secure-saved-objects.html#xpack-security-secure-saved-objects

xpack.reporting.encryptionKey
    Used to encrypt saved reports
    https://www.elastic.co/guide/en/kibana/current/reporting-settings-kb.html#general-reporting-settings

xpack.security.encryptionKey
    Used to encrypt session information
    https://www.elastic.co/guide/en/kibana/current/security-settings-kb.html#security-session-and-cookie-settings


Already defined settings are ignored and can be regenerated using the --force flag.  Check the documentation links for instructions on how to rotate encryption keys.
Definitions should be set in the kibana.yml used configure Kibana.

Settings:
xpack.encryptedSavedObjects.encryptionKey: d17c79d5f51e311de0077d1e57e3a515
xpack.security.encryptionKey: b8683386203d8b89ed0d3ed01d57a7a6

复制最后两行到kibana

[centos@prod-es-3 config]$ pwd
/data/kibana-7.17.5-linux-x86_64/config
[centos@prod-es-3 config]$ vim kibana.yml 
xpack.encryptedSavedObjects.encryptionKey: d17c79d5f51e311de0077d1e57e3a515
xpack.security.encryptionKey: b8683386203d8b89ed0d3ed01d57a7a6
  • 重启服务生效

kibana7.17.5使用Alerting

连接器

基本都不能使用

kibana7.17.5使用Alerting

开启30天会员

kibana7.17.5使用Alerting

kibana7.17.5使用Alerting

开启后都能用

kibana7.17.5使用Alerting

 

 

继续阅读
DevOps
  • 本文由 发表于 2022年7月13日 17:19:03
  • 除非特殊声明,本站文章均为原创,转载请务必保留本文链接
  • Alerting
EFK集群[案例] ELK

EFK集群[案例]

Elasticsearch集群配置信息 硬件配置信息 机器名/节点名 IP 内存 cpu 磁盘 us...
python定时清理ES 索引 ELK

python定时清理ES 索引

只保留三天 #!/usr/bin/env python3 # -*- coding:utf-8 -*- import os import datetime # 时间转化为字符串 n...
评论  0  访客  0

发表评论