Datadog: Search Logs

Description

Retrieve logs from Datadog using search queries and filters.

Instructions

Inputs


NameDescription
Connection InputSelect a Workflow Integration or click New Datadog Connection to establish a new one. For US1 region, this will be the search log url: https://api.datadoghq.com/api/v2/logs/events/search.
QueryThe search query string for logs.
Start TimeSelect a value from the dropdown. This represents the logs start time. Default value 'Past 1 Hour.
End TimeSelect a value from the dropdown. This represents the logs end time. Default value Now.
SortSort order for the logs. Default value: timestamp descending.
LimitThe maximum number of events in the response.

Outputs

NameDescription
LogsThe JSON array of log entries that were retrieved.
Log CountTotal number of matching logs returned.
Query UsedThe processed query string that was sent to Datadog.
Time Range StartThe start time used for the search.
Time Range EndThe end time used for the search.
Has More ResultsWhether there are more results available for pagination.
Next Page TokenToken for retrieving the next page of results.
Search DurationAPI response time in milliseconds.
ResultValue that shows if the action was successful or not. Either "Success" or "Failed".
Result SummaryBrief description of what the action did or if it failed.
ErrorBrief description if the action failed.