zoukankan      html  css  js  c++  java
  • Kibana安装及部署

    安装及部署

    一、环境配置

    • 操作系统:Cent OS 7

    • Kibana版本:3.1.2

    • JDK版本:1.7.0_51

    • SSH Secure Shell版本:XShell 5

    二、操作过程

    1、下载指定版本的Kibana

    进入安装目录,并通过curl命令下载Kibana压缩包文件并解压:

    • 下载

    curl -L -O https://download.elasticsearch.org/kibana/kibana/kibana-3.1.2.zip
    
    • 解压

    unzip kibana-3.1.2.zip 

    2、配置Nginx虚拟机主机

    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; 
            } 
          }
    
    }

    3、更改Elasticsearch的配置文件config.js

    elasticsearch: "http://192.168.1.181:9100" #指向elasticsearch访问地址

    4、启动nginx,访问kibana地址

    /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

  • 相关阅读:
    jQurey中getJSON方法错误回调方法
    easyui-datagrid 假分页
    布局页
    SQL游标(cursor)详细说明及内部循环使用示例
    Jquery 实现事件冒泡
    Jquery 实现选项卡
    Jquery 实现折叠菜单
    Jquery 实现表格的隔行换色
    Html5 考点内容
    Html5 之Canvas [画布]
  • 原文地址:https://www.cnblogs.com/wangyangliuping/p/5546607.html
Copyright © 2011-2022 走看看