ELK 8.15.3 版本Logstash和Kibana与KS配置SSL实现https安全连接

es/kibana配置 TLS/SSL 1 生成证书 elasticsearch-cert 使用 pem 生成根证书 /usr/share/elasticsearch/bin/elasticsearch-certutil ca --days 720 --pem 生成节点证书(因为 使用的是虚拟机,ip 会动态改变, 这里 在生成 节点证书时 不加入 dns, ip 等配置, 所以生成的这个证书多个节点可以共用 /usr/shar... 阅读详情
AI摘要

因ES 7.17.8版本有安全漏洞,需升级到8.15.3。ES 8.X默认启动安全配置,访问需账户密码。文章分享手动配置超级用户密码,以及让Logstash和Kibana以https方式对ES进行数据读写的详细步骤,包括部署、证书生成、配置文件调整等。

在客户端部署上线的日志服务器因为等保扫瞄到ES(Elasticsearch) 7.17.8版本有安全漏洞,所以要做一个升级,升级到最新的 8.15.3。
因为ES 8.X 版本是默认启动了安全配置,也就是配置文件 elasticsearch.yml 中的 xpack.security.enabled 配置默认是设为 true 的,所以当启动 ES的时候访问9200端口会要求输入账户和密码。
接下来,我将一步步分享如何手动配置 elastic 超级用户的密码以及如何让 logstash 和 kibana 以 https的方式对 es 进行数据的写入(logstash output)和读取(kibana需要读es数据将不同index内的数据进行可视化等操作)。

ELK部署方式

OS: Ubuntu 22.04 LTS
部署运行方式:docker-compose (也就是说logstash, es和kibana都是以容器的方式运行的,并且属于一个网络)

docker 镜像拉取

# 拉取 es
docker pull docker.elastic.co/elasticsearch/elasticsearch:8.15.3
# 拉取 logstash
docker pull docker.elastic.co/logstash/logstash:8.15.3
# 拉取 kibana
docker pull docker.elastic.co/kibana/kibana:8.15.3

拉取完成后,可以通过 docker images 命令查看镜像:
在这里插入图片描述

更换镜像

将所有正在运行的7.X版本镜像的容器都停下来

docker-compose down

编辑 docker-compose.yaml 文件,修改镜像的tag为8.15.3。
下一步修改宿主机上映射到 es 容器内的配置文件 elasticsearch.yml 内容,我们首先配置 elastic 超级用户的密码,后面再把 https 连接需要的证书搞定,所以先把 xpack.security.transport.ssl.enabled 设置为 false(默认是 true)。
需要加上以下配置内容:

# 此配置项用于启用或禁用 Elasticsearch 的安全特性
xpack.security.enabled: true
# 此配置项用于启用或禁用通过 HTTPS(SSL/TLS)对 Elasticsearch 的 HTTP 接口进行加密。
xpack.security.transport.ssl.enabled: false

然后启动 docker-compose

docker-compose up -d

配置 elastic 超级用户的密码

确保 elasticsearch(容器名)在正常运行后,可以尝试访问 http://ip:9200, 这个时候发现会有弹出框要求输出用户名和密码(因为 xpack.security.enabled: true)。

现在进入 elasticsearch 容器内部:

docker exec -it elasticsearch bash
elasticsearch@elasticsearch:~$ pwd
# 容器内部当前目录
/usr/share/elasticsearch

有以下两种设置密码的方式,手动和随机自动:

手动设置密码
./bin/elasticsearch-reset-password -u elastic

按照提示输入想要为 elastic 用户设置的新密码即可。

自动生成随机密码

-i:关闭交互模式,Elasticsearch 会自动生成一个随机密码

./bin/elasticsearch-reset-password -u elastic -i

假如设置的密码是:p0s9Lb3uThEJfN5T0v6x

这个时候再去访问 http://ip:9200,输入 elastic/p0s9Lb3uThEJfN5T0v6x 就可以正常访问了。

Logstash通过elastic账号与es建立http连接

虽然我们最终达成的目标是让logstash和kibana以 https(http+ssl)的方式与es建立连接,但在配置相关证书之前我们可以尝试一下让logstash仅通过账号密码的方式与es建立http连接(kibana无法尝试,在 xpack.security.enabled: true 配置的情况下必须通过https)。

1. 将elastic 超级用户密码写入 docker-compose.yml
services:
  elasticsearch:
    restart: always
    image: docker.elastic.co/elasticsearch/elasticsearch:8.15.3
    container_name: elasticsearch
    hostname: elasticsearch
    privileged: true
    environment:
      - "ES_JAVA_OPTS=-Xms8192m -Xmx8192m"
      - "http.host=0.0.0.0"
      - "node.name=node-01"
      - "cluster.name=cluster-01"
      - "discovery.type=single-node"
      # 将密码作为环境变量写入
      - "ELASTIC_PASSWORD=p0s9Lb3uThEJfN5T0v6x"
2. 修改宿主机上的 logstash.yml 和涉及到output给es的配置文件

logstash.yml配置新增内容如下

# 开启xpack监控
# ===================es版本升级,需要加入认证信息==============
xpack.monitoring.elasticsearch.username: "elastic"
xpack.monitoring.elasticsearch.password: "p0s9Lb3uThEJfN5T0v6x"                 

对于将接收到的日志处理完之后output给es的配置内容,需要加上账户密码等信息。

以下是 ChatGPT 生成的一个示例,需要注意:

  1. hosts 要加上 http://;
  2. 若有逻辑分支则涉及到es的部分都需要添加 user/password 信息。
input {
  # 假设从stdin输入数据
  stdin {}
}

filter {
  # 使用 Ruby 进行自定义处理
  ruby {
    code => "
      event.set('new_field', event.get('message').upcase)  # 将'message'字段转为大写并保存到'new_field'
      event.set('timestamp', Time.now)                     # 添加当前时间戳到'timestamp'字段
    "
  }
}

output {
  # 输出到 Elasticsearch
  elasticsearch {
    # 注意需要加上http,安全验证未开启的情况下是不需要的
    hosts => ["http://elasticsearch:9200"]
    index => "logstash-ruby-example"
    # 增加用户名
    user => "elastic"
    # 增加用户名密码
    password => "p0s9Lb3uThEJfN5T0v6x"
    document_id => "%{[@metadata][fingerprint]}"  # 自定义document ID(可选)
  }
}
3. 重启 elasticsearch 和 logstash docker 容器

重启命令如下:

docker-compose restart elasticsearch
docker-compose restart logstash

重启之后检查 logstash 和 elasticsearch 容器日志是否有报错信息:

docker logs logstash
docker logs elasticsearch
# 如果只想看最新N条,添加 --tail 参数指定一下数量就可以
docker logs --tail N <logstash-container-name>

如果没有可以进入到 logstash 容器内部,运行检验命令检查是否能正常连接上es:

# 进入 logstash 容器内部
docker exec -it logstash /bin/bash
logstash@d996504f0329:~$ pwd
/usr/share/logstash
# 运行如下检查命令,如连接成功会显示es相关信息
curl -u elastic:p0s9Lb3uThEJfN5T0v6x http://elasticsearch:9200

成功连接到 Elasticsearch 的输出示例(由 ChatGPT 生成):

{
  "name" : "your-node-name",
  "cluster_name" : "your-cluster-name",
  "cluster_uuid" : "uuid-string",
  "version" : {
    "number" : "8.15.3",
    "build_flavor" : "default",
    "build_type" : "docker",
    "build_hash" : "abc12345",
    "build_date" : "2024-01-01T00:00:00Z",
    "build_snapshot" : false,
    "lucene_version" : "9.7.0",
    "minimum_wire_compatibility_version" : "7.10.0",
    "minimum_index_compatibility_version" : "7.0.0"
  },
  "tagline" : "You Know, for Search"
}

当然也可以实际让logstash接收处理一些数据,然后检查es里面是否有数据的新增,以此确保logstash可以成功将处理完成的数据写入es。

ES生成CA和证书

为什么需要?(以下回答由 ChatGPT 生成)

在 Elasticsearch 中,生成 CA(Certificate Authority,证书颁发机构) 和 证书 的过程是为了启用 安全通信,即通过 SSL/TLS 加密来保护 Elasticsearch 节点之间的通信 以及 客户端和服务器之间的通信。

具体步骤如下(copy from 参考文章 [1]):

# 进入docker容器的es实例
docker exec -it elasticsearch bash
# 生成ca证书 遇到提示回车,共两次
bin/elasticsearch-certutil  ca
# 生成节点证书 遇到提示回车,共三次
bin/elasticsearch-certutil  cert --ca elastic-stack-ca.p12 
    
# 切换到config目录
cd config
# 创建certs文件夹
mkdir certs
# 回到原目录
cd ..
# 将ca证书移动到certs中
mv elastic-certificates.p12 elastic-stack-ca.p12 config/certs                  

把生成的两个证书文件放在容器 /usr/share/elasticsearch/config/certs 下后,就可以执行 exit 先退出了。
现在编辑宿主机上的 elasticsearch.yml 文件,新增内容如下:

# 将 xpack.security.transport.ssl.enabled 设置为 false的配置注释掉
# xpack.security.transport.ssl.enabled: false 
# 新增以下内容
xpack.security.enrollment.enabled: true
# 是否开启ssl
xpack.security.http.ssl:
  enabled: true
  keystore.path: /usr/share/elasticsearch/config/certs/elastic-certificates.p12
  truststore.path: /usr/share/elasticsearch/config/certs/elastic-certificates.p12
# 是否开启访问安全认证
xpack.security.transport.ssl:
  enabled: true
  verification_mode: certificate
  keystore.path: /usr/share/elasticsearch/config/certs/elastic-certificates.p12
  truststore.path: /usr/share/elasticsearch/config/certs/elastic-certificates.p12

Http 证书生成

为什么需要?(以下回答由 ChatGPT 生成)

Elasticsearch 生成 HTTP 证书 是为了通过 HTTPS(SSL/TLS 加密) 来保护 HTTP 层 的通信。主要原因是为了确保在客户端(如浏览器、Kibana、Logstash)与 Elasticsearch 之间通过 REST API 进行通信时,数据是加密的,并且可以实现 身份验证 和 数据完整性。

以下操作步骤参考 [2]
再次进入 elasticsearch 容器内部,生成 http 证书。

# 进入docker容器的es实例
docker exec -it elasticsearch bash
# 生成 Http 的证书
./bin/elasticsearch-certutil http

会有很多提问,详情可参考 官方文档
在这里插入图片描述
完整输入如下供大家参考

elasticsearch@elasticsearch:~$ ./bin/elasticsearch-certutil http

## Elasticsearch HTTP Certificate Utility

The 'http' command guides you through the process of generating certificates
for use on the HTTP (Rest) interface for Elasticsearch.

This tool will ask you a number of questions in order to generate the right
set of files for your needs.

## Do you wish to generate a Certificate Signing Request (CSR)?

A CSR is used when you want your certificate to be created by an existing
Certificate Authority (CA) that you do not control (that is, you don't have
access to the keys for that CA). 

If you are in a corporate environment with a central security team, then you
may have an existing Corporate CA that can generate your certificate for you.
Infrastructure within your organisation may already be configured to trust this
CA, so it may be easier for clients to connect to Elasticsearch if you use a
CSR and send that request to the team that controls your CA.

If you choose not to generate a CSR, this tool will generate a new certificate
for you. That certificate will be signed by a CA under your control. This is a
quick and easy way to secure your cluster with TLS, but you will need to
configure all your clients to trust that custom CA.

Generate a CSR? [y/N]N

## Do you have an existing Certificate Authority (CA) key-pair that you wish to use to sign your certificate?

If you have an existing CA certificate and key, then you can use that CA to
sign your new http certificate. This allows you to use the same CA across
multiple Elasticsearch clusters which can make it easier to configure clients,
and may be easier for you to manage.

If you do not have an existing CA, one will be generated for you.

Use an existing CA? [y/N]y

## What is the path to your CA?

Please enter the full pathname to the Certificate Authority that you wish to
use for signing your new http certificate. This can be in PKCS#12 (.p12), JKS
(.jks) or PEM (.crt, .key, .pem) format.
CA Path: /usr/share/elasticsearch/config/certs/elastic-stack-ca.p12
Reading a PKCS12 keystore requires a password.
It is possible for the keystore's password to be blank,
in which case you can simply press <ENTER> at the prompt
Password for elastic-stack-ca.p12:

## How long should your certificates be valid?

Every certificate has an expiry date. When the expiry date is reached clients
will stop trusting your certificate and TLS connections will fail.

Best practice suggests that you should either:
(a) set this to a short duration (90 - 120 days) and have automatic processes
to generate a new certificate before the old one expires, or
(b) set it to a longer duration (3 - 5 years) and then perform a manual update
a few months before it expires.

You may enter the validity period in years (e.g. 3Y), months (e.g. 18M), or days (e.g. 90D)

For how long should your certificate be valid? [5y] 
## Do you wish to generate one certificate per node?

If you have multiple nodes in your cluster, then you may choose to generate a
separate certificate for each of these nodes. Each certificate will have its
own private key, and will be issued for a specific hostname or IP address.

Alternatively, you may wish to generate a single certificate that is valid
across all the hostnames or addresses in your cluster.

If all of your nodes will be accessed through a single domain
(e.g. node01.es.example.com, node02.es.example.com, etc) then you may find it
simpler to generate one certificate with a wildcard hostname (*.es.example.com)
and use that across all of your nodes.

However, if you do not have a common domain name, and you expect to add
additional nodes to your cluster in the future, then you should generate a
certificate per node so that you can more easily generate new certificates when
you provision new nodes.

Generate a certificate per node? [y/N]y

## What is the name of node #1?

This name will be used as part of the certificate file name, and as a
descriptive name within the certificate.

You can use any descriptive name that you like, but we recommend using the name
of the Elasticsearch node.

node #1 name: node-01

## Which hostnames will be used to connect to node-01?

These hostnames will be added as "DNS" names in the "Subject Alternative Name"
(SAN) field in your certificate.

You should list every hostname and variant that people will use to connect to
your cluster over http.
Do not list IP addresses here, you will be asked to enter them later.

If you wish to use a wildcard certificate (for example *.es.example.com) you
can enter that here.

Enter all the hostnames that you need, one per line.
When you are done, press <ENTER> once more to move on to the next step.

elasticsearch

You entered the following hostnames.

 - elasticsearch

Is this correct [Y/n]y

## Which IP addresses will be used to connect to node-01?

If your clients will ever connect to your nodes by numeric IP address, then you
can list these as valid IP "Subject Alternative Name" (SAN) fields in your
certificate.

If you do not have fixed IP addresses, or not wish to support direct IP access
to your cluster then you can just press <ENTER> to skip this step.

Enter all the IP addresses that you need, one per line.
When you are done, press <ENTER> once more to move on to the next step.


You did not enter any IP addresses.

Is this correct [Y/n]y

## Other certificate options

The generated certificate will have the following additional configuration
values. These values have been selected based on a combination of the
information you have provided above and secure defaults. You should not need to
change these values unless you have specific requirements.

Key Name: node-01
Subject DN: CN=node-01
Key Size: 2048

Do you wish to change any of these options? [y/N]n
Generate additional certificates? [Y/n]n

## What password do you want for your private key(s)?

Your private key(s) will be stored in a PKCS#12 keystore file named "http.p12".
This type of keystore is always password protected, but it is possible to use a
blank password.

If you wish to use a blank password, simply press <enter> at the prompt below.
Provide a password for the "http.p12" file:  [<ENTER> for none]

## Where should we save the generated files?

A number of files will be generated including your private key(s),
public certificate(s), and sample configuration options for Elastic Stack products.

These files will be included in a single zip archive.

What filename should be used for the output zip file? [/usr/share/elasticsearch/elasticsearch-ssl-http.zip] 

需要关注的几个提问:

  1. What is the name of node #1?
    输入的 node name 需要和 docker-compose.yml 里给 Elasticsearch 配置的 node.name 保持一致。
## What is the name of node #1?

This name will be used as part of the certificate file name, and as a
descriptive name within the certificate.

You can use any descriptive name that you like, but we recommend using the name
of the Elasticsearch node.

node #1 name: node-01
  1. Which hostnames will be used to connect to node-01?
    因为 ES 是以 docker 的方式运行,并且ELK都在同一个 docker network 中,所以 logstash 和 kibana 其实直接通过 es的容器名,即 elasticsearch 访问即可,并且 es 没有被外网访问的需要,所以这里的 hostname 设置为容器名 elasticsearch 就可以。
## Which hostnames will be used to connect to node-01?

These hostnames will be added as "DNS" names in the "Subject Alternative Name"
(SAN) field in your certificate.

You should list every hostname and variant that people will use to connect to
your cluster over http.
Do not list IP addresses here, you will be asked to enter them later.

If you wish to use a wildcard certificate (for example *.es.example.com) you
can enter that here.

Enter all the hostnames that you need, one per line.
When you are done, press <ENTER> once more to move on to the next step.

elasticsearch

You entered the following hostnames.

 - elasticsearch

Is this correct [Y/n]y

可以看到生成的 elasticsearch-ssl-http.zip 文件

elasticsearch@elasticsearch:~$ ls
LICENSE.txt  NOTICE.txt  README.asciidoc  bin  config  data  elasticsearch-ssl-http.zip  jdk  lib  logs  modules  plugins
# 解压 elasticsearch-ssl-http.zip
elasticsearch@elasticsearch:~$ unzip elasticsearch-ssl-http.zip
Archive:  elasticsearch-ssl-http.zip
   creating: elasticsearch/
  inflating: elasticsearch/README.txt  
  inflating: elasticsearch/http.p12  
  inflating: elasticsearch/sample-elasticsearch.yml  
   creating: kibana/
  inflating: kibana/README.txt       
  inflating: kibana/elasticsearch-ca.pem  
  inflating: kibana/sample-kibana.yml

将 elasticsearch-ssl-http.zip 文件解压缩之后,会有两个文件夹,即 elasticsearch/ 和 kibana/。

# /kibana 目录下的三个文件
elasticsearch@elasticsearch:~/kibana$ ls
README.txt  elasticsearch-ca.pem  sample-kibana.yml
# /elasticsearch 目录下的三个文件
elasticsearch@elasticsearch:~/elasticsearch$ ls
README.txt  http.p12  sample-elasticsearch.yml

现在将 /usr/share/elasticsearch/elasticsearch/http.p12 移动到 /usr/share/elasticsearch/config/certs 下

mv elasticsearch/http.p12 /usr/share/elasticsearch/config/certs

所以 certs/ 下有三个文件了

elasticsearch@elasticsearch:~/config/certs$ ls
elastic-certificates.p12  elastic-stack-ca.p12  http.p12
elasticsearch 生成 kibana 的安全认证文件
# 生成kibana证书(-dns后接的是kibana容器名)
./bin/elasticsearch-certutil csr -name kibana -dns kibana
# 解压文件
elasticsearch@elasticsearch:~$ unzip csr-bundle.zip 
Archive:  csr-bundle.zip
  inflating: kibana/kibana.csr       
  inflating: kibana/kibana.key     

将生成的安全认证文件从es容器内部复制到宿主机kibana的config目录

# 退出容器
exit
# 进入宿主机kibana的config目录
cd /usr/local/config/kibana/config/
# 创建certs文件夹
mkdir certs
# 将elasticsearch生成在容器中的证书复制到certs中
docker cp elasticsearch:/usr/share/elasticsearch/kibana/kibana.csr /usr/local/config/kibana/config/certs
docker cp elasticsearch:/usr/share/elasticsearch/kibana/kibana.key /usr/local/config/kibana/config/certs
# 还要将上一步生成elasticsearch-ca.pem文件一块复制到kibana
docker cp elasticsearch:/usr/share/elasticsearch/kibana/elasticsearch-ca.pem /usr/local/config/kibana/config/certs
# 进入certs文件夹
cd certs
# 生成crt文件
openssl x509 -req -in kibana.csr -signkey kibana.key -out kibana.crt
# 查看 /certs 目录下的四个文件
elasticsearch-ca.pem  
kibana.crt 
kibana.csr
kibana.key
将 elasticsearch-ca.pem 复制到宿主机logstash的config目录

为什么需要?

当在 Logstash 中配置到 Elasticsearch 的HTTPS 连接时,需要在配置文件中指定 elasticsearch-ca.pem 作为信任证书。

# 进入宿主机kibana的config目录
cd /usr/local/config/logstash/config/
# 创建certs文件夹
mkdir certs
docker cp elasticsearch:/usr/share/elasticsearch/kibana/elasticsearch-ca.pem /usr/local/config/logstash/config/certs
将 elasticsearch 容器内 certs 下的文件持久化到宿主机
# 切换到elasticsearch的config目录
cd /usr/local/config/elasticsearch/config
# 复制docker中的certs到linux
docker cp elasticsearch:/usr/share/elasticsearch/config/certs /usr/local/config/elasticsearch/config
部署 kibana 认证文件

现在将宿主机 /usr/local/config/kibana/config/certs 下的认证文件都同步到容器内。

# 将服务器上kibana的certs上传到docker容器中
docker cp /usr/local/config/kibana/config/certs kibana:/usr/share/kibana/config
# 使用root进入kibana容器
docker exec -it -u root kibana bash
# 进入config文件夹
cd config
# 修改certs权限
chown -R kibana certs

查看容器内认证文件权限情况

root@286e3f490b30:/usr/share/kibana/config/certs# ll -l
total 24
drwxr-xr-x 2 kibana root 4096 Oct 28 12:42 ./
drwxrwxrwx 3 root   root 4096 Oct 28 13:18 ../
-rw-r--r-- 1 kibana root 1200 Oct 28 08:18 elasticsearch-ca.pem
-rw-r--r-- 1 kibana root  985 Oct 28 12:42 kibana.crt
-rw-r--r-- 1 kibana root  936 Oct 28 12:36 kibana.csr
-rw-r--r-- 1 kibana root 1675 Oct 28 12:36 kibana.key
部署 logstash 认证文件

和部署 kibana 类似的操作
将宿主机 /usr/local/config/logstash/config/certs 下的认证文件都同步到容器内。

# 将服务器上kibana的certs上传到docker容器中
docker cp /usr/local/config/logstash/config/certs logstash:/usr/share/logstash/config
# 使用root进入logstash容器
docker exec -it -u root logstash bash
# 进入config文件夹
cd config
# 修改certs权限
chown -R logstash certs

查看容器内认证文件 elasticsearch-ca.pem 权限情况

root@d996504f0329:/usr/share/logstash/config/certs# ll -l
total 24
drwxr-xr-x 2 logstash root 4096 Oct 29 03:11 ./
drwxrwxrwx 3 root     root 4096 Oct 30 03:26 ../
-rw-r--r-- 1 logstash root 1200 Oct 28 15:11 elasticsearch-ca.pem

配置文件内容调整

1. logstash.yml http -> https
xpack.monitoring.elasticsearch.username: "elastic"
xpack.monitoring.elasticsearch.password: "p0s9Lb3uThEJfN5T0v6x"
xpack.monitoring.enabled: true
# 由之前的 http 改为 https
xpack.monitoring.elasticsearch.hosts: ["https://elasticsearch:9200"]
xpack.monitoring.collection.interval: 10s
log.level: debug
  1. logstash output es 配置文件开启ssl并指定cacert
input {
  # 假设从stdin输入数据
  stdin {}
}

filter {
  # 使用 Ruby 进行自定义处理
  ruby {
    code => "
      event.set('new_field', event.get('message').upcase)  # 将'message'字段转为大写并保存到'new_field'
      event.set('timestamp', Time.now)                     # 添加当前时间戳到'timestamp'字段
    "
  }
}

output {
  # 输出到 Elasticsearch
  elasticsearch {
    # http调整为https
    hosts => ["http://elasticsearch:9200"]
    # 启用 ssl
    ssl => true
    # 指定认证文件
    cacert => "/usr/share/logstash/config/certs/elasticsearch-ca.pem"
    index => "logstash-ruby-example"
    # 增加用户名
    user => "elastic"
    # 增加用户名密码
    password => "p0s9Lb3uThEJfN5T0v6x"
    document_id => "%{[@metadata][fingerprint]}"  # 自定义document ID(可选)
  }
}
  1. 调整 kibana.yml 内容
    涉及到 elasticsearch.hosts 的连接协议是 https
    elasticsearch.password 密码可以随便填写一个,后面再进入 es 容器内部修改。
i18n.locale: zh-CN
server.host: "0.0.0.0"
server.shutdownTimeout: "5s"
elasticsearch.hosts: [ "https://elasticsearch:9200" ]

elasticsearch.username: "kibana_system"
elasticsearch.password: "12345678"
# ===============================ssl配置如下======================================
server.ssl.enabled: true
server.ssl.certificate: /usr/share/kibana/config/certs/kibana.crt
server.ssl.key: /usr/share/kibana/config/certs/kibana.key
elasticsearch.ssl.verificationMode: none
elasticsearch.ssl.certificateAuthorities: [ "/usr/share/kibana/config/certs/elasticsearch-ca.pem" ]
# ===============================ssl配置如上======================================
monitoring.ui.container.elasticsearch.enabled: true
xpack.monitoring.enabled: true
xpack.monitoring.elasticsearch.hosts: ["https://elasticsearch:9200"]
xpack.monitoring.kibana.collection.enabled: true
xpack.monitoring.kibana.collection.interval: 10000

进入 elasticsearch容器重置 kibana_system 账户密码

# 进入 elasticsearch 容器内部
docker exec -it elasticsearch /bin/bash
# 重置 kibana_system 账户密码
elasticsearch@elasticsearch:~$ ./bin/elasticsearch-reset-password -u kibana_system -i --url https://elasticsearch:9200
WARNING: Owner of file [/usr/share/elasticsearch/config/users] used to be [root], but now is [elasticsearch]
WARNING: Owner of file [/usr/share/elasticsearch/config/users_roles] used to be [root], but now is [elasticsearch]
This tool will reset the password of the [kibana_system] user.
You will be prompted to enter the password.
Please confirm that you would like to continue [y/N]

然后把重置的密码在 kibana.yml 文件中进行更新

elasticsearch.username: "kibana_system"
elasticsearch.password: "password_reset"
最后修改 docker-compose.yml 文件里的目录映射

这一步操作是为了确保宿主机ELK config/certs 目录下的文件与容器内是同步的,检查ELK volumes 配置下看是否有需要调整的地方。
针对于我的情况,elasticsearch 需要新增映射。

services:
  elasticsearch:
    restart: always
    image: docker.elastic.co/elasticsearch/elasticsearch:8.15.3
    container_name: elasticsearch
    hostname: elasticsearch
    privileged: true
    volumes:
      # 新增目录映射
      -"usr/local/config/es/config/certs:/usr/share/elasticsearch/config/certs"

配置文件内容调整完成后,就可以重启所有容器了。

docker-compose restart

需要注意 kibana 访问输入的账户密码并非配置文件中的 kibana_system/password_reset,而是需要elastic超级用户和对应密码,即 elastic/p0s9Lb3uThEJfN5T0v6x 进行登陆访问。

认证文件所在目录概览

宿主机 /usr/local/config/elasticsearch/config/certs 下的文件

.
├── elastic-certificates.p12
├── elastic-stack-ca.p12
└── http.p12

0 directories, 3 files

宿主机 /usr/local/config/logstash/config/certs 下的文件

elasticsearch-ca.pem

宿主机 /usr/local/config/kibana/config/certs 下的文件

.
├── elasticsearch-ca.pem
├── kibana.crt
├── kibana.csr
└── kibana.key

0 directories, 4 files

最后,非常感谢以下博客内容,帮助很多!也希望这篇博客可以帮助到有需要的朋友!
[1] docker开启es集群安全认证
[2] Elasticsearch8.X+ Kibana 8.X安全配置

Elasticsearch+Kibana安全配置详解 文章目录简介启用Elasticsearch安全特性配置传输层TLS/SSL加密传输设置内置用户密码配置HTTP层TLS/SSL加密传输配置Kibana到Elasticsearch的校验生成PKI客户端证书配置Kibana到Elasticsearch的校验配置Kibana UI的SSL加密传输 简介 对生产环境的Elasticsearch集群开启安全特性是必要的,而Elastic Stack已经提供... 阅读详情

相关推荐

Kibana和浏览器之间HTTPS连接

参考:https://www.elastic.co/guide/en/elasticsearch/reference/7.16/security-basic-setup-https.html https://xie.infoq.cn/article/17e7e5de164cabc48fe4b7b90 官方网站给我们提供的例子是用 Kibana 的域名来创建一个 CSR,然后使用这个 CSR 到 CA 签署安全证书,这个 CA 可以是受信任的也可以是不受信任的,我们测试就使用不受信任的即可,其实 Elasti

imonkeyi的博客 2055

Logstash如何连接开启了SSL的Elasticsearch集群?

Elasticsearch从7开始开放了大量X-Pack的基础安全功能,默认情况下启动的时候就会配置开启安全功能,启用SSL,连接Elasticsearch需要采用HTTPS。这种情况下Logstash应该如何连接上Elasticsearch呢?本文从头开始演示从logstash搭建到配置连接Elasticsearch,配置SSL。

5321

机器学习模型生产化落地的七层验证与实战心法

机器学习模型上线并非简单部署,而是涉及模型服务化、特征一致性、可观测性、安全合规与跨团队协同的系统工程。其核心原理在于解耦训练与推理环境、固化特征处理逻辑、建立端到端监控链路,并通过版本化、契约化和自动化保障稳定性。技术价值体现在SLA达标、故障自愈、漂移可检、回滚可控,支撑金融风控、实时推荐、智能审核等高可用业务场景。本文聚焦真实产线中从Notebook到Production的‘最后一百米’,深入拆解Triton服务编排、特征数字孪生、灰度染色熔断、七层镜像验证等经过27个落地项目淬炼的关键实践。

weixin_30425949的博客 380

Elasticsearch Kibana SSL认证

openssl pkcs12 -in elastic-certificates.p12 -cacerts -nokeys -chain > client-ca.cer #签署公共证书的CA。openssl pkcs12 -in elastic-certificates.p12 -clcerts -nokeys > client.cer #公共证书。输入文件名 默认[elastic-stack-ca.p12]回车,输入密码回车。4、重启kibana。

还是小朋友的博客 2034

手把手教你离线部署Jupyter Notebook及高效插件配置

本文详细介绍了如何在离线环境中部署Jupyter Notebook及配置高效插件,包括离线安装步骤、依赖管理、核心扩展安装及常见问题排查。特别针对金融、科研等封闭网络场景,提供完整的whls包和requirements.txt解决方案,帮助开发者和数据分析师突破网络限制,提升工作效率。

weixin_28839549的博客 587

GEE开发之Landsat8计算MNDWI和数据分析

上一篇博客介绍了landsat8计算NDWI以及数据的获取,这次介绍MNDWI(改进的归一化差异水体指数)。

等待着冬天的风的博客 8447

ELK企业级日志分析平台-1

root@server4 phantomjs-2.1.1-linux-x86_64]# cp bin/phantomjs /usr/local/bin/ 把二进制文件放到环境配置文件。cluster.initial_master_nodes: ["server1", "server2", "server3"] 主节点。discovery.seed_hosts: ["server1", "server2", "server3"] 节点名称。

