zoukankan      html  css  js  c++  java
  • Kibana6安装使用(windows)

    Kibana版本:6.3.0
    前提:保证安装了JDK
    前提:保证安装了Elasticsearch
    安装Elasticsearch:
    到官网下载elasticsearch:https://www.elastic.co/downloads/elasticsearch


    解压

    进入bin目录,双击elasticsearch.bat

    打开http://localhost:9200/,发现显示

    {
    name: "G89oFzi",
    cluster_name: "elasticsearch",
    cluster_uuid: "NFsGt2d0TG2lPeE6zvsaRw",
    version: {
    number: "6.3.0",
    build_flavor: "default",
    build_type: "zip",
    build_hash: "424e937",
    build_date: "2018-06-11T23:38:03.357887Z",
    build_snapshot: false,
    lucene_version: "7.3.1",
    minimum_wire_compatibility_version: "5.6.0",
    minimum_index_compatibility_version: "5.0.0"
    },
    tagline: "You Know, for Search"
    }
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    即启动成功

    安装Kibana
    到官网下载kibana:https://www.elastic.co/downloads/kibana


    下载好了解压就行了

    修改配置:
    修改文件config/kibana.yml
    设置elasticsearch.url为启动的elasticsearch(http://localhost:9200/)实例(其实按照默认的话不用修改配置文件也可以)

    到kibana-6.3.0-windows-x86_64in目录,双击kibana.bat

    访问:http://localhost:5601

     

    注意:要是双击elasticsearch.bat闪退的话,可以在/bin目录下启动cmd,然后输入elasticsearch.bat可以看到报错的详情。(我安装JDK时自动配置的环境变量有问题,会报什么’common不可用’的错误,手动配置JDK的环境变量就可以了)

    安装步驟

    1. 下载 Logstash 6.6.0 安装版本。
    2. 解压缩到本地,进入安装路径下 bin 目录,新建文件 logstash_default.conf
    input {
      stdin{
      }
    }
    
    output {
      stdout{
      }
    }
    
    1. 继续在 bin 目录下新建文件 run_default.bat
    logstash -f logstash_default.conf
    
    1. 双击运行 run_default.bat,等待启动日志打印完成。
    D:DevELKlogstash-6.6.0in>logstash -f logstash_default.conf
    Sending Logstash logs to D:/Dev/ELK/logstash-6.6.0/logs which is now configured
    via log4j2.properties
    [2019-02-15T11:28:07,769][INFO ][logstash.setting.writabledirectory] Creating di
    rectory {:setting=>"path.queue", :path=>"D:/Dev/ELK/logstash-6.6.0/data/queue"}
    [2019-02-15T11:28:07,784][INFO ][logstash.setting.writabledirectory] Creating di
    rectory {:setting=>"path.dead_letter_queue", :path=>"D:/Dev/ELK/logstash-6.6.0/d
    ata/dead_letter_queue"}
    [2019-02-15T11:28:07,928][WARN ][logstash.config.source.multilocal] Ignoring the
     'pipelines.yml' file because modules or command line options are specified
    [2019-02-15T11:28:07,946][INFO ][logstash.runner          ] Starting Logstash {"
    logstash.version"=>"6.6.0"}
    [2019-02-15T11:28:07,981][INFO ][logstash.agent           ] No persistent UUID f
    ile found. Generating new UUID {:uuid=>"0b82cf1c-e133-4407-8b8a-fad3f652d4cd", :
    path=>"D:/Dev/ELK/logstash-6.6.0/data/uuid"}
    [2019-02-15T11:28:19,097][INFO ][logstash.pipeline        ] Starting pipeline {:
    pipeline_id=>"main", "pipeline.workers"=>4, "pipeline.batch.size"=>125, "pipelin
    e.batch.delay"=>50}
    [2019-02-15T11:28:19,302][INFO ][logstash.pipeline        ] Pipeline started suc
    cessfully {:pipeline_id=>"main", :thread=>"#<Thread:0x14a251cf run>"}
    The stdin plugin is now waiting for input:
    [2019-02-15T11:28:19,366][INFO ][logstash.agent           ] Pipelines running {:
    count=>1, :running_pipelines=>[:main], :non_running_pipelines=>[]}
    [2019-02-15T11:28:19,811][INFO ][logstash.agent           ] Successfully started
     Logstash API endpoint {:port=>9600}
    
    1. 打开浏览器,输入 http://localhost:9600/,页面显示以下信息则说明安装成功。
    {
    "host": "CTUY7JWX6208621",
    "version": "6.6.0",
    "http_address": "127.0.0.1:9600",
    "id": "0b82cf1c-e133-4407-8b8a-fad3f652d4cd",
    "name": "CTUY7JWX6208621",
    "build_date": "2019-01-24T12:13:56+00:00",
    "build_sha": "e4390be7e4d511af9d48bc503c9dcc15b03d3bce",
    "build_snapshot": false
    }


    作者:又语
    链接:https://www.jianshu.com/p/63f7243bd035
    来源:简书
    著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。


    ————————————————
    版权声明:本文为CSDN博主「__Charming__」的原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接及本声明。
    原文链接:https://blog.csdn.net/qq_41882147/article/details/80901461

  • 相关阅读:
    a gcc 4.2.4 bug(被stos指令累加后%edi作为参数的)
    gcc -02引起内存溢出'unsigned i'应修订为'volatile unsigned i'
    gcc优化引起get_free_page比__get_free_page返回值多4096
    gcc请不要优化
    change_bit 按位取反
    IBM messed up *AGAIN* in their thinkpad: 0xA0000 -> 0x9F000
    python正则实例
    详解volatile 关键字与内存可见性
    并发基础知识
    Spring通过注释配置Bean2 关联关系
  • 原文地址:https://www.cnblogs.com/lhxsoft/p/12206571.html
Copyright © 2011-2022 走看看