-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use better default values for workers/pools/buffers #1512
Comments
+1 |
Wanted to use Elasticsearch's bundled Sigar libs, but the build process removes them. Oldest commit I can find for why I did this is here: c78d1e3 and I haven't a clue why I did it ;) Easy to fix. ;) |
We piggyback on Elasticsearch's use of Sigar to get the system info. WIP for elastic#1512
If cpu core info isn't available, the default (and previous behavior) is 1. WIP elastic#1512
🎶 Come in here, dear boy, have a Sigar. |
We piggyback on Elasticsearch's use of Sigar to get the system info. WIP for elastic#1512
If cpu core info isn't available, the default (and previous behavior) is 1. WIP elastic#1512
@jordansissel given that some filters aren't thread safe (multiline), I wonder if it makes sense to check if any such filters are configured before setting the workers = # cpu cores? |
Indeed! Part of this work will be to detect that and act accordingly. |
I want to begin a discussion about which 'values' are considered default and important. Please refer to this overview meta issue |
pipeline.rb
Action for line 44: Add support for filter_workers default to cpu-cores |
agent.rb
Action for line 22: Add support for filter_workers default to cpu-cores Action for line 26: Remove Watchdog in the code base |
/outputs/base.rb
[suyog] I would leave this as-is |
The current implementation of the watchdog will go alway, I'll make a PR to remove it completely. |
@guyboertje |
@suyograo - there are checks for in-order events AFAIK. |
inputs/http.rb
|
inputs/kafka.rb
|
inputs/rabbitmq.rb
|
NOTE: Magic numbers/strings, just convert the magic value into a descriptive method call from |
done the timestamp behaviour at -> logstash-plugins/logstash-filter-date#36 |
Things to tune and/or make default:
node
tohttp
RFC: Change the default protocol to http logstash-plugins/logstash-output-elasticsearch#150Specific to plugins:
Specific Issues:
Will be updated as we file more individual issues against plugins
The text was updated successfully, but these errors were encountered: