Skip to content

Latest commit

 

History

History
65 lines (48 loc) · 1.48 KB

LogExplorerApi.md

File metadata and controls

65 lines (48 loc) · 1.48 KB

Fastly::LogExplorerApi

require 'fastly'
api_instance = Fastly::LogExplorerApi.new

Methods

Note

All URIs are relative to https://api.fastly.com

Method HTTP request Description
get_log_records GET /observability/log-explorer Retrieve log records

get_log_records()

get_log_records(opts): <GetLogRecordsResponse> # Retrieve log records

Retrieves log records.

Examples

api_instance = Fastly::LogExplorerApi.new
opts = {
    service_id: 'service_id_example', # String | 
    start: 'start_example', # String | 
    _end: '_end_example', # String | 
    limit: 8.14, # Float | 
    next_cursor: 'next_cursor_example', # String | 
    filter: 'filter_example', # String | 
}

begin
  # Retrieve log records
  result = api_instance.get_log_records(opts)
  p result
rescue Fastly::ApiError => e
  puts "Error when calling LogExplorerApi->get_log_records: #{e}"
end

Options

Name Type Description Notes
service_id String
start String
_end String
limit Float [optional]
next_cursor String [optional]
filter String [optional]

Return type

GetLogRecordsResponse

[Back to top] [Back to API list] [Back to README]