zoukankan      html  css  js  c++  java
  • 下载并安装 Metricbeat

    下载并安装 Metricbeat

    首次使用 Metricbeat?请参阅入门指南

     
    curl -L -O https://artifacts.elastic.co/downloads/beats/metricbeat/metricbeat-7.2.0-x86_64.rpm
    sudo rpm -vi metricbeat-7.2.0-x86_64.rpm
     

    寻找 32 位软件包?请参阅下载页面

     
    步骤 
    2

    编辑配置

    修改 /etc/metricbeat/metricbeat.yml 以设置连接信息:

     
    output.elasticsearch:
      hosts: ["<es_url>"]
      username: "elastic"
      password: "<password>"
    setup.kibana:
      host: "<kibana_url>"
    
     

    其中,<password> 是 elastic 用户的密码,<es_url> 是 Elasticsearch 的 URL,<kibana_url> 是 Kibana 的 URL。

     
    步骤 
    3

    启用和配置 system 模块

     
     
    sudo metricbeat modules enable system
     

    在 /etc/metricbeat/modules.d/system.yml 文件中修改设置。

     
    步骤 
    4

    启动 Metricbeat

    setup 命令加载 Kibana 仪表板。如果仪表板已设置,请省略此命令。

     
    sudo metricbeat setup
    sudo service metricbeat start
     
    未完成步骤 
     

    模块状态

    确认从 Metricbeat system 模块收到数据

    仪表板查看[Metricbeat System] Host overview ECS

  • 相关阅读:
    Git远程操作
    696. Count Binary Substrings
    693. Binary Number with Alternating Bits
    821. Shortest Distance to a Character
    345. Reverse Vowels of a String
    89. Gray Code
    数组操作符重载
    C++字符串反转
    马克思的两面性-来自网友
    C++字符串
  • 原文地址:https://www.cnblogs.com/joycezhou/p/11303046.html
Copyright © 2011-2022 走看看