Ingest and Search Logs
A 2-step recipe with Datadog. We can help you get access.
Recipe · 2 steps
Ingest and Search Logs
with Datadog · Observability Management
Works with AI assistants
Submit logs to Datadog then search for the indexed log events.
- Send a single log entry to the Datadog intake endpoint so it is queued for indexing, storage, and analysis.
- Run a log search query bounded by the supplied time range to retrieve the log events that match the query.
What you'll need to have ready
- message: The message content of the log entry to submit.
- hostname: The host that generated the log entry.
- service: The application or service that generated the log.
- ddsource: The source technology of the log used for automatic processing.
- ddtags: Comma-separated key:value tags to apply to the log entry.
- query: A Datadog log search query string to filter log events.
- from: Start of the search time range (ISO 8601 or relative, e.g. now-15m).
- to: End of the search time range (ISO 8601 or relative, e.g. now).
For your developer
Arazzo workflow datadog:ingest-and-search-logs, 2 operations: SubmitLog → ListLogs. Specs on APIs.io.