标签:
操作系统:Cent OS 7
Kibana版本:3.1.2
JDK版本:1.7.0_51
SSH Secure Shell版本:XShell 5
进入安装目录,并通过curl命令下载Kibana压缩包文件并解压:
下载
curl -L -O https://download.elasticsearch.org/kibana/kibana/kibana-3.1.2.zip
解压
unzip kibana-3.1.2.zip
http { charset utf-8; include mime.types; default_type application/octet-stream; log_format main ‘$remote_addr - $remote_user [$time_local] $request_time $upstream_response_time "$request" ‘ ‘$status $body_bytes_sent $request_length $bytes_sent "$http_referer" ‘ ‘"$http_user_agent" "$http_x_forwarded_for" "$sent_http_content_range"‘; server { listen 83; server_name 192.168.1.181; access_log /usr/local/nginx/logs/kibana.log main; client_max_body_size 5m; index index.html index.htm; autoindex on; root /usr/local/logdeal/kibana-3.1.2; location / { index index.html index.htm; } } }
elasticsearch: "http://192.168.1.181:9100" #指向elasticsearch访问地址
/usr/local/logdeal/nginx/sbin/nginx -c /usr/local/logdeal/nginx/conf/nginx_kibana.conf
http://192.168.1.181:83/#/dashboard/file/default.json
标签:
原文地址:http://www.cnblogs.com/wangyangliuping/p/5546607.html