Skip to content

Commit a9ffeff

Browse files
dd-octo-sts[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit 9da2806 of spec repo (#4103)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent a96e322 commit a9ffeff

3 files changed

Lines changed: 31 additions & 13 deletions

File tree

‎.generator/schemas/v2/openapi.yaml‎

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -246526,11 +246526,19 @@ tags:
246526246526
Search your logs and send them to your Datadog platform over HTTP. See the [Log Management page](https://docs.datadoghq.com/logs/) for more information.
246527246527
name: Logs
246528246528
- description: |-
246529-
Search the logs stored in a Logs Archive without reindexing them, and optionally rehydrate
246530-
the matches into a retained historical view.
246529+
Archive Search queries logs directly from long-term storage archives without prior
246530+
rehydration and charges only for the data scanned.
246531246531

246532-
See the [Rehydrating from Archives](https://app.datadoghq.com/logs/pipelines/historical-views)
246533-
page for the searches currently running in Datadog.
246532+
A search runs in one of two modes. By default, it scans the archive and retains up to
246533+
100,000 matching logs for 24 hours on a dedicated results page. Include a `rehydration`
246534+
object to run a Search & Rehydration instead, which retains the matches for a longer
246535+
custom retention period and makes them available beyond Log Explorer, such as in Dashboards and Notebooks.
246536+
246537+
A search requires the `logs_write_historical_view` or `logs_write_archive_search`
246538+
permission. Rehydration requires `logs_write_historical_view`.
246539+
externalDocs:
246540+
description: Find out more at
246541+
url: https://docs.datadoghq.com/logs/explorer/archive_search/
246534246542
name: Logs Archive Searches
246535246543
- description: |-
246536246544
Archives forward all the logs ingested to a cloud storage system.

‎src/datadog_api_client/v2/api/logs_archive_searches_api.py‎

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,16 @@
1313

1414
class LogsArchiveSearchesApi:
1515
"""
16-
Search the logs stored in a Logs Archive without reindexing them, and optionally rehydrate
17-
the matches into a retained historical view.
16+
Archive Search queries logs directly from long-term storage archives without prior
17+
rehydration and charges only for the data scanned.
1818
19-
See the `Rehydrating from Archives <https://app.datadoghq.com/logs/pipelines/historical-views>`_
20-
page for the searches currently running in Datadog.
19+
A search runs in one of two modes. By default, it scans the archive and retains up to
20+
100,000 matching logs for 24 hours on a dedicated results page. Include a ``rehydration``
21+
object to run a Search & Rehydration instead, which retains the matches for a longer
22+
custom retention period and makes them available beyond Log Explorer, such as in Dashboards and Notebooks.
23+
24+
A search requires the ``logs_write_historical_view`` or ``logs_write_archive_search``
25+
permission. Rehydration requires ``logs_write_historical_view``.
2126
"""
2227

2328
def __init__(self, api_client=None):

‎tests/v2/features/logs_archive_searches.feature‎

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
11
@endpoint(logs-archive-searches) @endpoint(logs-archive-searches-v2)
22
Feature: Logs Archive Searches
3-
Search the logs stored in a Logs Archive without reindexing them, and
4-
optionally rehydrate the matches into a retained historical view. See the
5-
[Rehydrating from
6-
Archives](https://app.datadoghq.com/logs/pipelines/historical-views) page
7-
for the searches currently running in Datadog.
3+
Archive Search queries logs directly from long-term storage archives
4+
without prior rehydration and charges only for the data scanned. A search
5+
runs in one of two modes. By default, it scans the archive and retains up
6+
to 100,000 matching logs for 24 hours on a dedicated results page. Include
7+
a `rehydration` object to run a Search & Rehydration instead, which
8+
retains the matches for a longer custom retention period and makes them
9+
available beyond Log Explorer, such as in Dashboards and Notebooks. A
10+
search requires the `logs_write_historical_view` or
11+
`logs_write_archive_search` permission. Rehydration requires
12+
`logs_write_historical_view`.
813

914
Background:
1015
Given a valid "apiKeyAuth" key in the system

0 commit comments

Comments
 (0)