2301_81548653的博客 182

VBA中如何使用Edge内核Browser?

在微软宣布停止对IE的支持后,许多使用VBA中Web Browser的用户遇到了困境,因为Web Browser使用的IE内核。然而微软并没有给出支持Edge的新版Web Browser,网上许多第三方的库也不够完善。经过调研,libEdge可以较好的和VBA集成,实现在Excel中打开Browser,甚至能够通过执行js代码,获取web页面的信息。项目需要WebView2Loader.dll和LibEdge.dll两个库,区分x86和x64版本。

金木AI 2410

CentOS 8 VMware生产级部署避坑指南

CentOS 8作为RHEL系重要长期支持分支,其虚拟化部署常因内核兼容性、驱动匹配与配置约束而失败。核心原理在于:VMware虚拟硬件版本、Linux内核模块加载顺序、systemd服务依赖链三者必须严格对齐;技术价值体现在规避启动卡死、网络失能、Tools编译失败等高频故障,显著提升环境交付确定性与运维稳定性;典型应用场景包括Docker开发环境搭建、Nginx反向代理测试、Python数据分析沙箱及CI/CD构建节点快速铺开;本文聚焦CentOS 8.5.2111在VMware Workstation

weixin_33910460的博客 165

南邮-软件设计实验(C++版)

