SearchLogsDetails

class oci.loggingsearch.models.SearchLogsDetails(**kwargs)

Bases: object

Search request object.

Methods

__init__(**kwargs) Initializes a new SearchLogsDetails object with values from keyword arguments.

Attributes

is_return_field_info Gets the is_return_field_info of this SearchLogsDetails.
search_query [Required] Gets the search_query of this SearchLogsDetails.
time_end [Required] Gets the time_end of this SearchLogsDetails.
time_start [Required] Gets the time_start of this SearchLogsDetails.
__init__(**kwargs)

Initializes a new SearchLogsDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • time_start (datetime) – The value to assign to the time_start property of this SearchLogsDetails.
  • time_end (datetime) – The value to assign to the time_end property of this SearchLogsDetails.
  • search_query (str) – The value to assign to the search_query property of this SearchLogsDetails.
  • is_return_field_info (bool) – The value to assign to the is_return_field_info property of this SearchLogsDetails.
is_return_field_info

Gets the is_return_field_info of this SearchLogsDetails. Whether to return field schema information for the log stream specified in searchQuery.

Returns:The is_return_field_info of this SearchLogsDetails.
Return type:bool
search_query

[Required] Gets the search_query of this SearchLogsDetails. Query corresponding to the search operation. This query is parsed and validated before execution and should follow the specification. For more information on the query language specification, see Logging Query Language Specification.

Returns:The search_query of this SearchLogsDetails.
Return type:str
time_end

[Required] Gets the time_end of this SearchLogsDetails. End filter log’s date and time, in the format defined by RFC3339.

Returns:The time_end of this SearchLogsDetails.
Return type:datetime
time_start

[Required] Gets the time_start of this SearchLogsDetails. Start filter log’s date and time, in the format defined by RFC3339.

Returns:The time_start of this SearchLogsDetails.
Return type:datetime