Osquerybeat: Change the query timeout from 3 secs to 60 secs#26775
Merged
aleksmaus merged 1 commit intoelastic:masterfrom Jul 7, 2021
Merged
Osquerybeat: Change the query timeout from 3 secs to 60 secs#26775aleksmaus merged 1 commit intoelastic:masterfrom
aleksmaus merged 1 commit intoelastic:masterfrom
Conversation
* The 3 seconds timeout was too low for wifi_survey query for example which was taking more like 5 seconds on the test box. Bumping the value up eliminited timeouts.
james-elastic
approved these changes
Jul 7, 2021
Contributor
💚 Build Succeeded
Expand to view the summary
Build stats
Test stats 🧪
Trends 🧪💚 Flaky test reportTests succeeded. Expand to view the summary
Test stats 🧪
|
mergify bot
pushed a commit
that referenced
this pull request
Jul 7, 2021
* The 3 seconds timeout was too low for wifi_survey query for example which was taking more like 5 seconds on the test box. Bumping the value up eliminited timeouts. (cherry picked from commit 1754f54)
mergify bot
pushed a commit
that referenced
this pull request
Jul 7, 2021
* The 3 seconds timeout was too low for wifi_survey query for example which was taking more like 5 seconds on the test box. Bumping the value up eliminited timeouts. (cherry picked from commit 1754f54)
v1v
added a commit
to v1v/beats
that referenced
this pull request
Jul 8, 2021
* upstream/master: (430 commits) CI: increase timeout (elastic#26764) Heartbeat: add datastream fields to synthetics (elastic#26774) Osquerybeat: Change the query timeout from 3 secs to 60 secs (elastic#26775) Remove experimental warning for inputs with variables. (elastic#26762) Add latest k8s versions in testing (elastic#26729) change type of max_bytes to ByteType (elastic#26699) [Elastic Agent] Fix broken enrollment command (elastic#26749) Update agent managed manifest to include enrolment token variable (elastic#26756) Filebeat: Ensure module pipelines compatibility with previous versions of Elasticsearch (elastic#26737) Forward port changelog for 7.13.3 (elastic#26731) to master (elastic#26754) Upgrade PyYAML dependency used for tests (elastic#26746) Add agent fleet enrolment k8s manifest (elastic#26566) CI: retry the step only (elastic#26736) Osquerybeat: Fix the configuration poll interval setting (elastic#26739) [Filebeat] Replace copy_from with templated value (elastic#26631) Reduce the verbosity of the debug log for monitoring (elastic#26583) Add instructions on testing metricbeat kubernetes module (elastic#26643) Revert "[CI] fight the flakiness with some retry option in the CI only for the Pull Requests (elastic#26617)" (elastic#26704) Packaging: linux/armv7 is not supported (elastic#26706) Cyberarkpas: Link to official docs on how to setup TLS (elastic#26614) ...
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Increase osquery timeout from 3 secs to 60 secs. The 3 seconds timeout was too low for
wifi_surveytable query for example which was taking more like 5 seconds on the test box if running standalone with osqueryi. Bumping the value up eliminated timeouts.Why is it important?
Some queries will timeout on slower machines, 3 secs timeout was not enough.
Checklist
Related issues
Screenshots
Validated the

wifi_surveytable query completes successfully after the change: