XDR Data Explorer allows you to query telemetry data and detections.
- 
Select data sources to search a specific set of data.
 - 
Ensure that the characters you type exactly match the results that you want.
 - 
Some fields display substituted text for ID values and you cannot search for the text value. For example, eventID stores the numerical value 1 in the database but displays TELEMETRY_PROCESS in results. You cannot query TELEMETRY_PROCESS.
 
The following tables describe query syntax and provide example strings:
Field-based syntax
| 
 Target 
 | 
 Description 
 | 
 Supported Field Type 
 | 
 Syntax 
 | 
 Example 
 | 
||||
| 
 Partial match 
 | 
 Provides all results for the specified field that contain the string 
 | 
 
  | 
 
  | 
endpointName: windowsReturns all results that contain "windows" in the endpoint name 
endpointName: *windows\/app*Returns all results that contain "windows/app" in the endpoint name 
 | 
||||
| 
 Full match 
 | 
 Provides all results for the specified field that contain the exact string specified 
 | 
 
  | 
<field_name>: "<search_string>" | 
endpointName: "john_doe"Only returns results in which the endpoint name is "john_doe" 
 | 
||||
| 
 Wildcards 
 | 
 Provides results that match the field values substituting for the following
                                 wildcard characters: 
 
  | 
 
  | 
<field_name>: <search_string>* | 
endpointName: "john*"Returns all results that contain "john" as the first 4 characters in the endpoint
                                 name 
Example results: "john", "john_doe", "johndoe", "johnd" 
 | 
||||
| 
 Range operator 
 | 
 Provides all results that match the requirements specified for multiple fields
                                 using the following operators:
                                  
  | 
  | 
<field_name> <range_operator> <number> | 
"dpt >= 80" AND "dpt <= 443"Only returns results in which the log data contains integers in a range from
                                 greater than or equal to 80 to less than or equal to 443 
 | 
||||
| 
 Regex 
 | 
 Returns all entries where the regular expression matches any part (beginning, middle,
                                 or end) of the field's content. 
For more information, go to Use regex in queries. 
 | 
  | 
<field_name>: /<search_string>/ | 
endpointHostName: /\\w*(trend|trendmicro)\.com/ | 
Free query syntax
| 
 Target 
 | 
 Description 
 | 
 Syntax 
 | 
 Example 
 | 
||||
| 
 Partial match 
 | 
 Provides all results that contain the string in any data field. 
  | 
 
  | 
"john"Returns all results that contain the string  
johnin any data field  | 
||||
| 
 Full match 
 | 
 Not available 
 | 
 - 
 | 
 - 
 | 
Logical operators and special characters
| 
 Operator Type 
 | 
 Description 
 | 
Supported Types | 
 Syntax 
 | 
 Example 
 | 
||||
| 
 Multiple fields 
 | 
 Provides all results that match the requirements specified for multiple fields
                                 using the following operators: 
 
  | 
  | 
<field_name>: <search_string1> OPERATOR
                                    <field_name>:<search_string2>
  | 
endpointName: "john_doe" AND fileName: "credit"Only returns results in which the log data contains both "john_doe" and "credit"
                                 in any field (example: objectUser=john_doe2; fileName=creditcard.txt) 
"john_doe" AND NOT "home"Only returns results in which the log data contains "john_doe" but does not
                                 contain "home" in any field 
 | 
||||
| 
 Multiple values 
 | 
 Provides all results that match the requirements specified for multiple values
                                 using the following operators: 
  | 
  | 
<field_name>: <search_string1> OPERATOR
                                    <search_string2> | 
endpointName:"john_doe" OR "jane_doe"Returns results in which the endpoint name is "john_doe" or "jane_doe" 
 | 
||||
| 
 IN 
 | 
 Provides all results that contain certain values included in the query. 
 | 
  | 
<search_field> IN (<number1>, <number2>)<search_field> IN ("<string1>", "<string2>") | 
port IN (80, 443, 5376)endpointHostName IN (“endpoint-name-1“, “endpoint-name-2“, “endpoint-name-3“) | 
||||
| 
 Nested value match 
 | 
 Provides all results that match a JSON object containing another JSON object as a
                                 nested structure. 
  | 
 Dynamic fields 
 | 
<outer_field>.<nested_field_1>.<nested_field_2>....<nested_field_n>: <search_value> | 
vendorParsed.act: *vendorParsed.foo: "bar"Returns results in which third-party logs are flattened to one layer in the  
vendorParsed field | 
Token-based query syntax (partial match)
| 
 Criteria 
