Class: DatadogAPIClient::V2::ArchiveSearchCreateRequestAttributes

Inherits:
Object
  • Object
show all
Includes:
BaseGenericModel
Defined in:
lib/datadog_api_client/v2/models/archive_search_create_request_attributes.rb

Overview

Attributes accepted when creating an Archive Search.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_properties ⇒ Object

Returns the value of attribute additional_properties.



46
47
48
# File 'lib/datadog_api_client/v2/models/archive_search_create_request_attributes.rb', line 46

def additional_properties
  @additional_properties
end

#archive_id ⇒ Object

ID of the archive to search. Use the Logs Archives API to list the archives of the organization.



25
26
27
# File 'lib/datadog_api_client/v2/models/archive_search_create_request_attributes.rb', line 25

def archive_id
  @archive_id
end

#description ⇒ Object

Free-text description of the Archive Search.



28
29
30
# File 'lib/datadog_api_client/v2/models/archive_search_create_request_attributes.rb', line 28

def description
  @description
end

#from ⇒ Object

Start of the time range to search, as an ISO 8601 timestamp.



31
32
33
# File 'lib/datadog_api_client/v2/models/archive_search_create_request_attributes.rb', line 31

def from
  @from
end

#name ⇒ Object

Name of the Archive Search.



34
35
36
# File 'lib/datadog_api_client/v2/models/archive_search_create_request_attributes.rb', line 34

def name
  @name
end

#query ⇒ Object

Log search query used to filter the archived logs.



37
38
39
# File 'lib/datadog_api_client/v2/models/archive_search_create_request_attributes.rb', line 37

def query
  @query
end

#rehydration ⇒ Object

Rehydration settings. Include this object to index the matched logs into a retained historical view. Omit it to run an Archive Search that only scans the archive.



41
42
43
# File 'lib/datadog_api_client/v2/models/archive_search_create_request_attributes.rb', line 41

def rehydration
  @rehydration
end

#to ⇒ Object

End of the time range to search, as an ISO 8601 timestamp. Must be after from.



44
45
46
# File 'lib/datadog_api_client/v2/models/archive_search_create_request_attributes.rb', line 44

def to
  @to
end