Kibana endpoint.md

Kibana仪表板通过 Kibana API 加载到Kibana。这需要Kibana endpoint配置。有关对KibanaAPI进行身份验证的详细信息,请参阅身份验证

filebeat.yml配置文件的setup.kibana部分配置 endpoint。

这是一个示例配置:

setup.kibana.host: "http://localhost:5601"

您可以在filebeat.yml配置文件的setup.kibana部分指定以下选项:

setup.kibana.host

The Kibana host where the dashboards will be loaded. The default is 127.0.0.1:5601. The value of host can be a URL or IP:PORT. For example: http://192.15.3.2, 192:15.3.2:5601 or http://192.15.3.2:6701/path. If no port is specified, 5601 is used.

When a node is defined as an IP:PORT, the scheme and path are taken from the setup.kibana.protocol and setup.kibana.path config options.

IPv6地址必须使用以下格式定义: https://[2001:db8::1]:5601.

setup.kibana.protocol

The name of the protocol Kibana is reachable on. The options are: http or https. The default is http. However, if you specify a URL for host, the value of protocol is overridden by whatever scheme you specify in the URL.

Example config:

setup.kibana.host: "192.0.2.255:5601"
setup.kibana.protocol: "http"
setup.kibana.path: /kibana

setup.kibana.username

The basic authentication username for connecting to Kibana. If you don’t specify a value for this setting, Filebeat uses the username specified for the Elasticsearch output.

setup.kibana.password

The basic authentication password for connecting to Kibana. If you don’t specify a value for this setting, Filebeat uses the password specified for the Elasticsearch output.

setup.kibana.path

An HTTP path prefix that is prepended to the HTTP API calls. This is useful for the cases where Kibana listens behind an HTTP reverse proxy that exports the API under a custom prefix.

setup.kibana.space.id

The Kibana space ID to use. If specified, Filebeat loads Kibana assets into this Kibana space. Omit this option to use the default space.

setup.kibana.headers

Custom HTTP headers to add to each request sent to Kibana. Example:

setup.kibana.headers:
  X-My-Header: Header contents

setup.kibana.ssl.enabled

Enables Filebeat to use SSL settings when connecting to Kibana via HTTPS. If you configure Filebeat to connect over HTTPS, this setting defaults to true and Filebeat uses the default SSL settings.

Example configuration:

setup.kibana.host: "https://192.0.2.255:5601"
setup.kibana.ssl.enabled: true
setup.kibana.ssl.certificate_authorities: ["/etc/client/ca.pem"]
setup.kibana.ssl.certificate: "/etc/client/cert.pem"
setup.kibana.ssl.key: "/etc/client/cert.key

See SSL for more information.


Kibana endpoint.md
http://blog.lujinkai.cn/运维/ELK/filebeats/配置/Kibana endpoint/
作者
像方便面一样的男子
发布于
2023年12月5日
许可协议