简体   繁体   English

如何通过弹性搜索将性能测试日志推送到kibana

[英]How to push performance test logs to kibana via elastic search

Is there a possibility to push the analysis report taken from the Performance Center to Logstash and visualize them in Kibana? 是否可以将从性能中心获取的分析报告推送到Logstash并在Kibana中将其可视化? I just wanted to automate the task of checking each vuser log file and then push errors to ELK stack. 我只是想自动化检查每个vuser日志文件,然后将错误推送到ELK堆栈的任务。 How can I retrieve the files by script and automate this. 如何通过脚本检索文件并将其自动化。 I can't get any direction on this because I need to automate the task of automatically reading from each vuser_log file. 我对此没有任何方向,因为我需要自动执行自动读取每个vuser_log文件的任务。

Filebeat should be your tool to get done what you mentioned. Filebeat应该是您完成所提及内容的工具。

To automatically read entries you write in a file (could be a log file) you simply need a shipper tool which can be Filebeat (It integrates well with ELK stack. Logstash can also do the same thing though but that's heavy and requires JVM ) 要自动读取您写在文件(可能是日志文件)中的条目,您只需要一个可以是Filebeat的运货工具(它与ELK堆栈集成得很好。Logstash也可以做同样的事情,但是很重,需要JVM)

To do this in ELK stack you need following : 要在ELK堆栈中执行此操作,您需要执行以下操作:

  1. Filebeat should be setup on "all" instances where your main application is running- and generating logs. 应该在主应用程序正在运行并正在生成日志的“所有”实例上设置Filebeat Filebeat is simple lightweight shipper tool that can read your logs entries and then send them to Logstash. Filebeat是一种简单的轻型托运人工具,可以读取您的日志条目,然后将其发送到Logstash。
  2. Setup one instance of Logstash (that's L of ELK) which will receive events from Filebeat. 设置一个Logstash实例(即ELK的L),该实例将从Filebeat接收事件。 Logstash will send data to Elastic Search Logstash将数据发送到Elastic Search
  3. Setup one instance of Elastic Search (that's E of ELK) where your data will be stored 设置一个Elastic Search实例(即ELK的E),在该实例中将存储您的数据
  4. Setup one instance of Kibana (that's K of ELK). 设置一个Kibana实例(即ELK的K)。 Kibana is the front end tool to view and interact with Elastic search via Rest calls Kibana是用于通过Rest调用查看和与Elastic搜索交互的前端工具

Refer following link for setting up above mentioned: 请参考以下链接进行上述设置:

https://logz.io/blog/elastic-stack-windows/ https://logz.io/blog/elastic-stack-windows/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 通过kibana进行弹性搜索累积和聚合 - Elastic search cumulative sum aggregation via kibana 使用弹性搜索/ kibana / logstash集中pm2日志 - Centralizing pm2 logs with elastic search/kibana/logstash 如何使用 Logstash 解析来自 S3 的数据并推送到 Elastic Search,然后推送到 Kibana - How to parse data from S3 using Logstash and push to Elastic Search and then to Kibana 对基于Kafka,Elastic Search和Kibana构建的应用程序进行功能和性能测试 - Functional and Performance testing on applications built on kafka, elastic search and kibana 弹性搜索-如何检查kibana中是否使用了索引 - Elastic search - how to check if index is used in kibana 如何使用 Elastic Search 和 Statsd 配置 Kibana - How to configure Kibana with Elastic Search and Statsd 如何在 Kubernetes 中将 Kibana 与 Elastic Enterprise Search 连接 - How to connect Kibana with Elastic Enterprise Search in Kubernetes 如何在kibana弹性搜索中使用数组? - How to use array in kibana elastic search? 如何将 Swift 项目连接到 Kibana 弹性搜索? - How to connect Swift project to Kibana elastic search? 如何将弹性搜索查询从Kibana 3转换为Kibana 4 - How to convert elastic search queries from Kibana 3 to Kibana 4
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM