For AI agents: A markdown version of this page is available at https://docs.datadoghq.com/ide_plugins/vscode/logs.md. A documentation index is available at /llms.txt.

Overview

The Logs feature detects logging patterns in your source code and displays the volume of matching log records from Datadog. Click an annotation to open the Log Explorer and view the matching logs.

You can also search Datadog logs from within the IDE. Select any text in the code editor, then right-click and select Datadog > Search Logs With Selected Text.

Using the Datadog Log explorer feature

Further reading

Additional helpful documentation, links, and articles: