Category Archives: Log

prometheus/client_python

Prometheus Python Client The official Python 2 and 3 client for Prometheus. https://github.com/prometheus/client_python Three Step Demo One: Install the client: pip install prometheus_client Two: Paste the following into a Python interpreter: from... Read More | Share it now!

elasticsearch6.x {“error”:”Content-Type header [application/x-www-form-urlencoded] is not supported”

问题描述 curl -XPOST 192.168.14.173:32000/test_index_1221/test_type/5 -d '{'user_name':"xiaoming"}' {"error":"Content-Type header [application/x-www-form-urlencoded] is not supported","status":406} 解决方法 curl -H "Content-Type:... Read More | Share it now!

ElK + Filebeat安装教程

EKL Stack简介 ELK 不是一款软件,而是Elasticsearch、Logstash和Kibana首字母的缩写。这三者是开源软件,通常配合一起使用,而且先后归于Elasic.co公司的名下,所以简称ELK Stack。根据Google... Read More | Share it now!

Logstash基础知识

https://doc.yonyoucloud.com/doc/logstash-best-practice-cn/get_start/index.html Hello World 下载 https://www.elastic.co/cn/downloads/logstash 和绝大多数 IT 技术介绍一样,我们以一个输出 “hello world”... Read More | Share it now!

ELK-配置使用 Filebeat

为什么使用 Filebeat Logstash 是一个 Java 程序,当作为收集日志的 Agent 时,显得太臃肿了。 之前听过一个公司(斗鱼)使用 Logstash 作为日志收集 Agent 时,资源占用好像比业务进程占用还多!  ... Read More | Share it now!