Skip to content

Commit 29e8459

Browse files
Increase maximum Osquery timeout (#726)
Contributes to #347. Updates Osquery docs to reflect that the maximum query timeout has been increased to 86400 seconds (24 hours). Previews: - [Osquery](https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/726/solutions/security/investigate/osquery) - [Add Osquery Response Actions](https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/726/solutions/security/investigate/add-osquery-response-actions) - [Run Osquery from investigation guides](https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/726/solutions/security/investigate/run-osquery-from-investigation-guides) - [Run Osquery from alerts](https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/726/solutions/security/investigate/run-osquery-from-alerts) Corresponding PR for 8.x Security docs: elastic/security-docs#6590 Corresponding PR for 8.x Kibana docs: elastic/kibana#213918
1 parent ed54e83 commit 29e8459

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

solutions/security/investigate/add-osquery-response-actions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ You can add Osquery Response Actions to new or existing custom query rules. Quer
4747
* **Query**: Select a saved query or enter a new one. After you enter the query, you can expand the **Advanced** section to set a timeout period for the query, and view or set [mapped ECS fields](/solutions/security/investigate/osquery.md#osquery-map-fields) included in the results from the live query (optional).
4848

4949
::::{note}
50-
Overwriting the query’s default timeout period allows you to support queries that take longer to run. The default and minimum supported value for the **Timeout** field is `60`. The maximum supported value is `900`.
50+
Overwriting the query’s default timeout period allows you to support queries that take longer to run. The default and minimum supported value for the **Timeout** field is `60`. The maximum supported value is `86400` (24 hours).
5151
::::
5252

5353

solutions/security/investigate/osquery.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ To inspect hosts, run a query against one or more agents or policies, then view
4545
* **Query**: Select a saved query or enter a new one in the text box. After you enter the query, you can expand the **Advanced** section to set a timeout period for the query, and view or set [mapped ECS fields](#osquery-map-fields) included in the results from the live query (optional).
4646

4747
::::{note}
48-
Overwriting the query’s default timeout period allows you to support queries that require more time to complete. The default and minimum supported value for the **Timeout** field is `60`. The maximum supported value is `900`.
48+
Overwriting the query’s default timeout period allows you to support queries that require more time to complete. The default and minimum supported value for the **Timeout** field is `60`. The maximum supported value is `86400` (24 hours).
4949
::::
5050

5151
* **Pack**: Select from available query packs. After you select a pack, all of the queries in the pack are displayed.
@@ -123,7 +123,7 @@ You can run packs as live queries or schedule packs to run for one or more agent
123123
* Click **Add query** and then add a saved query or enter a new query. Each query must include a unique query ID and the interval at which it should run. Optionally, set the minimum Osquery version and platform, specify a timeout period, or [map ECS fields](#osquery-map-fields). When you add a saved query to a pack, this adds a copy of the query. A connection is not maintained between saved queries and packs.
124124

125125
::::{note}
126-
Overwriting the query’s default timeout period allows you to support queries that require more time to complete. The default and minimum supported value for the **Timeout** field is `60`. The maximum supported value is `900`.
126+
Overwriting the query’s default timeout period allows you to support queries that require more time to complete. The default and minimum supported value for the **Timeout** field is `60`. The maximum supported value is `86400` (24 hours).
127127
::::
128128

129129
* Upload queries from a `.conf` query pack by dragging the pack to the drop zone under the query table. To explore the community packs that Osquery publishes, click **Example packs**.
@@ -161,7 +161,7 @@ Once you save a query, you can only edit it from the **Saved queries** tab:
161161
* The unique identifier (required).
162162
* A brief description.
163163
* The SQL query (required). Osquery supports multi-line queries.
164-
* A timeout period (optional). Increase the query’s default timeout period to support queries that require more time to complete. The default and minimum supported value for the **Timeout** field is `60`. The maximum supported value is `900`.
164+
* A timeout period (optional). Increase the query’s default timeout period to support queries that require more time to complete. The default and minimum supported value for the **Timeout** field is `60`. The maximum supported value is `86400` (24 hours).
165165
* The [ECS fields](#osquery-map-fields) to populate when the query is run (optional). These fields are also copied in when you add this query to a pack.
166166
* The defaults to set when you add the query to a pack.
167167

solutions/security/investigate/run-osquery-from-alerts.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ To run Osquery from an alert:
3535
* **Query**: Select a saved query or enter a new one in the text box. After you enter the query, you can expand the **Advanced** section to set a timeout period for the query, and view or set [mapped ECS fields](/solutions/security/investigate/osquery.md#osquery-map-fields) included in the results from the live query (optional).
3636

3737
::::{note}
38-
Overwriting the query’s default timeout period allows you to support queries that take longer to run. The default and minimum supported value for the **Timeout** field is `60`. The maximum supported value is `900`.
38+
Overwriting the query’s default timeout period allows you to support queries that take longer to run. The default and minimum supported value for the **Timeout** field is `60`. The maximum supported value is `86400` (24 hours).
3939
::::
4040

4141

solutions/security/investigate/run-osquery-from-investigation-guides.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ You can only add Osquery to investigation guides for custom rules because prebui
5252
3. Expand the **Advanced** section to set a timeout period for the query, and view or set [mapped ECS fields](/solutions/security/investigate/osquery.md#osquery-map-fields) included in the results from the live query (optional).
5353

5454
::::{note}
55-
Overwriting the query’s default timeout period allows you to support queries that take longer to run. The default and minimum supported value for the **Timeout** field is `60`. The maximum supported value is `900`.
55+
Overwriting the query’s default timeout period allows you to support queries that take longer to run. The default and minimum supported value for the **Timeout** field is `60`. The maximum supported value is `86400` (24 hours).
5656
::::
5757

5858

@@ -76,7 +76,7 @@ You can only add Osquery to investigation guides for custom rules because prebui
7676
2. Expand the **Advanced** section to set a timeout period for the query, and view or set [mapped ECS fields](/solutions/security/investigate/osquery.md#osquery-map-fields) included in the results from the live query (optional).
7777

7878
::::{note}
79-
Overwriting the query’s default timeout period allows you to support queries that take longer to run. The default and minimum supported value for the **Timeout** field is `60`. The maximum supported value is `900`.
79+
Overwriting the query’s default timeout period allows you to support queries that take longer to run. The default and minimum supported value for the **Timeout** field is `60`. The maximum supported value is `86400` (24 hours).
8080
::::
8181

8282
6. Click **Submit** to run the query. Query results display in the flyout.

0 commit comments

Comments
 (0)