You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In our environment we're using 3 logstash plugins (geoip, useragent and urldecode) and when doing a puppet agent run with --debug it indicates slowness when these add-ons are being checked.
For each add-on, it runs "/usr/share/logstash/bin/logstash-plugin list ^addonname$" - which when run from a command line takes 5-10 seconds. The same command then runs again for each add-on.
Given you can pass in a regex, you can check if all of the plugins are available with the syntax /usr/share/logstash/bin/logstash-plugin list '^(addonA|addonB|addonC)$' - which only takes the same amount of time as running a check for each plugin in the list.
If the output from this single command could be parsed appropriately, then run time wouldn't increase with each new plugin used.
The text was updated successfully, but these errors were encountered:
In our environment we're using 3 logstash plugins (geoip, useragent and urldecode) and when doing a puppet agent run with --debug it indicates slowness when these add-ons are being checked.
For each add-on, it runs "/usr/share/logstash/bin/logstash-plugin list ^addonname$" - which when run from a command line takes 5-10 seconds. The same command then runs again for each add-on.
Given you can pass in a regex, you can check if all of the plugins are available with the syntax /usr/share/logstash/bin/logstash-plugin list '^(addonA|addonB|addonC)$' - which only takes the same amount of time as running a check for each plugin in the list.
If the output from this single command could be parsed appropriately, then run time wouldn't increase with each new plugin used.
The text was updated successfully, but these errors were encountered: