安装kibana官网安装,配置,后台启动

原创 2017年03月27日 15:58:37

官网 安装soeasy

wget https://artifacts.elastic.co/downloads/kibana/kibana-5.0.2-linux-x86_64.tar.gz
sha1sum kibana-5.0.2-linux-x86_64.tar.gz 
tar -xzf kibana-5.0.2-linux-x86_64.tar.gz
cd kibana/ 

这里写图片描述

自己写了个脚本,用于ansible,其实也是无聊。。。

#!/bin/bash
cd /letv
rsync -avzP 10.180.92.199::wVioz35SWO9zywesmagfOrP9XjigoF8j/james/kibana-5.0.0-linux-x86_64.tar.gz .
tar -xzf kibana-5.0.0-linux-x86_64.tar.gz
ln -s  /letv/kibana-5.0.0-linux-x86_64 /usr/local/kibana
export KIBANA_HOME=/usr/local/kibana
echo "export KIBANA_HOME=/usr/local/kibana 
export PATH=${KIBANA_HOME}/bin:$PATH
" >> /root/.bashrc

配置一下

vim /usr/local/kibana/config/kibana.yml 添加一个es
elasticsearch.url: "http://10.149.11.226:9200"
server.host: "0.0.0.0"
logging.dest: "/usr/local/kibana/kibana.log"

启动

nohup ../bin/kibana &

这里写图片描述
杀进程

ps -ef | grep kibana (这个有时候不行)
ps -ef | grep node
kill -2 21048

看日志

tail -f /usr/local/kibana/kibana.log 

下面说es版本不行,好吧继续安装es
这里写图片描述
以下是官网的配置文件内容

Configuring Kibanaedit
The Kibana server reads properties from the kibana.yml file on startup. The default settings configure Kibana to run on localhost:5601. To change the host or port number, or connect to Elasticsearch running on a different machine, you’ll need to update your kibana.yml file. You can also enable SSL and set a variety of other options.

Table 1. Kibana Configuration Settings
server.port:

Default: 5601 Kibana is served by a back end server. This setting specifies the port to use.

server.host:

Default: "localhost" This setting specifies the host of the back end server.

server.basePath:

Enables you to specify a path to mount Kibana at if you are running behind a proxy. This only affects the URLs generated by Kibana, your proxy is expected to remove the basePath value before forwarding requests to Kibana. This setting cannot end in a slash (/).

server.maxPayloadBytes:

Default: 1048576 The maximum payload size in bytes for incoming server requests.

server.name:

Default: "your-hostname" A human-readable display name that identifies this Kibana instance.

server.defaultRoute:

Default: "/app/kibana" This setting specifies the default route when opening Kibana. You can use this setting to modify the landing page when opening Kibana.

elasticsearch.url:

Default: "http://localhost:9200" The URL of the Elasticsearch instance to use for all your queries.

elasticsearch.preserveHost:

Default: true When this setting’s value is true Kibana uses the hostname specified in the server.host setting. When the value of this setting is false, Kibana uses the hostname of the host that connects to this Kibana instance.

kibana.index:

Default: ".kibana" Kibana uses an index in Elasticsearch to store saved searches, visualizations and dashboards. Kibana creates a new index if the index doesn’t already exist.

kibana.defaultAppId:

Default: "discover" The default application to load.

tilemap.url:

Default: "https://tiles.elastic.co/v1/default/{z}/{x}/{y}.png?elastic_tile_service_tos=agree&my_app_name=kibana" The URL to the tile service that Kibana uses to display map tiles in tilemap visualizations.

tilemap.options.minZoom:

Default: 1 The minimum zoom level.

tilemap.options.maxZoom:

Default: 10 The maximum zoom level.

tilemap.options.attribution:

Default: "© [Elastic Tile Service](https://www.elastic.co/elastic-tile-service)" The map attribution string.

tilemap.options.subdomains:

An array of subdomains used by the tile service. Specify the position of the subdomain the URL with the token {s}.

elasticsearch.username: and elasticsearch.password:

If your Elasticsearch is protected with basic authentication, these settings provide the username and password that the Kibana server uses to perform maintenance on the Kibana index at startup. Your Kibana users still need to authenticate with Elasticsearch, which is proxied through the Kibana server.

server.ssl.cert: and server.ssl.key:

Paths to the PEM-format SSL certificate and SSL key files, respectively. These files enable SSL for outgoing requests from the Kibana server to the browser.

elasticsearch.ssl.cert: and elasticsearch.ssl.key:

Optional settings that provide the paths to the PEM-format SSL certificate and key files. These files validate that your Elasticsearch backend uses the same key files.

elasticsearch.ssl.ca:

Optional setting that enables you to specify a path to the PEM file for the certificate authority for your Elasticsearch instance.

elasticsearch.ssl.verify:

Default: true To disregard the validity of SSL certificates, change this setting’s value to false.

elasticsearch.pingTimeout:

Default: the value of the elasticsearch.requestTimeout setting Time in milliseconds to wait for Elasticsearch to respond to pings.

elasticsearch.requestTimeout:

Default: 30000 Time in milliseconds to wait for responses from the back end or Elasticsearch. This value must be a positive integer.

elasticsearch.requestHeadersWhitelist:

Default: [ 'authorization' ] List of Kibana client-side headers to send to Elasticsearch. To send no client-side headers, set this value to [] (an empty list).

elasticsearch.customHeaders:

Default: {} Header names and values to send to Elasticsearch. Any custom headers cannot be overwritten by client-side headers, regardless of the elasticsearch.requestHeadersWhitelist configuration.

elasticsearch.shardTimeout:

Default: 0 Time in milliseconds for Elasticsearch to wait for responses from shards. Set to 0 to disable.

elasticsearch.startupTimeout:

Default: 5000 Time in milliseconds to wait for Elasticsearch at Kibana startup before retrying.

pid.file:

Specifies the path where Kibana creates the process ID file.

logging.dest:

Default: stdout Enables you specify a file where Kibana stores log output.

logging.silent:

Default: false Set the value of this setting to true to suppress all logging output.

logging.quiet:

Default: false Set the value of this setting to true to suppress all logging output other than error messages.

logging.verbose

Default: false Set the value of this setting to true to log all events, including system usage information and all requests.

ops.interval

Default: 5000 Set the interval in milliseconds to sample system and process performance metrics. The minimum value is 100.

status.allowAnonymous

Default: false If authentication is enabled, setting this to true allows unauthenticated users to access the Kibana server status API and status page.

console.enabled

Default: true Set to false to disable Console. Toggling this will cause the server to regenerate assets on the next startup, which may cause a delay before pages start being served.

console.proxyFilter

Default: .* A list of regular expressions that are used to validate any outgoing request from Console. If none of these match, the request will be rejected.

console.proxyConfig

A list of configuration options that are based on the proxy target. Use this to set custom timeouts or SSL settings for specific hosts. This is done by defining a set of match criteria using wildcards/globs which will be checked against each request. The configuration from all matching rules will then be merged together to configure the proxy used for that request.

The valid match keys are match.protocol, match.host, match.port, and match.path. All of these keys default to *, which means they will match any value. See Configuring Console for an example.

启动kibana后关闭shell窗口后kibana自动关闭

启动kibana后关闭shell窗口后kibana自动关闭的解决办法
  • wangmaohong0717
  • wangmaohong0717
  • 2017年04月12日 15:17
  • 3172

长期运行Kibana

最近在搭建ELK平台,kibana是用tar包直接解压缩使用的方式安装的。但是安装完成后遇到一个问题就是如何让kibana后台运行,并且当断开ssh连接后,还能继续运行。后来想到了nohup命令。 ...
  • ASIA_kobe
  • ASIA_kobe
  • 2016年11月23日 14:08
  • 6782

Kibana + X-Pack安装

相关博文: 搜索引擎ElasticSearchV5.4.2系列一之ES介绍  搜索引擎ElasticSearchV5.4.2系列二之ElasticSearchV5.4.2+klanaV5....
  • opera95
  • opera95
  • 2017年09月05日 18:58
  • 1081

[Elasticsearch]Elasticsearch+kibana+marvel安装

1. 检查JDK版本 使用如下命令检验JDK版本: xiaosi@Qunar:~$ java -versionjava version "1.7.0_40"Java(TM) SE Runtime...
  • SunnyYoona
  • SunnyYoona
  • 2016年06月23日 23:04
  • 6080

日志系统ELK使用详解(四)--kibana安装和使用

概述这是这个小系列的最后一篇了,我们将看到如何安装kibana,以及对ELK中的日志信息进行快速查询。...
  • BuquTianya
  • BuquTianya
  • 2017年05月14日 17:32
  • 9392

Elasticsearch上手——结合Kibana的安装配置

在使用之前,第一步就是要完成安装。Kibana作为一个有力的工具,大大方便了elasticsearch的使用,因此一同安装。...
  • mydeman
  • mydeman
  • 2017年01月26日 14:34
  • 7322

简单谈谈kibana并安装kibana+marvel插件

来源:/gaoying_blogs/article/details/51915171 前提: 前面已经有一篇文章介绍了ES插件的安装,其...
  • aosica321
  • aosica321
  • 2017年08月09日 18:29
  • 299

Kibana安装

Kibana安装下载kibana[root@node01 software]# wget https://download.elastic.co/kibana/kibana/kibana-4.6.1-...
  • qq_25371579
  • qq_25371579
  • 2017年01月07日 14:51
  • 277

Kibana基本使用

1. 定义你的索引模式匹配 2. 数据可视化:不只是发现数据 3.
  • ming_311
  • ming_311
  • 2016年02月01日 17:39
  • 86830

Kibana的安装与调试

Kibana是用于ElasticSearch的分析的可视化工具,通过web的方式呈现. 下载: kibana地址 https://www.elastic.co/products/kibana 文...
  • WuyZhen_CSDN
  • WuyZhen_CSDN
  • 2016年05月09日 19:12
  • 7873
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:安装kibana官网安装,配置,后台启动
举报原因:
原因补充:

(最多只允许输入30个字)