南邮软件设计 A档 一、分数统计 课题内容:   设计一个分数统计程序。包括学生信息的输入输出以及排序。通过该课题全面熟悉数组、字符串、文件的使用,掌握程序设计的基本方法及友好界面的设计。 课题要求: (1)输入某班级学生的姓名、分数; (2)对(1)的分数进行降幂排列并输出; (3)具有输入输出界面。 示例代码: #include<bits/stdc++.h> using...

Dainelcw 1万+

ControlRig蓝图节点对应代码(自用)

用于通过python生成ControlRig蓝图节点,非完整

dicha9的博客 429

SpringCloud Alibaba完整使用

小白必学SpringClodAlibaba微服务技术组件搭建 学不会就是我的锅 AlibabaCloud微服务初级篇依赖认知 1、SpringClodAlibaba版本依赖关系讲解 2、SpringClodAlibaba官方网站 3、SpringClodAlibaba Maven坐标 4、SpringClodAlibaba Nacos注册中心 5、SpringClodAlibaba Nacos配置中心 6、SpringClodAlibaba SMS短信发送配置 7、SpringClodAlibaba OSS

小坏说Java,一个专注Java微服务架构的实战,Java全栈教程,SpringBoot, SpringCloud微服务到分布式、高并发架构,大数据开发,运维实战,K8S、Docker容器为一体的教程,结合企业级内部的技术栈学习,小坏简历, 11万+

