In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-29 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
This article focuses on the configuration of kibana.
For more information on how to build an elasticsearch7.5 cluster, see: https://blog.51cto.com/lovejxs/2457301
I. installation and startup
Download page: https://www.elastic.co/cn/downloads/past-releases download: wget-c https://artifacts.elastic.co/downloads/kibana/kibana-7.5.0-linux-x86_64.tar.gz description: .tar.gz the entire package is independent. By default, all files and directories are in the directory that $KIBANA_HOME - created when you unzipped the package. This is convenient because you don't need to create any directories to use Kibana, and uninstalling Kibana is simply deleting the $KIBANA_HOME directory. However, it is recommended that you modify the configuration file and data directory so that important data is not deleted.
II. Directory structure
3. Start kibana
Nohup. / kibana-- allow-root &
My configuration is as follows:
Server.port: 5601server.host: "localhost" server.name: "kibana" elasticsearch.hosts: ["http://192.168.18.7:9200"]i18n.locale:" zh-CN "
IV. Visit: http://localhost:5601
5. Detailed explanation of the parameters
Kibana server reads configuration properties from the kibana.yml file when it starts. Kibana configures localhost:5601 by default. To change the host and port number, or to connect to Elasticsearch on other machines, you need to update the kibana.yml file. You can also enable SSL and set other options. * * server.port:** default value: 5601 Kibana is served by the backend server, and this configuration specifies the port number to be used. * * server.host:** default value: "localhost" specifies the host address of the backend server. * * if the proxy is enabled in server.basePath:**, specify the path of Kibana. This configuration item only affects the URLs generated by Kibana. The underlying path value is removed when forwarding the request to the Kibana era. This configuration item cannot end with a slash (/). * * default value of server.maxPayloadBytes:**: 1048576 maximum load requested by the server, in bytes. * * default value of server.name:**: "your hostname" the name displayed by the Kibana instance. * * server.defaultRoute:** default: the default path of "/ app/kibana" Kibana. This configuration item changes the login page of Kibana. * * elasticsearch.url:** default value: "URL of the Elasticsearch instance used by http://localhost:9200" to process all queries. * * default value of elasticsearch.preserveHost:**: true when the value of this setting is true, Kibana uses the hostname set by server.host. When the value of this setting is false, Kibana uses the hostname of the host to connect to the Kibana instance. * * kibana.index:** default value: ".kibana" Kibana uses indexes in Elasticsearch to store saved searches, visual controls, and dashboards. If there is no index, Kibana creates a new index. * * kibana.defaultAppId:** default: "discover" the application loaded by default. * * tilemap.url:**Kibana is used to display the URL of the map service in the tile Map Visualization component. By default, Kibana reads url from an external metadata service, and users can override this parameter and use their own tile mapping service. For example: "https://tiles.elastic.co/v2/default/{z}/{x}/{y}.png?elastic_tile_service_tos=agree&my_app_name=kibana"** tilemap.options.minZoom:** default value: 1 minimum zoom level." * * default value of tilemap.options.maxZoom:**: 10 maximum zoom level. * * tilemap.options.attribution:** default value: "©[Elastic Tile Service] (https://www.elastic.co/elastic-tile-service)" map attribute string. * * list of secondary domain names used by the tilemap.options.subdomains:** service. Use {s} to specify the URL address of the secondary domain name. * * elasticsearch.username: and elasticsearch.password:**Elasticsearch set basic permission authentication. This configuration item provides a user name and password to maintain the index when Kibana starts. Kibana users still need the authentication of Elasticsearch by the Kibana server agent. * * default value of server.ssl.enabled**: "false" enables SSL for requests to the browser. When set to true, server.ssl.certificate and server.ssl.key are also set. * * server.ssl.certificate: and the path of SSL certificate and SSL key file in server.ssl.key:**PEM format. * * password for server.ssl.keyPassphrase** to decrypt the private key, which is optional because the key may not be encrypted. * * list of PEM-encoded certificate file paths that can be trusted by server.ssl.certificateAuthorities**. * * server.ssl.supportedProtocols** default: protocols supported by TLSv1, TLSv1.1 and TLSv1.2 versions, and valid protocol types: TLSv1, TLSv1.1, TLSv1.2. * * default value of server.ssl.cipherSuites**: ECDHE-RSA-AES128-GCM-SHA256, ECDHE-ECDSA-AES128-GCM-SHA256, ECDHE-RSA-AES256-GCM-SHA384. The specific format and valid parameters can be obtained through [OpenSSL cipher list format documentation] (https://www.openssl.org/docs/man1.0.2/apps/ciphers.html#CIPHER-LIST-FORMAT)). * * elasticsearch.ssl.certificate: and elasticsearch.ssl.key:** optional options to provide the path to the SSL certificate and key file in PEM format. These files ensure that the Elasticsearch back end uses the same key file. * * password for elasticsearch.ssl.keyPassphrase** to decrypt the private key, which is optional because the key may not be encrypted. * * elasticsearch.ssl.certificateAuthorities:** specifies the path of the PEM certificate file used for Elasticsearch instances. * * default value of elasticsearch.ssl.verificationMode:**: full controls the authentication of certificates. Available values include none, certificate, and full. Full performs hostname verification, while certificate does not. * * default value of elasticsearch.pingTimeout:**: the value of elasticsearch.requestTimeout setting and the response time of waiting for Elasticsearch. * * elasticsearch.requestTimeout:** default value: 30000 waiting time for backend or Elasticsearch response (in microseconds). This value must be a positive integer. * * elasticsearch.requestHeadersWhitelist:** default value: ['authorization'] Kibana client sends to Elasticsearch header body and no header body, and sets this value to []. * * default value of elasticsearch.customHeaders:**: {} the header body and value sent to Elasticsearch. No matter how elasticsearch.requestHeadersWhitelist is configured, any custom header body will not be overwritten by the client header body. * * elasticsearch.shardTimeout:** default value: 0 Elasticsearch wait for multipart response time (in microseconds), 0 is disabled. * * default value of elasticsearch.startupTimeout:**: the time it takes to wait for Elasticsearch when 5000 Kibana starts, in microseconds. * * pid.file:** specifies the path to the process ID file of Kibana. * * logging.dest:** default value: stdout specifies the file output by the Kibana log. * * default value of logging.silent:**: when false is set to true, all log output is disabled. * * logging.quiet:** default value: when false is set to true, all log output except error messages is disabled. * * logging.verbose** default value: when false is set to true, write down all events, including system usage information and logs of all requests. * * default value of ops.interval**: 5000 sets the sampling interval between system and process, with a minimum value of 100. * * status.allowAnonymous** default value: if false has permission enabled, this setting to true allows all unauthorized users to access the Kibana server API and status pages. * * cpu.cgroup.path.override** overwrites the cgroup cpu path if the mount point is not consistent with / proc/self/cgroup. * * cpuacct.cgroup.path.override** overwrites the cgroup cpuacct path if the mount point is not consistent with / proc/self/cgroup. * * default value of console.enabled**: set true to false to disable the console. After switching this value, the server will regenerate the resource file the next time it starts, which will cause some delay in the page service. * * URL of elasticsearch.tribe.url:**Elasticsearch tribe instance, which is used for all queries. * * elasticsearch.tribe.username: and elasticsearch.tribe.password:**Elasticsearch set basic permission authentication. This configuration item provides a user name and password to maintain the index when Kibana starts. Kibana users still need the authentication of Elasticsearch by the Kibana server agent. * * elasticsearch.tribe.ssl.certificate: and elasticsearch.tribe.ssl.key:** optional options to provide the path to the SSL certificate and key file in PEM format. These files ensure that the Elasticsearch back end uses the same key file. * * password for elasticsearch.tribe.ssl.keyPassphrase** to decrypt the private key, which is optional because the key may not be encrypted. * * elasticsearch.tribe.ssl.certificateAuthorities:** specifies the path of the PEM certificate file used for Elasticsearch tribe instances. * * default value of elasticsearch.tribe.ssl.verificationMode:**: full controls the authentication of certificates. Available values include none, certificate, and full. Full performs hostname verification, while certificate does not. * * default value of elasticsearch.tribe.pingTimeout:**: the value of elasticsearch.tribe.requestTimeout setting and the response time of waiting for Elasticsearch. * * elasticsearch.tribe.requestTimeout:**Default: 30000 the response time of waiting for backend or Elasticsearch (in microseconds). This value must be a positive integer. * * elasticsearch.tribe.requestHeadersWhitelist:** default value: ['authorization'] Kibana sends to the client header body of Elasticsearch, sends no header body, and sets this value to []. * * default value of elasticsearch.tribe.customHeaders:**: {} the header body and value sent to Elasticsearch. No matter how elasticsearch.tribe.requestHeadersWhitelist is configured, any custom header body will not be overwritten by the client header body.
For more instructions, please check the official website address.
Official website address: https://www.elastic.co/guide/cn/kibana/current/index.html
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.