Log Management Fundamentals Certification / 03 / 06
Log Searching & Filtering
What this domain covers
In this domain you learn how to find and narrow down the logs that have reached Datadog. First, the difference in roles between Live Tail and the Log Explorer. Live Tail is a screen where you watch logs stream in near real time right after ingestion, and it shows logs that are not indexed as well. The Log Explorer is the home base for finding indexed logs with a time range and a search query. Second, the search syntax. You master free text, full-text search, attribute search, wildcards, ranges, and comparison operators in the form given in the official documentation. Third, the functionality of the Log Explorer: facets and measures, the assistance features of the search bar, the Log Side Panel, and Saved Views. The exam asks questions such as "which screen do you use in this situation," "what does this query match," and "whom does this setting affect." The descriptions are based on the official documentation as of September 2026.
Topics listed in the official guide
- Live vs. Explorer
- Search Syntax
- Explorer Functionality
Key points
- Live Tail displays both indexed and non-indexed logs in near real time. The logs that stream through have already been processed and enriched by the pipelines.
- When too many logs match, Live Tail samples them uniformly at random for display. When you want to see every log, narrow the target with search filters.
- A Log Explorer search is the combination of a time range and a search query. You combine key:value searches with full-text search, and choose the time range with the selector at the top right.
- The Boolean operators AND, OR, and - are case sensitive, and AND is assumed when omitted. To search for multiple words as a phrase, enclose them in double quotes.
- The reserved attributes host, source, status, service, trace_id, and message can be searched without @. All other attributes are searched with the @ prefix.
- Attribute searches are case sensitive. If you need case-insensitive results, use full-text search or normalize the values with the lowercase filter of the Grok Parser.
- The wildcards * and ? work only outside double quotes. To use comparison operators or ranges on a numeric attribute, first add that attribute as a facet.
- Facets are created from the tags and attributes of indexed logs, and after creation they apply only to new logs. The official recommended maximum is 1,000.
- Hiding a facet takes effect only in your own Log Explorer and does not affect the validity of search queries, Live Tail, monitors, or dashboards.
- A saved view retains the search query and time range, the default visualization, and the facets to display. A fixed time range is converted to a relative time range when saved.
Terms and concepts
Live Tail (Near Real-Time Log Viewing)
Live Tail is a screen where you can watch logs arriving from anywhere in your infrastructure in near real time. The biggest difference from the Log Explorer is that not only indexed logs but also logs kept out of the index by exclusion filters stream through it, and the official documentation describes it as well suited to confirming that a process has started or that a new deployment is working. The logs that stream through are not raw; they are in the state after being structured, processed, and enriched by the pipelines. The entry point is selecting Live Tail in the time range selector of the Log Explorer. When too many logs match, they are sampled uniformly at random, so if you want to see every one, narrow them with search filters.
- Live TailGlossary
- Exclusion FilterGlossary
Log Explorer (Home Base for Search and Exploration)
The Log Explorer is the home base for troubleshooting and exploring logs; searching and filtering, grouping, visualizing, and exporting are all done from here. You can also open saved views, or arrive from a monitor notification or a dashboard widget. A search consists of two parts, a time range and a search query, and the query combines key:value and full-text search. For example, combining service:payment status:error rejected with Past 15 minutes narrows down to the payment service errors in the last 15 minutes that contain rejected.
- Log ExplorerGlossary
- Log ManagementProduct
Search Query Basics (Terms and Operators)
Queries are built from terms and operators. Terms include single words such as test and phrases enclosed in double quotes such as "hello dolly". There are three operators, AND, OR, and -; they are case sensitive, and AND is the default when omitted, so authentication failure narrows down to logs that contain both words. You can also group with parentheses: env:(prod OR test) matches logs with the env:prod or env:test tag, and (env:prod AND -version:beta) matches logs that have env:prod and do not have version:beta.
- TagGlossary
Differences Between Free Text, Full-Text, and Attribute Search
A free text search that simply writes hello looks only in message, @title, @error.message, and @error.stack. The full-text search *:hello looks in all attributes, including the message. The full-text search syntax can be used in monitors, dashboards, and notebooks, but not in the filters of indexes, archives, pipelines, and log-based metrics, nor in Live Tail. Attributes are searched with @, and the reserved attributes host, source, status, service, trace_id, and message can be written without @. A facet is not required for attribute search, and case is distinguished.
- Log ExplorerGlossary
Wildcards, Escaping, Ranges, and Comparisons
* is a multi-character wildcard: web* matches logs whose message starts with web, and *web matches logs whose message ends with web, but it does not work inside double quotes, so "*test*" searches for the string *test* itself. Symbols such as colons, parentheses, quotes, * ? \ #, and spaces are special characters, and to include them in a value you escape them with \ or enclose the value in double quotes. Special characters in the message body cannot be searched. After adding a numeric attribute as a facet, you can narrow with comparisons and ranges such as @http.response_time:>100 and @http.status_code:[400 TO 499].
- Grok ParserGlossary
Facets and Measures
Facets are user-defined tags and attributes of indexed logs, and they can be used for searching, defining log patterns, and log analytics, as well as in log monitors, dashboards, and notebooks. Qualitative facets (dimensions) are used for trends by value, counting unique values, and filtering on frequently used values, and making them integer type enables range filters. Quantitative measures are used for aggregating values, filtering by range, and sorting; they have a type of long integer or double and can be given units of time and size. Facet contents apply only to new logs after creation, and the official documentation recommends a maximum of 1,000.
- FacetGlossary
Facet Panel Operations (Hide, Groups, Aliases, Index Facet)
In the facet panel, qualitative facets show a list of the top unique values with counts, and measures show a slider for the minimum and maximum values, from which you can narrow the search. Hide Facet from the gear icon removes the facet from your own list and autocomplete, but it remains valid as a search query and does not affect Live Tail, monitors, or dashboards. Hiding is a setting for you alone, but if you update a saved view it extends to your colleagues. Aliased facets are treated as deprecated in the organization. The Index facet appears only when there are multiple indexes or an active historical view.
Search Bar Assistance Features
The search bar has syntax highlighting that color codes keys, values, free text, and control characters, and error validation that points out missing values in key:value, unclosed parentheses, and incomplete range queries and suggests fixes. Autocomplete offers existing keys and values, recent searches, and saved views as candidates; facets appear in the same order as in the facet panel, and values after you type : are ordered by log count in the past 15 minutes. Up to 100 recent searches are retained. Switching to raw mode with the toggle to the right of the search bar removes highlighting, pill display, and autocomplete. Clicking Ask lets you have text written in natural language converted into a structured query.
- Log ExplorerGlossary
Log Side Panel and Columns
The side panel shows tag-based context at the top and, at the bottom, the message and the structured information extracted by the pipelines. Clicking View in context displays the log lines just before and after the selected log even if they do not match the filter, and Hostname, Service, filename, container_id, and tags are used for the determination. From the attribute names and values at the bottom you can add and remove columns, add values to the search, and create facets and measures. Columns are sorted and removed in the header row of the table, and added from the facet panel or the side panel. The default order is newest timestamp first.
- Log ExplorerGlossary
Saved Views
A saved view retains the search query and its time range, the default visualization (log stream, log patterns, log analytics), and the selection of facets shown in the facet list, and can be called up from the top left of the Log Explorer. The time range is designed to track relative ranges such as Past 1 hour, and a fixed date and time range is converted to a relative range when saved. Your default view is visible only to you, and updating it does not affect the organization. All other saved views are shared across the organization; integration saved views are read-only, and custom saved views can be edited by everyone except Read Only users.
- Log ExplorerGlossary
- Log ManagementProduct
Check your understanding
Check what you have learned with 5 questions