[elk]elk的诸多beats&&kibana插件
elk的诸多beats
参考: https://www.elastic.co/guide/en/beats/libbeat/current/community-beats.html
jmxproxybeat
参考: https://github.com/radoondas/jmxproxybeat
Metricbeat
正确姿势启动metricbeat
metricbeat.modules:
- module: system
metricsets:
- cpu
- filesystem
- memory
- network
- process
enabled: true
period: 10s
processes: ['.*']
cpu_ticks: false
output.elasticsearch:
hosts: ["http://192.168.x.x:9200"]
setup.template.name: "metricbeat"
setup.template.fields: "fields.yml"
setup.template.overwrite: true
setup.template.settings:
index.number_of_shards: 1
index.number_of_replicas: 1
setup.kibana.host: "192.168.x.x:5601"
setup.dashboards.enabled: true
./metricbeat -e -c metricbeat.yml -d "publish"
它有这些指标模块
This section contains detailed information about the metric collecting modules contained in Metricbeat. Each module contains one or multiple metricsets. More details about each module can be found under the links below.
Aerospike
Apache
Ceph
Couchbase
Docker
Dropwizard
Elasticsearch
Golang
HAProxy
HTTP
Jolokia
Kafka
Kibana
Kubernetes
Memcached
MongoDB
MySQL
Nginx
PHP-FPM
PostgreSQL
Prometheus
RabbitMQ
Redis
System
vSphere
Windows
ZooKeeper
amazonbeat
Reads data from a specified Amazon product.
apachebeat
Reads status from Apache HTTPD server-status.
apexbeat
Extracts configurable contextual data and metrics from Java applications via the APEX toolkit.
burrowbeat
Monitors Kafka consumer lag using Burrow.
cassandrabeat
Uses Cassandra’s nodetool cfstats utility to monitor Cassandra database nodes and lag.
cloudflarebeat
Indexes log entries from the Cloudflare Enterprise Log Share API.
cloudfrontbeat
Reads log events from Amazon Web Services CloudFront.
cloudtrailbeat
Reads events from Amazon Web Services' CloudTrail.
cloudwatchmetricbeat
A beat for Amazon Web Services' CloudWatch Metrics.
cloudwatchlogsbeat
Reads log events from Amazon Web Services' CloudWatch Logs.
collectbeat
Adds discovery on top of Filebeat and Metricbeat in environments like Kubernetes.
connbeat
Exposes metadata about TCP connections.
consulbeat
Reads services health checks from consul and pushes them to Elastic.
dockbeat
Reads Docker container statistics and indexes them in Elasticsearch.
elasticbeat
Reads status from an Elasticsearch cluster and indexes them in Elasticsearch.
etcdbeat
Reads stats from the Etcd v2 API and indexes them into Elasticsearch.
execbeat
Periodically executes shell commands and sends the standard output and standard error to Logstash or Elasticsearch.
factbeat
Collects facts from Facter.
flowbeat
Collects, parses, and indexes sflow samples.
gabeat
Collects data from Google Analytics Realtime API.
githubbeat
Easily monitors GitHub repository activity.
gpfsbeat
Collects GPFS metric and quota information.
hsbeat
Reads all performance counters in Java HotSpot VM.
httpbeat
Polls multiple HTTP(S) endpoints and sends the data to Logstash or Elasticsearch. Supports all HTTP methods and proxies.
hwsensorsbeat
Reads sensors information from OpenBSD.
icingabeat
Icingabeat ships events and states from Icinga 2 to Elasticsearch or Logstash.
iobeat
Reads IO stats from /proc/diskstats on Linux.
jmxproxybeat
Reads Tomcat JMX metrics exposed over JMX Proxy Servlet to HTTP.
journalbeat
Used for log shipping from systemd/journald based Linux systems.
kafkabeat
Reads data from Kafka topics.
krakenbeat
Collect information on each transaction on the Kraken crypto platform.
lmsensorsbeat
Collects data from lm-sensors (such as CPU temperatures, fan speeds, and voltages from i2c and smbus).
logstashbeat
Collects data from Logstash monitoring API (v5 onwards) and indexes them in Elasticsearch.
mcqbeat
Reads the status of queues from memcacheq.
mongobeat
Monitors MongoDB instances and can be configured to send multiple document types to Elasticsearch.
mqttbeat
Add messages from mqtt topics to Elasticsearch.
mysqlbeat
Run any query on MySQL and send results to Elasticsearch.
nagioscheckbeat
For Nagios checks and performance data.
nginxbeat
Reads status from Nginx.
nginxupstreambeat
Reads upstream status from nginx upstream module.
nvidiagpubeat
Uses nvidia-smi to grab metrics of NVIDIA GPUs.
openconfigbeat
Streams data from OpenConfig-enabled network devices
packagebeat
Collects information about system packages from package managers.
phpfpmbeat
Reads status from PHP-FPM.
pingbeat
Sends ICMP pings to a list of targets and stores the round trip time (RTT) in Elasticsearch.
prombeat
Indexes Prometheus metrics.
prometheusbeat
Send Prometheus metrics to Elasticsearch via the remote write feature.
protologbeat
Accepts structured and unstructured logs via UDP or TCP. Can also be used to receive syslog messages or GELF formatted messages. (To be used as a successor to udplogbeat)
redditbeat
Collects new Reddit Submissions of one or multiple Subreddits.
redisbeat
Used for Redis monitoring.
retsbeat
Collects counts of RETS resource/class records from Multiple Listing Service (MLS) servers.
rsbeat
Ships redis slow logs to elasticsearch and anlyze by Kibana.
saltbeat
Reads events from salt master event bus.
springbeat
Collects health and metrics data from Spring Boot applications running with the actuator module.
twitterbeat
Reads tweets for specified screen names.
udpbeat
Ships structured logs via UDP.
udplogbeat
Accept events via local UDP socket (in plain-text or JSON with ability to enforce schemas). Can also be used for applications only supporting syslog logging.
unifiedbeat
Reads records from Unified2 binary files generated by network intrusion detection software and indexes the records in Elasticsearch.
uwsgibeat
Reads stats from uWSGI.
varnishlogbeat
Reads log data from a Varnish instance and ships it to Elasticsearch.
varnishstatbeat
Reads stats data from a Varnish instance and ships it to Elasticsearch.
wmibeat
Uses WMI to grab your favorite, configurable Windows metrics.
kibana插件
kibana_shard_allocation
参考: https://github.com/asileon/kibana_shard_allocation
mathlion
Mathlion is an advanced math plugin for Kibana's Timelion
参考: https://github.com/fermiumlabs/mathlion
.es(*).math("a=source") //the variable "a" now contains the elasticsearch query.
.nop().math("a") //this row now equals the former elasticsearch query
.es(*).math("source") //return the .es(*) query
.es(*).math("source+5") // add 5 to the .es(*) query
.nop().math("a=a+2 ; a=a+3 ") //adds 5 to a
.nop().math("a=a+2 ; a=a+3 ; a ") //adds 5 to a and displays a+5
.es(*).math("a=source") //this query is invisible and does not generate an axis
.es(*).math("a=source; a") //this query does
.nop.math("sqrt(3^2 + 4^2)") //returns 5
//Calculate power comsumption based on measured current and stimated voltage (in Europe)
.nop().math("electricPower(v,i)=(v*i)")
.es(metric=avg:current).math(machineCurrent=source)
.nop().math("elascPower(230,machineCurrent)")
//plot the horizontal statistical mean and variance
.es(*).math("me=mean(source); va=var(source)")
.value(1).math(me*source)
.value(1).math("(me+sqrt(va))*source")
.value(1).math("(me-sqrt(va))*source")
[elk]elk的诸多beats&&kibana插件的更多相关文章
- 五十七.分布式ELK平台、ES安装 、 扩展插件 、Kibana安装
1. ES集群安装 准备1台虚拟机 部署elasticsearch第一个节点 访问9200端口查看是否安装成功 1ELK是日志分析平台,不是一款软件,而是一整套解决方案,是三个软件产品的首字母缩写 ...
- ELK日志系统:Elasticsearch+Logstash+Kibana+Filebeat搭建教程
ELK日志系统:Elasticsearch + Logstash + Kibana 搭建教程 系统架构 安装配置JDK环境 JDK安装(不能安装JRE) JDK下载地址:http://www.orac ...
- 利用kibana插件对Elasticsearch查询
利用kibana插件对Elasticsearch查询 Elasticsearch是功能非常强大的搜索引擎,使用它的目的就是为了快速的查询到需要的数据. 查询分类: 基本查询:使用Elasticsear ...
- ES 04 - 安装Kibana插件(6.6.0版本)
目录 1 Kibana是什么 2 安装并启动Kibana 2.1 准备安装包 2.2 修改配置文件 2.3 启动Kibana并验证 2.4 关闭Kibana服务 3 Kibana功能测试 3.1 关于 ...
- Kibana插件sentinl实现邮件报警
为什么会突然想用到对日志的异常内容进行邮件报警,是因为在上周公司的线上业务多次出现锁表,开发在优化sql的同时,我也在想是不是可以对日志的异常内容进行检测并实现邮件预警. 在网上查询了一些资料后,决定 ...
- Kibana插件
附加的功能在 Kibana 中是以插件的形式提供的.您可以利用 bin/kibana-plugin 命令来管理这些模块.您也可以手动安装这些插件,只需要将这些插件包放到 plugins 目录并解压到新 ...
- ELK日志系统:Elasticsearch + Logstash + Kibana 搭建教程
环境:OS X 10.10.5 + JDK 1.8 步骤: 一.下载ELK的三大组件 Elasticsearch下载地址: https://www.elastic.co/downloads/elast ...
- ELK日志系统:Elasticsearch + Logstash + Kibana 搭建教程(转)
环境:OS X 10.10.5 + JDK 1.8 步骤: 一.下载ELK的三大组件 Elasticsearch下载地址: https://www.elastic.co/downloads/elast ...
- [Big Data - ELK] ELK(ElasticSearch, Logstash, Kibana)搭建实时日志分析平台
ELK平台介绍 在搜索ELK资料的时候,发现这篇文章比较好,于是摘抄一小段: 以下内容来自: http://baidu.blog.51cto.com/71938/1676798 日志主要包括系统日志. ...
随机推荐
- python接口自动化10-token登录
前言 有些登录不是用cookie来验证的,是用token参数来判断是否登录. token传参有两种一种是放在请求头里,本质上是跟cookie是一样的,只是换个单词而已:另外一种是在url请求参数里,这 ...
- 深入解析OkHttp3
OkHttp是一个精巧的网络请求库,有如下特性: 1)支持http2,对一台机器的所有请求共享同一个socket 2)内置连接池,支持连接复用,减少延迟 3)支持透明的gzip压缩响应体 4) ...
- Python操作dict时避免出现KeyError的几种方法
见原文:https://www.polarxiong.com/archives/Python-%E6%93%8D%E4%BD%9Cdict%E6%97%B6%E9%81%BF%E5%85%8D%E5% ...
- poj 1995 Raising Modulo Numbers 题解
Raising Modulo Numbers Time Limit: 1000MS Memory Limit: 30000K Total Submissions: 6347 Accepted: ...
- Mysql触发器、模糊查找、存储过程、内置函数
原本觉得Mysql的一些知识还是差不多了,但是在实际上在项目上用的时候,发现什么都忘记了.现在重新回顾一下,顺便做个笔记. 触发器 ...
- windows获取本机MAC地址并写入文件的bat
windows获取本机MAC地址并写入文件的bat MAC(Media Access Control)地址,或称为 MAC地址.硬件地址,用来定义网络设备的位置. bat代码例如以下: @echo o ...
- getActivity nullPointerException
今天突然出现一个问题. Fragment中getActivity突然不能了,会出现空指针问题.最后也不知道是什么原因引起的. 解决的方法: @Override public void onAttach ...
- 搭建keepalived遇到的问题
搭建keepalived遇到的问题 主机192.168.100.10 备机192.168.100.20 VIP192.168.100.30 一.防火墙开启后双机都是master. 在搭建之后开启防火墙 ...
- Samba简单教程+Samba中文显示问题
1.检测安装Samba服务(1).检查Samba服务包是否已安装:rpm -qa | grep samba(2).如未安装,则插入第一张安装盘,执行:mount /mnt/cdromcd /cdrom ...
- C#控制台下的AO程序
好几年没写过控制台程序了(上一次是大二时写坐标转换时用过),因为我觉得用户难以接受没有良好操作界面的应用程序,我不想偷懒,今天来将应用程序改写为控制台程序,记录一下,忘记的内容: 1.数据的交互 不管 ...