(Example: "Trend_Micro-Vision-One: fa73ad07-ef36-48e6-8bb3-e91fedaf4a04
                                 john_doe@trendmicro.com john\trend\project\abc.txt") 
 | 
 Returns Results 
 | 
||
<field_name>: Trend
  | 
 Yes 
 | 
||
<field_name>: TREND | 
 Yes 
 | 
||
<field_name>: "*Trend*" | 
 Yes 
 | 
||
<field_name>: Tre
  | 
 No 
 | 
||
<field_name>: Trend_Mic | 
 No 
 | 
||
<field_name>: Micro | 
 Yes 
 | 
||
<field_name>: Trend_Micro | 
 Yes 
 | 
||
<field_name>: TREND_MICRO | 
 Yes 
 | 
||
<field_name>: Trend_ | 
 Yes 
 | 
||
<field_name>: e91fe | 
 No 
 | 
||
<field_name>: fa73ad07 | 
 Yes 
 | 
||
<field_name>: fa73ad07-ef36-48e6-8bb3-e91fedaf4a04 | 
 Yes 
 | 
||
<field_name>: john_doe@trendmicro.com | 
 Yes 
 | 
||
<field_name>: Trend_Micro-Vision-One\:
                                    fa73ad07-ef36-48e6-8bb3-e91fedaf4a04 john_doe@trendmicro.com
                                    john\\trend\\project\\abc.txt | 
 Yes 
 | 
||
<field_name>: Trend_Micro-Vision-One:
                                    fa73ad07-ef36-48e6-8bb3-e91fedaf4a04 john_doe@trendmicro.com
                                    john\trend\project\abc.txt | 
 No 
 | 
||
<field_name>: "*Trend_Micro-Vision-One\:
                                    fa73ad07-ef36-48e6-8bb3-e91fedaf4a04 john_doe@trendmicro.com
                                    john\\trend\\project\\abc.txt*" | 
 No 
 | 
||
<field_name>: "*Trend_Micro-Vision-One:
                                    fa73ad07-ef36-48e6-8bb3-e91fedaf4a04 john_doe@trendmicro.com
                                    john\\trend\\project\\abc.txt*" | 
 Yes 
 | 
||
<field_name>: "*john\\trend\\project\\abc.txt*" | 
 Yes 
 | 
Wildcard queries
| 
 Category 
 | 
 Description 
 | 
 Example 
 | 
 Token-based query 
 | 
 Case-sensitive 
 | 
||
| 
 Start with 
  | 
 An asterisk (*) is at the end of the string. 
 | 
Trend* | 
 No 
 | 
 No 
 | 
||
| 
 End with 
 | 
 An asterisk (*)  is at the beginning of the string. 
 | 
*Micro | 
 No 
 | 
 No 
 | 
||
| 
 Contain 
 | 
 An asterisk (*)  is at the beginning and the end of the string. 
  | 
*Vision* | 
 Yes 
 | 
 No 
 | 
||
| 
 MISC. 
 | 
 There are one or several asterisks (*) in the middle of the string. 
  | 
  | 
 No 
 | 
 Yes 
 | 
| 
 Query Criteria 
(Example: "Trend_Micro-Vision-One: fa73ad07-ef36-48e6-8bb3-e91fedaf4a04
                                 john_doe@trendmicro.com") 
 | 
 Category 
 | 
 Description 
 | 
 Returns Results 
 | 
<field_name>: "Trend*" | 
Start with | 
 Finds the values that start with "Trend". 
 | 
 Yes 
 | 
<field_name>: "trend*" | 
Start with | 
 Finds the values that start with "trend". 
 | 
 Yes 
 | 
<field_name>: "*trendmicro.com" | 
End with | 
 Finds the values that end with "trendmicro.com". 
 | 
 Yes 
 | 
<field_name>: "*TRENDMICRO.COM" | 
End with | 
 Finds the values that end with "TRENDMICRO.COM". 
 | 
 Yes 
 | 
<field_name>: "*Trend_Micro*" | 
Contain | 
 Finds the values that contain "Trend_Micro". 
 | 
 Yes 
 | 
<field_name>: "*trend_micro*" | 
Contain | 
 Finds the values that contain "trend_micro". 
 | 
 Yes 
 | 
<field_name>: "Trend*com" | 
MISC. | 
 Finds the values that have "Trend" as the beginning and "com" as the end of the
                                 string. 
 | 
 Yes 
 | 
<field_name>: "Tre*" | 
Start with | 
 Finds the values that start with "Tre". 
 | 
 Yes 
 | 
<field_name>: "*micro.com" | 
End with | 
 Finds the values that end with "micro.com". 
 | 
 Yes 
 | 
<field_name>: "*fa73ad07*e91fedaf4a04*" | 
MISC. | 
 Finds the values that match "*fa73ad07*e91fedaf4a04*". 
 | 
 Yes 
 | 
<field_name>: "fa73ad07*e91fedaf4a04" | 
MISC. | 
 Finds the values that match "fa73ad07*e91fedaf4a04". 
 | 
 Yes 
 | 
<field_name>: "fa73ad07*" | 
Start with | 
 Finds the values that start with "fa73ad07". 
"fa73ad07" is the start of a token but not the start of the whole string, so the
                                 result does not match. 
 | 
 No 
 | 
<field_name>: "fa73ad07**" | 
MISC. | 
 Finds the values that match "fa73ad07**". 
Since there is a "*" in the middle of the string, this is a MISC. wildcard
                                 search. 
The MISC. wildcard searches for results even in the middle of the string. 
 | 
 Yes 
 | 
<field_name>: "*Vision-One" | 
End with | 
 Finds the values that end with "Vision-One". 
"Vision-One" is the end of a token but not the end of the whole string, so the
                                 result does not match. 
 | 
 No 
 | 
<field_name>: "**Vision-One" | 
MISC. | 
 Finds the values that match "**Vision-One". 
Since there is a "*" in the middle of the string, this is a MISC. wildcard
                                 search. 
The MISC. wildcard searches for results even in the middle of the string. 
 | 
 Yes 
 | 
<field_name>: "**vision-one" | 
MISC. | 
 Finds the values that match "**vision-one". 
MISC. wildcard search is case-sensitive, so "vision-one" does not match
                                 "Vision-One". 
 | 
 No 
 | 
<field_name>: "*Visio*" | 
Contain | 
 Finds the values that contain "Visio". 
"Visio" is not a token in the string, so the result does not match. 
 | 
 No 
 | 
<field_name>: "VISION*COM" | 
MISC. | 
 Finds the values that have "VISION" in the beginning and "COM" in the end of the
                                 string. 
MISC. wildcard search is case-sensitive, so "vision" does not match "Vision". 
 | 
 No 
 | 
Query filters
| 
 Action 
 | 
 Description 
 | 
 Supported Field Types 
 | 
||
| 
 Add Filter: field IS value 
 | 
 Adds the selected value as criteria to the existing query. 
 | 
 
  | 
||
| 
 Add Filter: field IS NOT value 
 | 
 Adds the selected value as an exception to the existing query. 
 | 
 
  | 
||
| 
 Add Filter: field IS EMPTY 
 | 
 Adds the selected field with no value as criteria to the existing query. 
 | 
  | 
||
| 
 Add Filter: field EXISTS 
 | 
 Adds the selected field with any value as criteria to the existing query. 
 | 
  | 
||
| 
 Add Filter: field DOES NOT EXIST 
 | 
 Adds the selected field with no value as criteria to the existing query. 
 | 
  | 
Logical operator precedence
| 
 Precedence 
 | 
 Operator 
 | 
 Description 
 | 
 Example 
 | 
||
| 
 1 
 | 
 ( ) 
 | 
 Group logical expressions 
 | 
 Return events that include port 80, 81, or 82 
port: (80 OR 81 OR 82) | 
||
| 
 2 
 | 
 NOT 
 | 
 Logical NOT 
 | 
 Return events that do not include port 80 
NOT port: 80 | 
||
| 
 3 
 | 
 AND 
 | 
 Logical AND 
 | 
  | 
||
| 
 4 
 | 
 OR 
 | 
 Logical OR 
 | 
Escape operators and characters
| Category | Operator or Character | Match Type and Example | 
| 
 Keyword 
 | 
  | 
 Partial match 
  | 
| 
 Special character 
 | 
  | 
 Partial match 
  | 
| 
 Full match keyword 
 | 
  | 
 Full match 
  | 
| 
 Regex keyword 
 | 
  | 
 Regex match 
  | 
| 
 White space 
 | 
  | 
 Partial match 
 Regex match 
  | 
		