Performance testing of Logstash

Source: Internet
Author: User
Tags logstash

Logstash has a simple batch build plugin. Generator For details, see official website: https://www.elastic.co/guide/en/logstash/current/plugins-inputs-generator.html

How to use: Config file modified to

Input {  generator {    = = [    "line1",    " Line 2",    "line3"    ]   3  }}

#下面的输出部分可以替换成其他输出插件. such as Elasticsearch or Redis,mongo. Output { stdout {codec = dots }}

The LogStash itself does not maintain queues. Here, you need to be proficient in using the test methods in this section to determine their performance for each configuration. LogStash sets a separate thread name for each thread, and you can top -H see the load of the specific thread in the results.

Reference: http://udn.yyuap.com/doc/logstash-best-practice-cn/input/generator.html

Performance testing of Logstash

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.