Profinet从站开发初体验:用p-net开源库和树莓派快速搭建一个IO设备模拟器

本文详细介绍了如何使用p-net开源库和树莓派快速搭建Profinet从站IO设备模拟器。从开发环境准备、p-net源码编译到设备模拟器功能实现,提供了全流程实战指南,帮助开发者快速掌握工业通信协议开发技巧,适用于工业自动化领域的设备互联测试与验证。

weixin_30384217的博客 389

生产级机器学习模型服务:FastAPI+Docker+K8s工程实践

机器学习模型服务化是将训练好的模型转化为稳定、可观测、可扩展API的关键环节,其核心在于解决并发处理、资源隔离、健康探针、灰度发布与全链路监控等工程挑战。FastAPI凭借异步IO和Pydantic契约式校验,显著提升吞吐与健壮性;Docker多阶段构建实现镜像精简至300MB级,保障快速拉取与安全运行;Kubernetes通过HPA、滚动更新与Service Mesh支撑高可用与弹性伸缩。该技术栈已成为MLOps中模型上线(Model Deployment)与模型监控(Model Monitoring)落

weixin_34280237的博客 463

从ViT到CLIP:OpenAI如何用4亿张图‘教会’AI看懂世界?一次讲透对比学习与Prompt工程

本文深入解析OpenAI的CLIP模型如何通过4亿图文对的对比学习实现跨模态理解,详细探讨了对比学习、数据构建、模型架构及Prompt工程等核心技术。CLIP利用Transformer架构和精心设计的Prompt模板,在Zero-Shot分类、图像检索等场景展现出强大能力,为多模态AI应用开辟新方向。

