GithubHelp home page GithubHelp logo

Comments (4)

zbyufei avatar zbyufei commented on July 29, 2024

new config with buffer plugin like this:

<match es.typecast.access>
  type elasticsearch
  host 127.0.0.1
  port 9200
  logstash_prefix logstash
  logstash_format true
  type_name fluentd
  index_name fluentd
  flush_interval 5s

  buffer_type memory
  flush_interval 60
  retry_limit 17
  retry_wait 1.0
  num_threads 2
</match>

I am a beginners for fluent and elasticsearch. I want to cat logfile(>10G) to clickstream-access.log but so slowly.

from fluent-plugin-elasticsearch.

pitr avatar pitr commented on July 29, 2024

Not sure what geoip and typecast plugins do, but we have 'flush_interval 30s' in our configs for elasticsearch plugin. Try decreasing that value. Also, try playing with buffer_chunk_limit and friends (see http://docs.fluentd.org/articles/buffer-plugin-overview)

I guess you've already seen #3?

from fluent-plugin-elasticsearch.

zbyufei avatar zbyufei commented on July 29, 2024

yes. I have read #3 .
Thanks, I tried to remove geoip and typecast to see how the performance.

from fluent-plugin-elasticsearch.

zbyufei avatar zbyufei commented on July 29, 2024

I've done the test and found to be elasticsearch index performance problems.
I was reading through elasticsearch issue and elasticsearch google groups to improve its performance.
Here's a relevant performance test reports:

http://blog.sematext.com/2013/07/08/elasticsearch-refresh-interval-vs-indexing-performance/ :

refresh_interval: 1s   – 2.0K docs/s
refresh_interval: 5s   – 2.5K docs/s
refresh_interval: 30s – 3.4K docs/s

Thanks and I close this issue.

from fluent-plugin-elasticsearch.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.