weixin_27027459的博客 377

PyQt5开发应聘简历模版

该工具旨在帮助用户对Excel、CSV格式的数据进行快速导入、分析及可视化展示,支持折线图、柱状图、饼图等多种图表类型,提供数据筛选、排序、统计等功能,适用于企业数据分析人员日常工作。:一款用于本地文件管理的桌面应用,支持文件的新建、复制、移动、删除、重命名等基本操作,具备文件搜索、分类整理、批量操作及文件信息查看等功能,提升用户文件管理效率。:熟悉QSS(Qt Style Sheet)样式表,可对PyQt5界面进行个性化美化,包括控件颜色、字体、边框、布局等样式定制,提升应用视觉体验。

ybmzlqzj的博客 85

elasticsearch+kibana集群安装部署并配置ssl连接

elasticsearch+kibana集群安装部署并配置ssl连接

professorman的博客 2359

深度学习工具包 DeepLearningToolbox

深度学习工具包Deprecation notice.-----This toolbox is outdated and no longer maintained.There are much better tools available for deep learning than this toolbox, e.g. [Theano](http://deeplearning.net/software/theano/), [torch](http://torch.ch/) or [tensorflow](http://www.tensorflow.org/)I would suggest you use one of the tools mentioned above rather than use this toolbox.Best, Rasmus.DeepLearnToolbox================A Matlab toolbox for Deep Learning.Deep Learning is a new subfield of machine learning that focuses on learning deep hierarchical models of data.It is inspired by the human brain&#39;s apparent deep (layered, hierarchical) architecture.A good overview of the theory of Deep Learning theory is[Learning Deep Architectures for AI](http://www.iro.umontreal.ca/~bengioy/papers/ftml_book.pdf)For a more informal introduction, see the following videos by Geoffrey Hinton and Andrew Ng.* [The Next Generation of Neural Networks](http://www.youtube.com/watch?v=AyzOUbkUf3M) (Hinton, 2007)* [Recent Developments in Deep Learning](http://www.youtube.com/watch?v=VdIURAu1-aU) (Hinton, 2010)* [Unsupervised Feature Learning and Deep Learning](http://www.youtube.com/watch?v=ZmNOAtZIgIk) (Ng, 2011)If you use this toolbox in your research please cite [Prediction as a candidate for learning deep hierarchical models of data](http://www2.imm.dtu.dk/pubdb/views/publication_details.php?id=6284)```@MASTERSTHESIS\{IMM2012-06284, author = "R. B. Palm", title = "Prediction as a candidate for learning deep hierarchical models of data", year = "2012",}```Contact: rasmusbergpalm at gmail dot comDirectories included in the toolbox-----------------------------------`NN/` - A library for Feedforward Backpropagation Neural Networks`CNN/` - A library for Convolutional Neural Networks`DBN/` - A library for Deep Belief Networks`SAE/` - A library for Stacked Auto-Encoders`CAE/` - A library for Convolutional Auto-Encoders`util/` - Utility functions used by the libraries`data/` - Data used by the examples`tests/` - unit tests to verify toolbox is workingFor references on each library check REFS.mdSetup-----1. Download.2. addpath(genpath(&#39;DeepLearnToolbox&#39;));Example: Deep Belief Network---------------------```matlabfunction test_example_DBNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit RBM and visualize its weightsrand(&#39;state&#39;,0)dbn.sizes = [100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);figure; visualize(dbn.rbm{1}.W&#39;); % Visualize the RBM weights%% ex2 train a 100-100 hidden unit DBN and use its weights to initialize a NNrand(&#39;state&#39;,0)%train dbndbn.sizes = [100 100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);%unfold dbn to nnnn = dbnunfoldtonn(dbn, 10);nn.activation_function = &#39;sigm&#39;;%train nnopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.10, &#39;Too big error&#39;);```Example: Stacked Auto-Encoders---------------------```matlabfunction test_example_SAEload mnist_uint8;train_x = double(train_x)/255;test_x = double(test_x)/255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit SDAE and use it to initialize a FFNN% Setup and train a stacked denoising autoencoder (SDAE)rand(&#39;state&#39;,0)sae = saesetup([784 100]);sae.ae{1}.activation_function = &#39;sigm&#39;;sae.ae{1}.learningRate = 1;sae.ae{1}.inputZeroMaskedFraction = 0.5;opts.numepochs = 1;opts.batchsize = 100;sae = saetrain(sae, train_x, opts);visualize(sae.ae{1}.W{1}(:,2:end)&#39;)% Use the SDAE to initialize a FFNNnn = nnsetup([784 100 10]);nn.activation_function = &#39;sigm&#39;;nn.learningRate = 1;nn.W{1} = sae.ae{1}.W{1};% Train the FFNNopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.16, &#39;Too big error&#39;);```Example: Convolutional Neural Nets---------------------```matlabfunction test_example_CNNload mnist_uint8;train_x = double(reshape(train_x&#39;,28,28,60000))/255;test_x = double(reshape(test_x&#39;,28,28,10000))/255;train_y = double(train_y&#39;);test_y = double(test_y&#39;);%% ex1 Train a 6c-2s-12c-2s Convolutional neural network %will run 1 epoch in about 200 second and get around 11% error. %With 100 epochs you&#39;ll get around 1.2% errorrand(&#39;state&#39;,0)cnn.layers = { struct(&#39;type&#39;, &#39;i&#39;) %input layer struct(&#39;type&#39;, &#39;c&#39;, &#39;outputmaps&#39;, 6, &#39;kernelsize&#39;, 5) %convolution layer struct(&#39;type&#39;, &#39;s&#39;, &#39;scale&#39;, 2) %sub sampling layer struct(&#39;type&#39;, &#39;c&#39;, &#39;outputmaps&#39;, 12, &#39;kernelsize&#39;, 5) %convolution layer struct(&#39;type&#39;, &#39;s&#39;, &#39;scale&#39;, 2) %subsampling layer};cnn = cnnsetup(cnn, train_x, train_y);opts.alpha = 1;opts.batchsize = 50;opts.numepochs = 1;cnn = cnntrain(cnn, train_x, train_y, opts);[er, bad] = cnntest(cnn, test_x, test_y);%plot mean squared errorfigure; plot(cnn.rL);assert(er<0.12, &#39;Too big error&#39;);```Example: Neural Networks---------------------```matlabfunction test_example_NNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);% normalize[train_x, mu, sigma] = zscore(train_x);test_x = normalize(test_x, mu, sigma);%% ex1 vanilla neural netrand(&#39;state&#39;,0)nn = nnsetup([784 100 10]);opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samples[nn, L] = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.08, &#39;Too big error&#39;);%% ex2 neural net with L2 weight decayrand(&#39;state&#39;,0)nn = nnsetup([784 100 10]);nn.weightPenaltyL2 = 1e-4; % L2 weight decayopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, &#39;Too big error&#39;);%% ex3 neural net with dropoutrand(&#39;state&#39;,0)nn = nnsetup([784 100 10]);nn.dropoutFraction = 0.5; % Dropout fraction opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, &#39;Too big error&#39;);%% ex4 neural net with sigmoid activation functionrand(&#39;state&#39;,0)nn = nnsetup([784 100 10]);nn.activation_function = &#39;sigm&#39;; % Sigmoid activation functionnn.learningRate = 1; % Sigm require a lower learning rateopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, &#39;Too big error&#39;);%% ex5 plotting functionalityrand(&#39;state&#39;,0)nn = nnsetup([784 20 10]);opts.numepochs = 5; % Number of full sweeps through datann.output = &#39;softmax&#39;; % use softmax outputopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, &#39;Too big error&#39;);%% ex6 neural net with sigmoid activation and plotting of validation and training error% split training data into training and validation datavx = train_x(1:10000,:);tx = train_x(10001:end,:);vy = train_y(1:10000,:);ty = train_y(10001:end,:);rand(&#39;state&#39;,0)nn = nnsetup([784 20 10]); nn.output = &#39;softmax&#39;; % use softmax outputopts.numepochs = 5; % Number of full sweeps through dataopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, tx, ty, opts, vx, vy); % nntrain takes validation set as last two arguments (optionally)[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, &#39;Too big error&#39;);```[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/rasmusbergpalm/deeplearntoolbox/trend.png)](https://bitdeli.com/free "Bitdeli Badge")

elasticsearch|大数据|kibana的安装(https+密码)

【代码】elasticsearch|大数据|kibana的安装(https+密码)

zsk_john的技术分享专用博客 2197

数学建模模型总结

这是本人在两年内准备参加数学建模竞赛搜集到的模型资料,已经经过了本人的筛选和整理,希望能够对准备参加数学建模竞赛的学弟学妹们提供一些帮助!

LinePhone3.2.7(android端最新版本) sip客户端

SIP客户端For android:LinePhone3.2.7(最新版本),官网地址:http://www.linphone.org/

Elasticsearch & Kibana & Filebeat开启SSL通信

EFK搭建并开启TLS通信 搭建Elasticsearch & Kibana 安装docker 创建配置文件 执行步骤 Filebeat配置 搭建Elasticsearch & Kibana 安装docker 需要安装docker 和docker compose , 这部分的安装,不再赘述, 可以参考我之前的文章。 创建配置文件 创建instances.yml , 这里给es和kibana生成证书,也可以添加一个client,给filebeat用,不过我这里filebeat使用e

Marathon_X的博客 602

IMSL CNL 7.0.0 (x86-64)Crack

IMSL CNL 7.0.0 (x86-64)Crack intel的算法库破解文件,这是C++版本的破解文件

Logstash:如何连接到带有 HTTPS 访问的集群

前段时间,有一个开发者在评论区问了一个问题:如何运用 Logstash 采集数据,并写入到带有 HTTPS 的 Elasticsearch 集群中。我们知道,在 Elasticsearch 8.x 的安装中,SSL 的连接是最基本的配置。那么我们如何把采集的数据成功地写到 Elasticsearch 中去呢?在今天的展示中,我将使用最新的 Elastic Stack 8.4.1 来进行展示。

Elastic 中国社区官方博客 6346

胎教级Elasticsearch集群+安全配置+ssl配置,Kibana集群+安全配置+ssl配置

Elasticsearch部署及配置 1. 环境规划 IP地址 系统版本 角色 主机名 10.0.0.10 centos 8.4 es-node1 es00 10.0.0.11 centos 8.4 es-node2 es01 10.0.0.12 centos 8.4 es-node3 es02 10.0.0.15 centos 8.4 kibana-node1 kb01 10.0.0.16 centos 8.4 kibana-node2 kb02 2. 先决条件 1.

weixin_44742630的博客 7236

Logstash 同步MySQL数据 至 开启HTTPS的ElasticSearch

Logstash 多表同步MySQL数据至启用HTTPS的ElasticSearch集群

Parly的博客 2078

Elasticsearch 8.x ELK 搭建并配置 SSL

说明:这只是本人在家里组网搭建的集群,所以内容排版可能比较随意了,没有耐心的同学直接跳过去看别的文章吧,我只是放在这里留作记录方便以后翻阅。为了好看可能我下面会出现多个这种的命令行。

换条路吧,编程没意思的~ 1970

Helm部署ES及Kibana(默认开启SSL)

helm部署ES及Kibana,默认开启ssl

李少侠 2966

kibana 对接es ssl认证集群,一直报错Unable to retrieve version information from Elasticsearch nodes. socket hang

kibana 对接es ssl认证集群,一直报错Unable to retrieve version information from Elasticsearch nodes. socket hang

qq_37647812的博客 1982

配置 SSL、TLS 以及 HTTPS 来确保 Elasticsearch、Kibana、Beats 和 Logstash 的安全

运行的是 Elastic Stack 6.7.x/7.0.x 或更早版本?然后查看博文“如何设置 TLS...”,以获得有关如何在您的版本中确保通信安全的帮助信息。如想使用本篇博文中所讲的免费安全功能,您需要使用 Elastic Stack 6.8/7.1 或更新版本。 从 Elastic Stack 6.8 和 7.1 开始,Elastic 在默认分发包(基础许可证)中发布了一些免费安全功能。新推出的功能包括:使用 SSL 对网络流量进行加密、创建和管理用户、定义角色来保护索引级和集群级访问权限,..

Elastic 中国社区官方博客 3693
上一篇: Docker镜像通过U盘从一台机器拷贝到另一台机器上
下一篇: docker-compose 什么情况下需要先down再up(ChatGPT回答)
晨欣
博客等级 码龄9年 476粉丝 173原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值